Compare commits

..

13 Commits

Author SHA1 Message Date
sonoro1234
053280dfff cpp2ffi: std:string return with static and assign 2026-06-16 20:01:06 +02:00
sonoro1234
8aaa4b624e cpp2ffi: test header if gcc, changes for opaque_structs, std:function with & 2026-06-15 11:51:08 +02:00
sonoro1234
9bffa7632f cpp2ffi: post skipped functions 2026-06-11 12:42:33 +02:00
sonoro1234
e2c1d90128 cpp2ffi: better printing and add const return when :: appears 2026-06-11 12:24:01 +02:00
sonoro1234
64fcbf194b cpp2ffi: explicit str_subst 2026-06-10 19:21:37 +02:00
sonoro1234
fced8c3451 README.md: more update bindings list 2026-06-10 11:52:57 +02:00
sonoro1234
7388e030e8 README.md: update bindings list 2026-06-10 11:23:33 +02:00
sonoro1234
bbddc623b5 cpp2ffi: add prevcomments in functions 2026-05-29 17:20:22 +02:00
sonoro1234
07fde25e7a cpp2ffi: functions to check int32_t 2026-05-18 16:51:22 +02:00
sonoro1234
1261b23193 generator.lua: impl defines table.do_sorted 2026-05-14 09:20:18 +02:00
sonoro1234
650a427069 pull imgui 1.92.8 docking and generate 2026-05-13 17:18:17 +02:00
sonoro1234
d24c440621 cpp2ffi: add forced_opaque (cimnodes_editor) 2026-05-11 15:01:51 +02:00
sonoro1234
e90e027c82 cpp2ffi: add code for function()=delete, parse_enum_values for (type)number 2026-05-11 13:14:34 +02:00
18 changed files with 4540 additions and 3712 deletions

View File

@@ -11,7 +11,7 @@ History:
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit) Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
Notes: Notes:
* currently this wrapper is based on version [1.92.7 of Dear ImGui with internal api] * currently this wrapper is based on version [1.92.8 of Dear ImGui with internal api]
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped. * only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
* if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project. * if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project.
* All naming is algorithmic except for those names that were coded in cimgui_overloads table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L60). In the official version this table is empty. * All naming is algorithmic except for those names that were coded in cimgui_overloads table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L60). In the official version this table is empty.
@@ -106,10 +106,14 @@ Notes:
# example bindings based on cimgui # example bindings based on cimgui
* [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) * [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui)
* [cimgui-go](https://github.com/AllenDang/cimgui-go)
* [Hexa.NET.ImGui](https://github.com/HexaEngine/Hexa.NET.ImGui)
* [dear-imgui-rs](https://github.com/Latias94/dear-imgui-rs)
* [CImGui.jl](https://github.com/Gnimuc/CImGui.jl)
* [ImGui.NET](https://github.com/mellinoe/ImGui.NET) * [ImGui.NET](https://github.com/mellinoe/ImGui.NET)
* [Zig-ImGui](https://github.com/SpexGuy/Zig-ImGui)
* [nimgl/imgui](https://github.com/nimgl/imgui) * [nimgl/imgui](https://github.com/nimgl/imgui)
* [kotlin-imgui](https://github.com/Dominaezzz/kotlin-imgui) * [kotlin-imgui](https://github.com/Dominaezzz/kotlin-imgui)
* [CImGui.jl](https://github.com/Gnimuc/CImGui.jl)
* [odin-imgui](https://github.com/ThisDrunkDane/odin-imgui) * [odin-imgui](https://github.com/ThisDrunkDane/odin-imgui)
* [DerelictImgui](https://github.com/Extrawurst/DerelictImgui) * [DerelictImgui](https://github.com/Extrawurst/DerelictImgui)
* [BindBC-CimGui](https://github.com/MrcSnm/bindbc-cimgui) * [BindBC-CimGui](https://github.com/MrcSnm/bindbc-cimgui)

View File

@@ -12,7 +12,7 @@
#endif #endif
//this must be equal to that in imgui_impl_vulkan.h //this must be equal to that in imgui_impl_vulkan.h
#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas //#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS #define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#include <cimgui.h> #include <cimgui.h>
@@ -214,7 +214,8 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
{ {
VkDescriptorPoolSize pool_sizes[] = VkDescriptorPoolSize pool_sizes[] =
{ {
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE }, { VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE },
{ VK_DESCRIPTOR_TYPE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE },
}; };
VkDescriptorPoolCreateInfo pool_info = {}; VkDescriptorPoolCreateInfo pool_info = {};
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
@@ -281,9 +282,10 @@ static void CleanupVulkan()
vkDestroyInstance(g_Instance, g_Allocator); vkDestroyInstance(g_Instance, g_Allocator);
} }
static void CleanupVulkanWindow() static void CleanupVulkanWindow(ImGui_ImplVulkanH_Window* wd)
{ {
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, &g_MainWindowData, g_Allocator); ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, wd, g_Allocator);
vkDestroySurfaceKHR(g_Instance, wd->Surface, g_Allocator);
} }
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data) static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
@@ -620,7 +622,7 @@ int main(int argc, char* argv[])
ImGui_ImplSDL3_Shutdown(); ImGui_ImplSDL3_Shutdown();
igDestroyContext(NULL); igDestroyContext(NULL);
CleanupVulkanWindow(); CleanupVulkanWindow(&g_MainWindowData);
CleanupVulkan(); CleanupVulkan();
SDL_DestroyWindow(window); SDL_DestroyWindow(window);

View File

@@ -16,7 +16,7 @@
#endif #endif
//this must be equal to that in imgui_impl_vulkan.h //this must be equal to that in imgui_impl_vulkan.h
#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas //#define IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE (1) // Minimum per atlas
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS #define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#include "cimgui.h" #include "cimgui.h"
@@ -218,7 +218,8 @@ static void SetupVulkan(const char** extensions, uint32_t extensions_count)
{ {
VkDescriptorPoolSize pool_sizes[] = VkDescriptorPoolSize pool_sizes[] =
{ {
{ VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_IMAGE_SAMPLER_POOL_SIZE }, { VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE },
{ VK_DESCRIPTOR_TYPE_SAMPLER, IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE },
}; };
VkDescriptorPoolCreateInfo pool_info = {}; VkDescriptorPoolCreateInfo pool_info = {};
pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; pool_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
@@ -285,9 +286,10 @@ static void CleanupVulkan()
vkDestroyInstance(g_Instance, g_Allocator); vkDestroyInstance(g_Instance, g_Allocator);
} }
static void CleanupVulkanWindow() static void CleanupVulkanWindow(ImGui_ImplVulkanH_Window* wd)
{ {
ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, &g_MainWindowData, g_Allocator); ImGui_ImplVulkanH_DestroyWindow(g_Instance, g_Device, wd, g_Allocator);
vkDestroySurfaceKHR(g_Instance, wd->Surface, g_Allocator);
} }
static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data) static void FrameRender(ImGui_ImplVulkanH_Window* wd, ImDrawData* draw_data)
@@ -615,7 +617,7 @@ int main(int argc, char* argv[])
ImGui_ImplSDL2_Shutdown(); ImGui_ImplSDL2_Shutdown();
igDestroyContext(NULL); igDestroyContext(NULL);
CleanupVulkanWindow(); CleanupVulkanWindow(&g_MainWindowData);
CleanupVulkan(); CleanupVulkan();
SDL_DestroyWindow(window); SDL_DestroyWindow(window);

View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.92.7" 19270 from Dear ImGui https://github.com/ocornut/imgui //based on imgui.h file version "1.92.8" 19280 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api //with imgui_internal.h api
//with imgui_freetype.h api //with imgui_freetype.h api
//docking branch //docking branch
@@ -1762,7 +1762,7 @@ CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags fl
{ {
return ImGui::SetNextItemShortcut(key_chord,flags); return ImGui::SetNextItemShortcut(key_chord,flags);
} }
CIMGUI_API void igSetItemKeyOwner_Nil(ImGuiKey key) CIMGUI_API bool igSetItemKeyOwner_Nil(ImGuiKey key)
{ {
return ImGui::SetItemKeyOwner(key); return ImGui::SetItemKeyOwner(key);
} }
@@ -2463,9 +2463,17 @@ CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2_c p1,const ImVe
{ {
return self->AddLine(ConvertToCPP_ImVec2(p1),ConvertToCPP_ImVec2(p2),col,thickness); return self->AddLine(ConvertToCPP_ImVec2(p1),ConvertToCPP_ImVec2(p2),col,thickness);
} }
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags,float thickness) CIMGUI_API void ImDrawList_AddLineH(ImDrawList* self,float min_x,float max_x,float y,ImU32 col,float thickness)
{ {
return self->AddRect(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),col,rounding,flags,thickness); return self->AddLineH(min_x,max_x,y,col,thickness);
}
CIMGUI_API void ImDrawList_AddLineV(ImDrawList* self,float x,float min_y,float max_y,ImU32 col,float thickness)
{
return self->AddLineV(x,min_y,max_y,col,thickness);
}
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,float thickness,ImDrawFlags flags)
{
return self->AddRect(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),col,rounding,thickness,flags);
} }
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags) CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags)
{ {
@@ -2531,9 +2539,9 @@ CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self,const ImVec2_c p1
{ {
return self->AddBezierQuadratic(ConvertToCPP_ImVec2(p1),ConvertToCPP_ImVec2(p2),ConvertToCPP_ImVec2(p3),col,thickness,num_segments); return self->AddBezierQuadratic(ConvertToCPP_ImVec2(p1),ConvertToCPP_ImVec2(p2),ConvertToCPP_ImVec2(p3),col,thickness,num_segments);
} }
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness) CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,float thickness,ImDrawFlags flags)
{ {
return self->AddPolyline(reinterpret_cast<const ImVec2*>(points),num_points,col,flags,thickness); return self->AddPolyline(reinterpret_cast<const ImVec2*>(points),num_points,col,thickness,flags);
} }
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col) CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col)
{ {
@@ -2575,9 +2583,9 @@ CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self,ImU32 col)
{ {
return self->PathFillConcave(col); return self->PathFillConcave(col);
} }
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,ImDrawFlags flags,float thickness) CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,float thickness,ImDrawFlags flags)
{ {
return self->PathStroke(col,flags,thickness); return self->PathStroke(col,thickness,flags);
} }
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments) CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments)
{ {
@@ -2887,6 +2895,10 @@ CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self)
{ {
return self->Clear(); return self->Clear();
} }
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self)
{
return self->ClearFonts();
}
CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self) CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self)
{ {
return self->CompactCache(); return self->CompactCache();
@@ -2899,10 +2911,6 @@ CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self)
{ {
return self->ClearInputData(); return self->ClearInputData();
} }
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self)
{
return self->ClearFonts();
}
CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self) CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self)
{ {
return self->ClearTexData(); return self->ClearTexData();
@@ -3610,6 +3618,14 @@ CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect_c r)
{ {
return self->Add(ConvertToCPP_ImRect(r)); return self->Add(ConvertToCPP_ImRect(r));
} }
CIMGUI_API void ImRect_AddX(ImRect* self,float x)
{
return self->AddX(x);
}
CIMGUI_API void ImRect_AddY(ImRect* self,float y)
{
return self->AddY(y);
}
CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount) CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount)
{ {
return self->Expand(amount); return self->Expand(amount);
@@ -4830,6 +4846,10 @@ CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2_c size_a
{ {
return ImGui::BeginChildEx(name,id,ConvertToCPP_ImVec2(size_arg),child_flags,window_flags); return ImGui::BeginChildEx(name,id,ConvertToCPP_ImVec2(size_arg),child_flags,window_flags);
} }
CIMGUI_API ImGuiWindow* igFindFrontMostVisibleChildWindow(ImGuiWindow* window)
{
return ImGui::FindFrontMostVisibleChildWindow(window);
}
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags) CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags)
{ {
return ImGui::BeginPopupEx(id,extra_window_flags); return ImGui::BeginPopupEx(id,extra_window_flags);
@@ -5102,7 +5122,7 @@ CIMGUI_API void igSetKeyOwnersForKeyChord(ImGuiKeyChord key,ImGuiID owner_id,ImG
{ {
return ImGui::SetKeyOwnersForKeyChord(key,owner_id,flags); return ImGui::SetKeyOwnersForKeyChord(key,owner_id,flags);
} }
CIMGUI_API void igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags) CIMGUI_API bool igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags)
{ {
return ImGui::SetItemKeyOwner(key,flags); return ImGui::SetItemKeyOwner(key,flags);
} }
@@ -5338,6 +5358,10 @@ CIMGUI_API void igPopFocusScope()
{ {
return ImGui::PopFocusScope(); return ImGui::PopFocusScope();
} }
CIMGUI_API bool igIsInNavFocusRoute(ImGuiID focus_scope_id)
{
return ImGui::IsInNavFocusRoute(focus_scope_id);
}
CIMGUI_API ImGuiID igGetCurrentFocusScope() CIMGUI_API ImGuiID igGetCurrentFocusScope()
{ {
return ImGui::GetCurrentFocusScope(); return ImGui::GetCurrentFocusScope();
@@ -5366,9 +5390,9 @@ CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect_c bb)
{ {
return ImGui::RenderDragDropTargetRectForItem(ConvertToCPP_ImRect(bb)); return ImGui::RenderDragDropTargetRectForItem(ConvertToCPP_ImRect(bb));
} }
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb) CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb,float rounding)
{ {
return ImGui::RenderDragDropTargetRectEx(draw_list,ConvertToCPP_ImRect(bb)); return ImGui::RenderDragDropTargetRectEx(draw_list,ConvertToCPP_ImRect(bb),rounding);
} }
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags) CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags)
{ {
@@ -5538,6 +5562,10 @@ CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table)
{ {
return ImGui::TableUpdateColumnsWeightFromWidth(table); return ImGui::TableUpdateColumnsWeightFromWidth(table);
} }
CIMGUI_API void igTableApplyExternalUnclipRect(ImGuiTable* table,ImRect* rect)
{
return ImGui::TableApplyExternalUnclipRect(table,*rect);
}
CIMGUI_API void igTableDrawBorders(ImGuiTable* table) CIMGUI_API void igTableDrawBorders(ImGuiTable* table)
{ {
return ImGui::TableDrawBorders(table); return ImGui::TableDrawBorders(table);
@@ -6499,6 +6527,10 @@ CIMGUI_API void igImFontAtlasTextureBlockQueueUpload(ImFontAtlas* atlas,ImTextur
{ {
return ImFontAtlasTextureBlockQueueUpload(atlas,tex,x,y,w,h); return ImFontAtlasTextureBlockQueueUpload(atlas,tex,x,y,w,h);
} }
CIMGUI_API void igImTextureDataQueueUpload(ImTextureData* tex,int x,int y,int w,int h)
{
return ImTextureDataQueueUpload(tex,x,y,w,h);
}
CIMGUI_API int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format) CIMGUI_API int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format)
{ {
return ImTextureDataGetFormatBytesPerPixel(format); return ImTextureDataGetFormatBytesPerPixel(format);

View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.92.7" 19270 from Dear ImGui https://github.com/ocornut/imgui //based on imgui.h file version "1.92.8" 19280 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api //with imgui_internal.h api
//with imgui_freetype.h api //with imgui_freetype.h api
//docking branch //docking branch
@@ -752,6 +752,7 @@ typedef enum {
ImGuiCol_ScrollbarGrabHovered, ImGuiCol_ScrollbarGrabHovered,
ImGuiCol_ScrollbarGrabActive, ImGuiCol_ScrollbarGrabActive,
ImGuiCol_CheckMark, ImGuiCol_CheckMark,
ImGuiCol_CheckboxSelectedBg,
ImGuiCol_SliderGrab, ImGuiCol_SliderGrab,
ImGuiCol_SliderGrabActive, ImGuiCol_SliderGrabActive,
ImGuiCol_Button, ImGuiCol_Button,
@@ -833,6 +834,7 @@ typedef enum {
ImGuiStyleVar_TableAngledHeadersTextAlign, ImGuiStyleVar_TableAngledHeadersTextAlign,
ImGuiStyleVar_TreeLinesSize, ImGuiStyleVar_TreeLinesSize,
ImGuiStyleVar_TreeLinesRounding, ImGuiStyleVar_TreeLinesRounding,
ImGuiStyleVar_DragDropTargetRounding,
ImGuiStyleVar_ButtonTextAlign, ImGuiStyleVar_ButtonTextAlign,
ImGuiStyleVar_SelectableTextAlign, ImGuiStyleVar_SelectableTextAlign,
ImGuiStyleVar_SeparatorSize, ImGuiStyleVar_SeparatorSize,
@@ -1262,6 +1264,7 @@ struct ImGuiWindowClass
ImGuiDockNodeFlags DockNodeFlagsOverrideSet; ImGuiDockNodeFlags DockNodeFlagsOverrideSet;
bool DockingAlwaysTabBar; bool DockingAlwaysTabBar;
bool DockingAllowUnclassed; bool DockingAllowUnclassed;
void* PlatformIconData;
}; };
struct ImGuiPayload struct ImGuiPayload
{ {
@@ -1438,12 +1441,12 @@ struct ImDrawListSplitter
}; };
typedef enum { typedef enum {
ImDrawFlags_None = 0, ImDrawFlags_None = 0,
ImDrawFlags_Closed = 1 << 0,
ImDrawFlags_RoundCornersTopLeft = 1 << 4, ImDrawFlags_RoundCornersTopLeft = 1 << 4,
ImDrawFlags_RoundCornersTopRight = 1 << 5, ImDrawFlags_RoundCornersTopRight = 1 << 5,
ImDrawFlags_RoundCornersBottomLeft = 1 << 6, ImDrawFlags_RoundCornersBottomLeft = 1 << 6,
ImDrawFlags_RoundCornersBottomRight = 1 << 7, ImDrawFlags_RoundCornersBottomRight = 1 << 7,
ImDrawFlags_RoundCornersNone = 1 << 8, ImDrawFlags_RoundCornersNone = 1 << 8,
ImDrawFlags_Closed = 1 << 9,
ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight, ImDrawFlags_RoundCornersTop = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight,
ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersBottom = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft, ImDrawFlags_RoundCornersLeft = ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft,
@@ -1451,6 +1454,7 @@ typedef enum {
ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight, ImDrawFlags_RoundCornersAll = ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll, ImDrawFlags_RoundCornersDefault_ = ImDrawFlags_RoundCornersAll,
ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone, ImDrawFlags_RoundCornersMask_ = ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone,
ImDrawFlags_InvalidMask_ = (ImDrawFlags)0x8000000F,
}ImDrawFlags_; }ImDrawFlags_;
typedef enum { typedef enum {
ImDrawListFlags_None = 0, ImDrawListFlags_None = 0,
@@ -1669,6 +1673,7 @@ typedef enum {
ImFontFlags_NoLoadError = 1 << 1, ImFontFlags_NoLoadError = 1 << 1,
ImFontFlags_NoLoadGlyphs = 1 << 2, ImFontFlags_NoLoadGlyphs = 1 << 2,
ImFontFlags_LockBakedSizes = 1 << 3, ImFontFlags_LockBakedSizes = 1 << 3,
ImFontFlags_ImplicitRefSize = 1 << 4,
}ImFontFlags_; }ImFontFlags_;
typedef struct ImVector_ImFontConfigPtr {int Size;int Capacity;ImFontConfig** Data;} ImVector_ImFontConfigPtr; typedef struct ImVector_ImFontConfigPtr {int Size;int Capacity;ImFontConfig** Data;} ImVector_ImFontConfigPtr;
@@ -1719,6 +1724,7 @@ struct ImGuiViewport
ImDrawData* DrawData; ImDrawData* DrawData;
void* RendererUserData; void* RendererUserData;
void* PlatformUserData; void* PlatformUserData;
void* PlatformIconData;
void* PlatformHandle; void* PlatformHandle;
void* PlatformHandleRaw; void* PlatformHandleRaw;
bool PlatformWindowCreated; bool PlatformWindowCreated;
@@ -1743,6 +1749,9 @@ struct ImGuiPlatformIO
int Renderer_TextureMaxWidth; int Renderer_TextureMaxWidth;
int Renderer_TextureMaxHeight; int Renderer_TextureMaxHeight;
void* Renderer_RenderState; void* Renderer_RenderState;
ImDrawCallback DrawCallback_ResetRenderState;
ImDrawCallback DrawCallback_SetSamplerLinear;
ImDrawCallback DrawCallback_SetSamplerNearest;
void (*Platform_CreateWindow)(ImGuiViewport* vp); void (*Platform_CreateWindow)(ImGuiViewport* vp);
void (*Platform_DestroyWindow)(ImGuiViewport* vp); void (*Platform_DestroyWindow)(ImGuiViewport* vp);
void (*Platform_ShowWindow)(ImGuiViewport* vp); void (*Platform_ShowWindow)(ImGuiViewport* vp);
@@ -1995,6 +2004,7 @@ typedef enum {
ImGuiItemStatusFlags_Visible = 1 << 8, ImGuiItemStatusFlags_Visible = 1 << 8,
ImGuiItemStatusFlags_HasClipRect = 1 << 9, ImGuiItemStatusFlags_HasClipRect = 1 << 9,
ImGuiItemStatusFlags_HasShortcut = 1 << 10, ImGuiItemStatusFlags_HasShortcut = 1 << 10,
ImGuiItemStatusFlags_EditedInternal = 1 << 11,
}ImGuiItemStatusFlags_; }ImGuiItemStatusFlags_;
typedef enum { typedef enum {
ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay, ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay,
@@ -2600,6 +2610,7 @@ struct ImGuiBoxSelectState
ImGuiWindow* Window; ImGuiWindow* Window;
bool UnclipMode; bool UnclipMode;
ImRect_c UnclipRect; ImRect_c UnclipRect;
ImRect_c UnclipRects[2];
ImRect_c BoxSelectRectPrev; ImRect_c BoxSelectRectPrev;
ImRect_c BoxSelectRectCurr; ImRect_c BoxSelectRectCurr;
}; };
@@ -2611,7 +2622,6 @@ struct ImGuiMultiSelectTempData
ImGuiMultiSelectFlags Flags; ImGuiMultiSelectFlags Flags;
ImVec2_c ScopeRectMin; ImVec2_c ScopeRectMin;
ImVec2_c BackupCursorMaxPos; ImVec2_c BackupCursorMaxPos;
ImGuiSelectionUserData LastSubmittedItem;
ImGuiID BoxSelectId; ImGuiID BoxSelectId;
ImGuiKeyChord KeyMods; ImGuiKeyChord KeyMods;
ImS8 LoopRequestSetAll; ImS8 LoopRequestSetAll;
@@ -2682,8 +2692,8 @@ struct ImGuiDockNode
ImVec2_c Size; ImVec2_c Size;
ImVec2_c SizeRef; ImVec2_c SizeRef;
ImGuiAxis SplitAxis; ImGuiAxis SplitAxis;
ImGuiWindowClass WindowClass;
ImU32 LastBgColor; ImU32 LastBgColor;
ImGuiWindowClass WindowClass;
ImGuiWindow* HostWindow; ImGuiWindow* HostWindow;
ImGuiWindow* VisibleWindow; ImGuiWindow* VisibleWindow;
ImGuiDockNode* CentralNode; ImGuiDockNode* CentralNode;
@@ -2992,6 +3002,7 @@ struct ImGuiContext
float CurrentDpiScale; float CurrentDpiScale;
ImDrawListSharedData DrawListSharedData; ImDrawListSharedData DrawListSharedData;
ImGuiID WithinEndChildID; ImGuiID WithinEndChildID;
ImGuiID WithinEndPopupID;
void* TestEngine; void* TestEngine;
ImVector_ImGuiInputEvent InputEventsQueue; ImVector_ImGuiInputEvent InputEventsQueue;
ImVector_ImGuiInputEvent InputEventsTrail; ImVector_ImGuiInputEvent InputEventsTrail;
@@ -3859,8 +3870,6 @@ typedef enum {
#endif #endif
#define IMGUI_HAS_DOCK 1 #define IMGUI_HAS_DOCK 1
#define ImDrawCallback_ResetRenderState (ImDrawCallback)(-8)
#define ImTextureID_Invalid ((ImTextureID)0) #define ImTextureID_Invalid ((ImTextureID)0)
#else #else
@@ -4411,7 +4420,7 @@ CIMGUI_API const char* igGetKeyName(ImGuiKey key);
CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard); CIMGUI_API void igSetNextFrameWantCaptureKeyboard(bool want_capture_keyboard);
CIMGUI_API bool igShortcut_Nil(ImGuiKeyChord key_chord,ImGuiInputFlags flags); CIMGUI_API bool igShortcut_Nil(ImGuiKeyChord key_chord,ImGuiInputFlags flags);
CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags flags); CIMGUI_API void igSetNextItemShortcut(ImGuiKeyChord key_chord,ImGuiInputFlags flags);
CIMGUI_API void igSetItemKeyOwner_Nil(ImGuiKey key); CIMGUI_API bool igSetItemKeyOwner_Nil(ImGuiKey key);
CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button); CIMGUI_API bool igIsMouseDown_Nil(ImGuiMouseButton button);
CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat); CIMGUI_API bool igIsMouseClicked_Bool(ImGuiMouseButton button,bool repeat);
CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button); CIMGUI_API bool igIsMouseReleased_Nil(ImGuiMouseButton button);
@@ -4587,7 +4596,9 @@ CIMGUI_API void ImDrawList_PopTexture(ImDrawList* self);
CIMGUI_API ImVec2_c ImDrawList_GetClipRectMin(ImDrawList* self); CIMGUI_API ImVec2_c ImDrawList_GetClipRectMin(ImDrawList* self);
CIMGUI_API ImVec2_c ImDrawList_GetClipRectMax(ImDrawList* self); CIMGUI_API ImVec2_c ImDrawList_GetClipRectMax(ImDrawList* self);
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags,float thickness); CIMGUI_API void ImDrawList_AddLineH(ImDrawList* self,float min_x,float max_x,float y,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddLineV(ImDrawList* self,float x,float min_y,float max_y,ImU32 col,float thickness);
CIMGUI_API void ImDrawList_AddRect(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,float thickness,ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags); CIMGUI_API void ImDrawList_AddRectFilled(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,ImU32 col,float rounding,ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddRectFilledMultiColor(ImDrawList* self,const ImVec2_c p_min,const ImVec2_c p_max,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_c p_min,const ImVec2_c p_max,ImU32 col_upr_left,ImU32 col_upr_right,ImU32 col_bot_right,ImU32 col_bot_left);
CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness); CIMGUI_API void ImDrawList_AddQuad(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness);
@@ -4604,7 +4615,7 @@ CIMGUI_API void ImDrawList_AddText_Vec2(ImDrawList* self,const ImVec2_c pos,ImU3
CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,ImFont* font,float font_size,const ImVec2_c pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect); CIMGUI_API void ImDrawList_AddText_FontPtr(ImDrawList* self,ImFont* font,float font_size,const ImVec2_c pos,ImU32 col,const char* text_begin,const char* text_end,float wrap_width,const ImVec4* cpu_fine_clip_rect);
CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness,int num_segments); CIMGUI_API void ImDrawList_AddBezierCubic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,const ImVec2_c p4,ImU32 col,float thickness,int num_segments);
CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,ImU32 col,float thickness,int num_segments); CIMGUI_API void ImDrawList_AddBezierQuadratic(ImDrawList* self,const ImVec2_c p1,const ImVec2_c p2,const ImVec2_c p3,ImU32 col,float thickness,int num_segments);
CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,ImDrawFlags flags,float thickness); CIMGUI_API void ImDrawList_AddPolyline(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col,float thickness,ImDrawFlags flags);
CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddConvexPolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col);
CIMGUI_API void ImDrawList_AddConcavePolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col); CIMGUI_API void ImDrawList_AddConcavePolyFilled(ImDrawList* self,const ImVec2_c* points,int num_points,ImU32 col);
CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureRef_c tex_ref,const ImVec2_c p_min,const ImVec2_c p_max,const ImVec2_c uv_min,const ImVec2_c uv_max,ImU32 col); CIMGUI_API void ImDrawList_AddImage(ImDrawList* self,ImTextureRef_c tex_ref,const ImVec2_c p_min,const ImVec2_c p_max,const ImVec2_c uv_min,const ImVec2_c uv_max,ImU32 col);
@@ -4615,7 +4626,7 @@ CIMGUI_API void ImDrawList_PathLineTo(ImDrawList* self,const ImVec2_c pos);
CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2_c pos); CIMGUI_API void ImDrawList_PathLineToMergeDuplicate(ImDrawList* self,const ImVec2_c pos);
CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col); CIMGUI_API void ImDrawList_PathFillConvex(ImDrawList* self,ImU32 col);
CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self,ImU32 col); CIMGUI_API void ImDrawList_PathFillConcave(ImDrawList* self,ImU32 col);
CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,ImDrawFlags flags,float thickness); CIMGUI_API void ImDrawList_PathStroke(ImDrawList* self,ImU32 col,float thickness,ImDrawFlags flags);
CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments); CIMGUI_API void ImDrawList_PathArcTo(ImDrawList* self,const ImVec2_c center,float radius,float a_min,float a_max,int num_segments);
CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2_c center,float radius,int a_min_of_12,int a_max_of_12); CIMGUI_API void ImDrawList_PathArcToFast(ImDrawList* self,const ImVec2_c center,float radius,int a_min_of_12,int a_max_of_12);
CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self,const ImVec2_c center,const ImVec2_c radius,float rot,float a_min,float a_max,int num_segments); CIMGUI_API void ImDrawList_PathEllipticalArcTo(ImDrawList* self,const ImVec2_c center,const ImVec2_c radius,float rot,float a_min,float a_max,int num_segments);
@@ -4693,10 +4704,10 @@ CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,
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);
CIMGUI_API void ImFontAtlas_RemoveFont(ImFontAtlas* self,ImFont* font); CIMGUI_API void ImFontAtlas_RemoveFont(ImFontAtlas* self,ImFont* font);
CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_Clear(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_CompactCache(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_SetFontLoader(ImFontAtlas* self,const ImFontLoader* font_loader); CIMGUI_API void ImFontAtlas_SetFontLoader(ImFontAtlas* self,const ImFontLoader* font_loader);
CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_ClearInputData(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_ClearFonts(ImFontAtlas* self);
CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_ClearTexData(ImFontAtlas* self);
CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self); CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesDefault(ImFontAtlas* self);
CIMGUI_API ImFontAtlasRectId ImFontAtlas_AddCustomRect(ImFontAtlas* self,int width,int height,ImFontAtlasRect* out_r); CIMGUI_API ImFontAtlasRectId ImFontAtlas_AddCustomRect(ImFontAtlas* self,int width,int height,ImFontAtlasRect* out_r);
@@ -4875,6 +4886,8 @@ CIMGUI_API bool ImRect_ContainsWithPad(ImRect* self,const ImVec2_c p,const ImVec
CIMGUI_API bool ImRect_Overlaps(ImRect* self,const ImRect_c r); CIMGUI_API bool ImRect_Overlaps(ImRect* self,const ImRect_c r);
CIMGUI_API void ImRect_Add_Vec2(ImRect* self,const ImVec2_c p); CIMGUI_API void ImRect_Add_Vec2(ImRect* self,const ImVec2_c p);
CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect_c r); CIMGUI_API void ImRect_Add_Rect(ImRect* self,const ImRect_c r);
CIMGUI_API void ImRect_AddX(ImRect* self,float x);
CIMGUI_API void ImRect_AddY(ImRect* self,float y);
CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount); CIMGUI_API void ImRect_Expand_Float(ImRect* self,const float amount);
CIMGUI_API void ImRect_Expand_Vec2(ImRect* self,const ImVec2_c amount); CIMGUI_API void ImRect_Expand_Vec2(ImRect* self,const ImVec2_c amount);
CIMGUI_API void ImRect_Translate(ImRect* self,const ImVec2_c d); CIMGUI_API void ImRect_Translate(ImRect* self,const ImVec2_c d);
@@ -5180,6 +5193,7 @@ CIMGUI_API void igLogToBuffer(int auto_open_depth);
CIMGUI_API void igLogRenderedText(const ImVec2_c* ref_pos,const char* text,const char* text_end); CIMGUI_API void igLogRenderedText(const ImVec2_c* ref_pos,const char* text,const char* text_end);
CIMGUI_API void igLogSetNextTextDecoration(const char* prefix,const char* suffix); CIMGUI_API void igLogSetNextTextDecoration(const char* prefix,const char* suffix);
CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2_c size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags); CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2_c size_arg,ImGuiChildFlags child_flags,ImGuiWindowFlags window_flags);
CIMGUI_API ImGuiWindow* igFindFrontMostVisibleChildWindow(ImGuiWindow* window);
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags); CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_window_flags);
CIMGUI_API bool igBeginPopupMenuEx(ImGuiID id,const char* label,ImGuiWindowFlags extra_window_flags); CIMGUI_API bool igBeginPopupMenuEx(ImGuiID id,const char* label,ImGuiWindowFlags extra_window_flags);
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags);
@@ -5248,7 +5262,7 @@ CIMGUI_API bool igIsActiveIdUsingNavDir(ImGuiDir dir);
CIMGUI_API ImGuiID igGetKeyOwner(ImGuiKey key); CIMGUI_API ImGuiID igGetKeyOwner(ImGuiKey key);
CIMGUI_API void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags); CIMGUI_API void igSetKeyOwner(ImGuiKey key,ImGuiID owner_id,ImGuiInputFlags flags);
CIMGUI_API void igSetKeyOwnersForKeyChord(ImGuiKeyChord key,ImGuiID owner_id,ImGuiInputFlags flags); CIMGUI_API void igSetKeyOwnersForKeyChord(ImGuiKeyChord key,ImGuiID owner_id,ImGuiInputFlags flags);
CIMGUI_API void igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags); CIMGUI_API bool igSetItemKeyOwner_InputFlags(ImGuiKey key,ImGuiInputFlags flags);
CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id); CIMGUI_API bool igTestKeyOwner(ImGuiKey key,ImGuiID owner_id);
CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiContext* ctx,ImGuiKey key); CIMGUI_API ImGuiKeyOwnerData* igGetKeyOwnerData(ImGuiContext* ctx,ImGuiKey key);
CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id); CIMGUI_API bool igIsKeyDown_ID(ImGuiKey key,ImGuiID owner_id);
@@ -5307,6 +5321,7 @@ CIMGUI_API void igDockBuilderCopyWindowSettings(const char* src_name,const char*
CIMGUI_API void igDockBuilderFinish(ImGuiID node_id); CIMGUI_API void igDockBuilderFinish(ImGuiID node_id);
CIMGUI_API void igPushFocusScope(ImGuiID id); CIMGUI_API void igPushFocusScope(ImGuiID id);
CIMGUI_API void igPopFocusScope(void); CIMGUI_API void igPopFocusScope(void);
CIMGUI_API bool igIsInNavFocusRoute(ImGuiID focus_scope_id);
CIMGUI_API ImGuiID igGetCurrentFocusScope(void); CIMGUI_API ImGuiID igGetCurrentFocusScope(void);
CIMGUI_API bool igIsDragDropActive(void); CIMGUI_API bool igIsDragDropActive(void);
CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect_c bb,ImGuiID id); CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect_c bb,ImGuiID id);
@@ -5314,7 +5329,7 @@ CIMGUI_API bool igBeginDragDropTargetViewport(ImGuiViewport* viewport,const ImRe
CIMGUI_API void igClearDragDrop(void); CIMGUI_API void igClearDragDrop(void);
CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void); CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void);
CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect_c bb); CIMGUI_API void igRenderDragDropTargetRectForItem(const ImRect_c bb);
CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb); CIMGUI_API void igRenderDragDropTargetRectEx(ImDrawList* draw_list,const ImRect_c bb,float rounding);
CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags); CIMGUI_API ImGuiTypingSelectRequest* igGetTypingSelectRequest(ImGuiTypingSelectFlags flags);
CIMGUI_API int igTypingSelectFindMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx); CIMGUI_API int igTypingSelectFindMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
CIMGUI_API int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx); CIMGUI_API int igTypingSelectFindNextSingleCharMatch(ImGuiTypingSelectRequest* req,int items_count,const char*(*get_item_name_func)(void*,int),void* user_data,int nav_item_idx);
@@ -5357,6 +5372,7 @@ CIMGUI_API void igTableSetupDrawChannels(ImGuiTable* table);
CIMGUI_API void igTableUpdateLayout(ImGuiTable* table); CIMGUI_API void igTableUpdateLayout(ImGuiTable* table);
CIMGUI_API void igTableUpdateBorders(ImGuiTable* table); CIMGUI_API void igTableUpdateBorders(ImGuiTable* table);
CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table); CIMGUI_API void igTableUpdateColumnsWeightFromWidth(ImGuiTable* table);
CIMGUI_API void igTableApplyExternalUnclipRect(ImGuiTable* table,ImRect* rect);
CIMGUI_API void igTableDrawBorders(ImGuiTable* table); CIMGUI_API void igTableDrawBorders(ImGuiTable* table);
CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display); CIMGUI_API void igTableDrawDefaultContextMenu(ImGuiTable* table,ImGuiTableFlags flags_for_section_to_display);
CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table); CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table);
@@ -5598,6 +5614,7 @@ CIMGUI_API void igImFontAtlasTextureBlockPostProcessMultiply(ImFontAtlasPostProc
CIMGUI_API void igImFontAtlasTextureBlockFill(ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h,ImU32 col); CIMGUI_API void igImFontAtlasTextureBlockFill(ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h,ImU32 col);
CIMGUI_API void igImFontAtlasTextureBlockCopy(ImTextureData* src_tex,int src_x,int src_y,ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h); CIMGUI_API void igImFontAtlasTextureBlockCopy(ImTextureData* src_tex,int src_x,int src_y,ImTextureData* dst_tex,int dst_x,int dst_y,int w,int h);
CIMGUI_API void igImFontAtlasTextureBlockQueueUpload(ImFontAtlas* atlas,ImTextureData* tex,int x,int y,int w,int h); CIMGUI_API void igImFontAtlasTextureBlockQueueUpload(ImFontAtlas* atlas,ImTextureData* tex,int x,int y,int w,int h);
CIMGUI_API void igImTextureDataQueueUpload(ImTextureData* tex,int x,int y,int w,int h);
CIMGUI_API int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format); CIMGUI_API int igImTextureDataGetFormatBytesPerPixel(ImTextureFormat format);
CIMGUI_API const char* igImTextureDataGetStatusName(ImTextureStatus status); CIMGUI_API const char* igImTextureDataGetStatusName(ImTextureStatus status);
CIMGUI_API const char* igImTextureDataGetFormatName(ImTextureFormat format); CIMGUI_API const char* igImTextureDataGetFormatName(ImTextureFormat format);

View File

@@ -197,6 +197,8 @@ typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores; typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
typedef ImVector<VkDynamicState> ImVector_VkDynamicState; typedef ImVector<VkDynamicState> ImVector_VkDynamicState;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#define IMGUI_IMPL_VULKAN_MINIMUM_SAMPLED_IMAGE_POOL_SIZE (8)
#define IMGUI_IMPL_VULKAN_MINIMUM_SAMPLER_POOL_SIZE (2)
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage); CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage);
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator); CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator);
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode); CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
@@ -206,7 +208,7 @@ CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device); CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
CIMGUI_API VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space); CIMGUI_API VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space);
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window(void); CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window(void);
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout); CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkImageView image_view,VkImageLayout image_layout);
CIMGUI_API void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* info); CIMGUI_API void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* info);
CIMGUI_API bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info); CIMGUI_API bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info);
CIMGUI_API bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data); CIMGUI_API bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data);

View File

@@ -207,6 +207,26 @@ local function check_template(code)
return ttype,template,te,code2 return ttype,template,te,code2
end end
---------------------------------------- ----------------------------------------
local CCCnum = 0
local function getffiint32val(val)
local str = [[
local ffi = require"ffi"
ffi.cdef("static const int32_t CCC]]..CCCnum..[[ = ]]..val..[[;") return ffi.C.CCC]]..CCCnum
local f,err = loadstring(str)
assert(f,err)
CCCnum = CCCnum + 1
return f()
end
local function getffival(name,val)
local str = [[
local ffi = require"ffi"
ffi.cdef("static const int32_t ]]..name..[[ = ]]..val..[[;") return ffi.C.]]..name
print(str)
local f,err = loadstring(str)
assert(f,err)
return f()
end
local function parse_enum_value(value, allenums,dontpost) local function parse_enum_value(value, allenums,dontpost)
local function clean(val) local function clean(val)
if type(val)=="string" then if type(val)=="string" then
@@ -229,12 +249,23 @@ local function parse_enum_value(value, allenums,dontpost)
------------precedence order (hope not ()) ------------precedence order (hope not ())
--delete (int) --delete (int)
value = value:gsub("%(int%)","") value = value:gsub("%(int%)","")
value = value:gsub("%(%w+%)","")
--first drop outer () --first drop outer ()
value = value:gsub("^(%()",""):gsub("(%))$","") value = value:gsub("^(%()",""):gsub("(%))$","")
assert(not value:match("[%(%)]"),value) assert(not value:match("[%(%)]"),value)
local numval = tonumber(value)
--check int32_t
-- if numval then
-- local ok,numval2 = pcall(getffiint32val,value)
-- if ok and numval~=numval2 then
-- print("===========",value,numval,numval2)
-- end
-- end
if numval then return numval end
local several,seps = strsplit(value,"([<>&|~%+%-]+)") local several,seps = strsplit(value,"([<>&|~%+%-]+)")
--M.prtable(value,several,seps) --M.prtable("ccc",value,tonumber(value),several,seps)
assert(#seps+1==#several) assert(#seps+1==#several)
local i = 1 local i = 1
@@ -293,7 +324,7 @@ local function parse_enum_value(value, allenums,dontpost)
--M.prtable("allenums",allenums) --M.prtable("allenums",allenums)
end end
assert(#seps==0) assert(#seps==0)
assert(type(several[1])=="number" or type(several[1])=="cdata") assert(type(several[1])=="number" or type(several[1])=="cdata",type(several[1]))
--converst 1ULL to "1ULL" --converst 1ULL to "1ULL"
if type(several[1])=="cdata" then several[1] = tostring(several[1]) end if type(several[1])=="cdata" then several[1] = tostring(several[1]) end
return several[1] return several[1]
@@ -343,7 +374,7 @@ local function getRE()
local res = { local res = {
function_re = "^([^;{}]+%b()[\n%s]*;)%s*", function_re = "^([^;{}]+%b()[\n%s]*;)%s*",
function_re = "^([^;{}=]+%b()[\n%s%w]*;)", --const at the end function_re = "^([^;{}=]+%b()[\n%s%w]*;)", --const at the end
function_re = "^([^;{}=]+%b()[\n%s%w%(%)_]*;)", --attribute(deprecated) function_re = "^([^;{}=]+%b()[\n%s=%w%(%)_]*;)", --attribute(deprecated)
--we need to skip = as function because of "var = f()" initialization in struct fields --we need to skip = as function because of "var = f()" initialization in struct fields
-- but we don want operator== to appear as a var and as we should skip this kind of function solution is: -- but we don want operator== to appear as a var and as we should skip this kind of function solution is:
operator_re = "^([^;{}]+operator[^;{}]+%b()[\n%s%w%(%)_]*;)", operator_re = "^([^;{}]+operator[^;{}]+%b()[\n%s%w%(%)_]*;)",
@@ -746,9 +777,19 @@ local function parseFunction(self,stname,itt,namespace,locat)
end end
local ret = line:match("([^%(%):,]+[%*%s])%s?~?[_%w]+%b()") local ret = line:match("([^%(%):,]+[%*%s])%s?~?[_%w]+%b()")
local rettt = line:match("(.+[%*%s])%s?~?[_%w]+%b()")
--if rettt and rettt:match"::" then print("rettt",rettt,ret);error"debug" end
--if ret~=rettt then print("++++++++ret~=rettt",ret,rettt) end
if rettt and rettt:match"^const" and not ret:match"^const" then
ret = "const "..ret
print("++++++++++++add const",ret)
end
--local ret = line:match("(.+[%*%s])%s?~?[_%w]+%b()") --local ret = line:match("(.+[%*%s])%s?~?[_%w]+%b()")
--local funcname, args = line:match("(~?[_%w]+)%s*(%b())") --local funcname, args = line:match("(~?[_%w]+)%s*(%b())")
local funcname, args, extraconst = line:match("(~?[_%w]+)%s*(%b())(.*)") local funcname, args, extraconst = line:match("(~?[_%w]+)%s*(%b())(.*)")
if extraconst == "=delete;" then return end
extraconst = extraconst:match("const") extraconst = extraconst:match("const")
if not args then if not args then
@@ -872,6 +913,15 @@ local function parseFunction(self,stname,itt,namespace,locat)
name = name:gsub("(%[%d*%])","") name = name:gsub("(%[%d*%])","")
end end
end end
if typ:match"::" then
local const,typsimp,ptr = typ:match("(const )([^%*&]+)([%*&]*)")
print("= = = = 0 = =typ",typ,const,typsimp,ptr)
if self.opaque_structs_inv and self.opaque_structs_inv[typsimp] then
print("(((())))))=======self.opaque",const,typsimp,ptr);
typ = (const or "")..self.opaque_structs_inv[typsimp]..(ptr or "")
end
end
argsTa2[i] = {type=typ,name=name,default=defa,reftoptr=reftoptr,ret=retf,signature=sigf,has_cdecl=has_cdecl,template_orig=template_orig} argsTa2[i] = {type=typ,name=name,default=defa,reftoptr=reftoptr,ret=retf,signature=sigf,has_cdecl=has_cdecl,template_orig=template_orig}
if ar:match("&") and not ar:match("const") then if ar:match("&") and not ar:match("const") then
--only post error if not manual --only post error if not manual
@@ -962,7 +1012,7 @@ local function parseFunction(self,stname,itt,namespace,locat)
defT.call_args = caar --call_args defT.call_args = caar --call_args
defT.isvararg = signat:match("%.%.%.%)$") defT.isvararg = signat:match("%.%.%.%)$")
defT.location = locat defT.location = locat
local comentario = (itt.comments or "")..(comment or "") local comentario = (itt.prevcomments or "")..(itt.comments or "")..(comment or "")
if comentario=="" then comentario=nil end if comentario=="" then comentario=nil end
defT.comment = comentario defT.comment = comentario
defT.argsT = argsArr defT.argsT = argsArr
@@ -1163,7 +1213,9 @@ local function get_nonPOD(FP)
end end
end end
FP.structs_and_enums_table.nonPOD = nonPOD FP.structs_and_enums_table.nonPOD = nonPOD
if next(nonPOD) then
M.prtable("nonPOD",nonPOD) M.prtable("nonPOD",nonPOD)
end
return nonPOD return nonPOD
end end
local function recur_calc_depth(FP, structs, k,n) local function recur_calc_depth(FP, structs, k,n)
@@ -1330,7 +1382,9 @@ local function get_nonPODused(FP)
FP.structs_and_enums_table.nonPOD_used = FP.nP_used FP.structs_and_enums_table.nonPOD_used = FP.nP_used
FP.nP_args = typeargs FP.nP_args = typeargs
FP.nP_ret = typeargs_ret FP.nP_ret = typeargs_ret
if next(FP.nP_ret) then
M.prtable("np_ret",FP.nP_ret) M.prtable("np_ret",FP.nP_ret)
end
end end
local function header_subs_nonPOD(FP,txt) local function header_subs_nonPOD(FP,txt)
@@ -1347,7 +1401,9 @@ local function header_subs_nonPOD(FP,txt)
return txt return txt
end end
M.header_subs_nonPOD = header_subs_nonPOD M.header_subs_nonPOD = header_subs_nonPOD
local function get_std_function(ar) local function get_std_function(ar,def)
print("get_std_function",ar.template_orig)
print(" from",def.ov_cimguiname)
local skip = false local skip = false
local ty=ar.template_orig:gsub(ar.name,"") local ty=ar.template_orig:gsub(ar.name,"")
ty = ty:match("std::function(%b<>)") ty = ty:match("std::function(%b<>)")
@@ -1365,12 +1421,14 @@ local function get_std_function(ar)
local argsT2 = {} local argsT2 = {}
local noname_counter = 0 local noname_counter = 0
for i,v in ipairs(argsT) do for i,v in ipairs(argsT) do
local typ, name = v:match("(.+)%s+(%w+)") print(" arg",i,v)
local typ, name = v:match("^(.+)%s+(%w*)$")
if not name then if not name then
typ = v typ = v
noname_counter = noname_counter + 1 noname_counter = noname_counter + 1
name = "noname" .. noname_counter name = "noname" .. noname_counter
end end
print(" ",typ,name)
argsT2[i] = {type=typ,name=name} argsT2[i] = {type=typ,name=name}
end end
--get conversions --get conversions
@@ -1386,6 +1444,13 @@ local function get_std_function(ar)
elseif v.type:match("std::") then elseif v.type:match("std::") then
skip = true skip = true
else else
print(" get_std_function found type",v.type)
if v.type:match"&$" then
typ = v.type:gsub("&","*")
conv = "&"..v.name
end
-- require"anima.utils"
-- prtable(ar)
end end
argsT3[i] = {type=typ or v.type,conv=conv,name=v.name} argsT3[i] = {type=typ or v.type,conv=conv,name=v.name}
end end
@@ -1424,10 +1489,12 @@ local function get_std_function(ar)
return caar,asp,skip return caar,asp,skip
end end
local function ADDnonUDT(FP) local function ADDnonUDT(FP)
print"===================ADDnonUDT==================================="
local nonPOD = get_nonPOD(FP) local nonPOD = get_nonPOD(FP)
get_nonPODused(FP) get_nonPODused(FP)
for k,defs in pairs(FP.defsT) do for k,defs in pairs(FP.defsT) do
for i, def in ipairs(defs) do for i, def in ipairs(defs) do
--print(" ADDnonUDT",def.ov_cimguiname,def.ret)
local skip = nil local skip = nil
--ret --ret
local rets = (def.ret or ""):gsub("const ","") local rets = (def.ret or ""):gsub("const ","")
@@ -1451,6 +1518,7 @@ local function ADDnonUDT(FP)
--assert(def.ret:match"%*","return opaque struct without pointer") --assert(def.ret:match"%*","return opaque struct without pointer")
--M.prtable(def) --M.prtable(def)
--error"return opaque struct without pointer" --error"return opaque struct without pointer"
print("opaque in return================")
def.nonUDT = "opaque" def.nonUDT = "opaque"
def.ret = def.ret.."*" --def.ret:gsub(rets,rets.."_opq") def.ret = def.ret.."*" --def.ret:gsub(rets,rets.."_opq")
else else
@@ -1458,6 +1526,7 @@ local function ADDnonUDT(FP)
end end
--return std:: -> skip function --return std:: -> skip function
elseif def.stdret then -- not std::string elseif def.stdret then -- not std::string
print("skip",def.stdret,"on return")
skip = true skip = true
end end
--args --args
@@ -1490,7 +1559,7 @@ local function ADDnonUDT(FP)
caar = caar .. "std::string("..name..")," caar = caar .. "std::string("..name.."),"
asp = asp .. "const char* "..v.name.."," asp = asp .. "const char* "..v.name..","
elseif v.type:match"std::function" then elseif v.type:match"std::function" then
local ca2,asp2,skip2 = get_std_function(v) local ca2,asp2,skip2 = get_std_function(v,def)
caar = caar .. ca2.."," caar = caar .. ca2..","
asp = asp .. asp2.."," asp = asp .. asp2..","
if skip2 then skip = true end if skip2 then skip = true end
@@ -1528,6 +1597,7 @@ local function ADDnonUDT(FP)
asp = "()" asp = "()"
end end
if skip then if skip then
print("-------ADDnonUDT skips",def.ov_cimguiname)
def.skipped = skip def.skipped = skip
FP.skipped[def.ov_cimguiname] = true FP.skipped[def.ov_cimguiname] = true
else else
@@ -1537,6 +1607,10 @@ local function ADDnonUDT(FP)
end end
end end
end end
if next(FP.skipped) then
print(" =======skipped functions=====")
M.prtable(FP.skipped)
end
end end
local function ADDnonUDT_OLD(FP) local function ADDnonUDT_OLD(FP)
local nonPOD = get_nonPOD(FP) local nonPOD = get_nonPOD(FP)
@@ -1605,6 +1679,9 @@ local function ADDnonUDT_OLD(FP)
end end
local function ADDdestructors(FP) local function ADDdestructors(FP)
print"======================================================="
print"==============ADDdestructors========================="
print"======================================================="
local defsT = FP.defsT local defsT = FP.defsT
local newcdefs = {} local newcdefs = {}
@@ -1763,6 +1840,7 @@ function M.Parser()
par.skipped = {} par.skipped = {}
par.UDTs = {} par.UDTs = {}
par.opaque_structs = {} par.opaque_structs = {}
par.forced_opaque = {}
par.save_output = save_output par.save_output = save_output
par.genConversors = genConversions par.genConversors = genConversions
@@ -1794,6 +1872,8 @@ function M.Parser()
return par.skipped[def.ov_cimguiname] or par.skipped[def.cimguiname] return par.skipped[def.ov_cimguiname] or par.skipped[def.cimguiname]
end end
function par:take_lines(cmd_line,names,compiler) function par:take_lines(cmd_line,names,compiler)
assert(compiler)
self.COMPILER = compiler
if self.COMMENTS_GENERATION then if self.COMMENTS_GENERATION then
cmd_line = cmd_line .. (compiler=="cl" and " /C " or " -C ") cmd_line = cmd_line .. (compiler=="cl" and " /C " or " -C ")
end end
@@ -1824,13 +1904,90 @@ function M.Parser()
self.constants = defines self.constants = defines
return defines return defines
end end
--------------------------------------------------------------------
local function get_cdefs(gccline,locat,cdef)
--print("get_cdefs",gccline,locat,cdef)
cdef = cdef or {}
numerr = numerr + 1
local errfile = "err_cdefs"..numerr..".txt"
local pipe,err = io.popen(gccline.." 2>"..errfile,"r")
--local pipe,err = io.popen(gccline,"r")
if not pipe then error("could not execute gcc "..err) end
local skip
for line in M.location(pipe,{locat}) do
--print(line)
line = line:gsub("extern __attribute__%(%(dllexport%)%)%s*","")
line = line:gsub("extern __declspec%(dllexport%)%s*","")
skip = false
if line~="" then
if line:match("^%s*static const") and not line:match("static const int") then skip=true end
if not skip then
table.insert(cdef,line)
end
end
end
pipe:close()
local f = assert(io.open(errfile,"r"))
local errstr = f:read"*a"
f:close()
print(#errstr,"errstr")
print(errstr)
--try to guess a compiler error
assert(not errstr:match" error")
os.remove(errfile)
return cdef
end
local ffi = require"ffi"
--utility functions
local ffi_cdef = function(code)
local ret,err = pcall(ffi.cdef,code)
if not ret then
local lineN = 1
for line in code:gmatch("([^\n\r]*)\r?\n") do
print(lineN, line)
lineN = lineN + 1
end
print(err)
error"bad cdef"
end
end
function par:get_cal_value_ffi()
local COMPILER, CPRE = self.COMPILER
if COMPILER == "cl" then
CPRE = COMPILER..[[ /E /DCIMGUI_DEFINE_ENUMS_AND_STRUCTS -DIMGUI_ENABLE_FREETYPE ./ccode.h]]
else
CPRE = COMPILER..[[ -E -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS -DIMGUI_ENABLE_FREETYPE ./ccode.h]]
end
local cdefs = "typedef void FILE;"
cdefs = cdefs..self.structs_and_enums[1]..self.structs_and_enums[2]
save_data("ccode.h", cdefs)
local cdefs = get_cdefs(CPRE,"ccode")
--M.prtable(cdefs)
cdefs = table.concat(cdefs,"\n")
--print("===================================",cdefs)
save_data("ccode.h.lua", cdefs)
local ffi = require"ffi"
ffi_cdef(cdefs)
for k,enum in pairs(self.structs_and_enums_table.enums) do
for i,field in ipairs(enum) do
--print(field.calc_value)
if field.calc_value ~= ffi.C[field.name] then
print(field.name,field.calc_value , ffi.C[field.name])
end
end
end
end
function par:do_parse() function par:do_parse()
self:parseItems() self:parseItems()
self:gen_structs_and_enums_table() self:gen_structs_and_enums_table()
self:compute_overloads() self:compute_overloads()
self:gen_structs_and_enums() self:gen_structs_and_enums()
--self:compute_overloads()
--self:compute_templated() --self:compute_templated()
--check int32_t and others
--self:get_cal_value_ffi()
ADDdestructors(self) ADDdestructors(self)
end end
function par:initTypedefsDict() function par:initTypedefsDict()
@@ -1939,7 +2096,7 @@ function M.Parser()
--clean class and get name --clean class and get name
if it.re_name == "class_re" then if it.re_name == "class_re" then
it.name = it.item:match("class%s+(%S+)") it.name = it.item:match("class%s+(%S+)")
print("cleaning class",it.name) print("cleaning class",it.name,"-------------------------------------")
--it.item = it.item:gsub("private:.+};$","};") --it.item = it.item:gsub("private:.+};$","};")
--it.item = it.item:gsub("private:","") --it.item = it.item:gsub("private:","")
it.item = it.item:gsub("public:","") it.item = it.item:gsub("public:","")
@@ -2003,7 +2160,7 @@ function M.Parser()
local derived2 = derived:gsub("%b<>","") local derived2 = derived:gsub("%b<>","")
derived2 = derived2:gsub("%w+::","") derived2 = derived2:gsub("%w+::","")
print(" --derived check",stname, derived, derived2) print(" --derived check",stname, derived, derived2)
M.prtable(self.opaque_structs) --M.prtable(self.opaque_structs)
if self.opaque_structs[derived2] then if self.opaque_structs[derived2] then
print(" --make opaque opaque derived",it.name,derived,derived2) print(" --make opaque opaque derived",it.name,derived,derived2)
it.opaque_struct = get_parents_name(it)..it.name it.opaque_struct = get_parents_name(it)..it.name
@@ -2016,12 +2173,17 @@ function M.Parser()
it.opaque_struct = get_parents_name(it)..it.name it.opaque_struct = get_parents_name(it)..it.name
self.opaque_structs[it.name] = it.opaque_struct self.opaque_structs[it.name] = it.opaque_struct
end end
if self.forced_opaque[it.name] then
print(" --make forced opaque opaque derived",it.name)
it.opaque_struct = get_parents_name(it)..it.name
self.opaque_structs[it.name] = it.opaque_struct
end
for j,child in ipairs(it.childs) do for j,child in ipairs(it.childs) do
-- if child.re_name == "vardef_re" and child.item:match"using" then -- if child.re_name == "vardef_re" and child.item:match"using" then
-- print("=====using",child.item) -- print("=====using",child.item)
-- end -- end
if child.re_name == "vardef_re" and child.item:match"std::" then if (child.re_name == "vardef_re") and child.item:match"std::" then
print("--make opaque",it.name,child.item) print(" --make opaque with child std::",it.name,child.item)
--M.prtable(itparent) --M.prtable(itparent)
--it.opaque_struct = (itparent and itparent.name .."::" or "")..it.name --it.opaque_struct = (itparent and itparent.name .."::" or "")..it.name
it.opaque_struct = get_parents_name(it)..it.name it.opaque_struct = get_parents_name(it)..it.name
@@ -2054,6 +2216,9 @@ function M.Parser()
return table.concat(txtclean) return table.concat(txtclean)
end end
function par:parseItems() function par:parseItems()
print"================================================================"
print"===================parseItems==================================="
print"================================================================"
--self:initTypedefsDict() --self:initTypedefsDict()
self.linenumdict = {} self.linenumdict = {}
@@ -2076,9 +2241,13 @@ function M.Parser()
local txt = table.concat(cdefs2,"\n") local txt = table.concat(cdefs2,"\n")
--string substitution --string substitution
if self.str_subst then if self.str_subst then
print("========== str_subst")
local nn
for k,v in pairs(self.str_subst) do for k,v in pairs(self.str_subst) do
txt = txt:gsub(k,v) txt,nn = txt:gsub(k,v)
print(k,"done times:",nn)
end end
print("========== str_subst end")
end end
--clean = default in constructor (implot3d) --clean = default in constructor (implot3d)
txt = txt:gsub("=%s*default","") txt = txt:gsub("=%s*default","")
@@ -2111,11 +2280,11 @@ function M.Parser()
table.insert(txtclean,txt:sub(ini)) table.insert(txtclean,txt:sub(ini))
print("end cleaning ------------------------------",nn) print("end cleaning ------------------------------",nn)
txt = table.concat(txtclean) txt = table.concat(txtclean)
--]]
end end
--save_data("./preparse"..tostring(self):gsub("table: ","")..".c",txt) --save_data("./preparse"..tostring(self):gsub("table: ","")..".c",txt)
--]]
self.itemsarr = par:parseItemsR2(txt) self.itemsarr = par:parseItemsR2(txt)
save_data("./itemsarr.lua",ToStr(self.itemsarr)) save_data("./itemsarr.lua",M.serializeTableF(self.itemsarr))--ToStr(self.itemsarr))
itemsarr = self.itemsarr itemsarr = self.itemsarr
---find opaque_structs ---find opaque_structs
self:Listing(itemsarr,function(it) self:Listing(itemsarr,function(it)
@@ -2125,7 +2294,13 @@ function M.Parser()
end end
end end
end) end)
if next(self.opaque_structs) then M.prtable("opaque_structs:",self.opaque_structs) end if next(self.opaque_structs) then
M.prtable("opaque_structs:",self.opaque_structs)
self.opaque_structs_inv = {}
for k,v in pairs(self.opaque_structs) do
self.opaque_structs_inv[v]=k
end
end
end end
function par:printItems() function par:printItems()
@@ -2423,7 +2598,9 @@ function M.Parser()
end end
end end
function par:gen_structs_and_enums() function par:gen_structs_and_enums()
print"======================================================="
print"--------------gen_structs_and_enums" print"--------------gen_structs_and_enums"
print"======================================================="
--M.prtable(self.typenames) --M.prtable(self.typenames)
local outtab = {} local outtab = {}
local outtabpre = {} local outtabpre = {}
@@ -2712,7 +2889,9 @@ function M.Parser()
end end
par.enums_for_table = enums_for_table par.enums_for_table = enums_for_table
function par:gen_structs_and_enums_table() function par:gen_structs_and_enums_table()
print"--------------gen_structs_and_enums_table" print"================================================================"
print"===================gen_structs_and_enums_table==================================="
print"================================================================"
local outtab = {enums={},structs={},locations={},enumtypes={},struct_comments={},enum_comments={},opaque_structs={}} local outtab = {enums={},structs={},locations={},enumtypes={},struct_comments={},enum_comments={},opaque_structs={}}
--self.typedefs_table = {} --self.typedefs_table = {}
local enumsordered = {} local enumsordered = {}
@@ -2794,8 +2973,8 @@ function M.Parser()
-- M.prtable(outtab.structs[structname]) -- M.prtable(outtab.structs[structname])
-- end -- end
else --self.typenames[structname] else --self.typenames[structname]
M.prtable("--self.typenames",structname,self.typenames[structname]) --M.prtable("--self.typenames",structname,self.typenames[structname])
M.prtable("strtab 3, -1",strtab) --M.prtable("strtab 3, -1",strtab)
--templated struct --templated struct
if structname then if structname then
print("saving templated struct",structname) print("saving templated struct",structname)
@@ -2805,7 +2984,7 @@ function M.Parser()
self:parse_struct_line(strtab[j],self.templated_structs[structname],comstab[j]) self:parse_struct_line(strtab[j],self.templated_structs[structname],comstab[j])
end end
end end
M.prtable("--template_structs",structname,self.templated_structs[structname]) --M.prtable("--template_structs",structname,self.templated_structs[structname])
else else
print("skipped unnamed struct",structname) print("skipped unnamed struct",structname)
end end
@@ -2888,6 +3067,9 @@ function M.Parser()
end end
function par:compute_overloads() function par:compute_overloads()
print"================================================================"
print"===================compute_overloads==================================="
print"================================================================"
-- if self.IMGUI_HAS_TEXTURES then -- if self.IMGUI_HAS_TEXTURES then
-- print"----------replacing ImTextureID with ImTextureUserID" -- print"----------replacing ImTextureID with ImTextureUserID"
-- REPLACE_TEXTUREID(self) -- REPLACE_TEXTUREID(self)
@@ -3114,6 +3296,9 @@ function M.Parser()
end end
--generate cimgui.cpp cimgui.h --generate cimgui.cpp cimgui.h
function par:cimgui_generation( cimgui_header) function par:cimgui_generation( cimgui_header)
print"=========================================================="
print"===============cimgui_generation==========================="
print"=========================================================="
local name = self.modulename local name = self.modulename
local hstrfile = read_data("./"..name.."_template.h") local hstrfile = read_data("./"..name.."_template.h")
M.prtable("templates",self.templates) M.prtable("templates",self.templates)
@@ -3136,7 +3321,16 @@ function M.Parser()
hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem) hstrfile = hstrfile:gsub([[#include "auto_funcs%.cpp"]],cimplem)
save_data("./output/"..name..".cpp",cimgui_header,hstrfile) save_data("./output/"..name..".cpp",cimgui_header,hstrfile)
------------------------test header----------
local COMPILER, CPRE = self.COMPILER
COMPILER = COMPILER=="g++" and "gcc" or COMPILER
if COMPILER=="gcc" then
local include_cmd = COMPILER=="cl" and [[ /I ]] or [[ -I ]]
local extra_includes = include_cmd.." ../../cimgui "
local CPRE = COMPILER..[[ -std=c99 -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS -DIMGUI_ENABLE_FREETYPE ]] ..extra_includes.. "./output/"..name..".h"
print(CPRE)
get_cdefs(CPRE,"name")
end
end end
return par return par
end end
@@ -3351,10 +3545,12 @@ local function location(file,locpathT,defines,COMPILER,keepemptylines)
-- Is this a location pragma? -- Is this a location pragma?
local loc_num_t,location_match = line:match(location_re) local loc_num_t,location_match = line:match(location_re)
if location_match then if location_match then
--print(location_match)
in_location = false in_location = false
for i,path_re in ipairs(path_reT) do for i,path_re in ipairs(path_reT) do
local locpath = location_match:match(path_re) local locpath = location_match:match(path_re)
if locpath then if locpath then
--print("locpath",locpath)
in_location = true; in_location = true;
loc_num = loc_num_t loc_num = loc_num_t
loc_num_incr = 0 loc_num_incr = 0
@@ -3448,7 +3644,8 @@ local function ImGui_f_implementation(def)
elseif def.nonUDT == 2 then elseif def.nonUDT == 2 then
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret..namespace..def.funcname..def.call_args..");\n") insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret..namespace..def.funcname..def.call_args..");\n")
elseif def.nonUDT == "string" then elseif def.nonUDT == "string" then
insert(outtab," static std::string str = "..ptret..namespace..def.funcname..def.call_args..";\n") insert(outtab," static std::string str;\n")
insert(outtab," str.assign("..ptret.."self->"..def.funcname..def.call_args..");\n")
insert(outtab," return str.c_str();\n") insert(outtab," return str.c_str();\n")
elseif def.nonUDT == "opaque" then elseif def.nonUDT == "opaque" then
insert(outtab," static auto opq = "..ptret..namespace..def.funcname..def.call_args..";\n") insert(outtab," static auto opq = "..ptret..namespace..def.funcname..def.call_args..";\n")
@@ -3492,7 +3689,8 @@ local function struct_f_implementation(def)
elseif def.nonUDT == 2 then elseif def.nonUDT == 2 then
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret.."self->"..def.funcname..def.call_args..");\n") insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret.."self->"..def.funcname..def.call_args..");\n")
elseif def.nonUDT == "string" then elseif def.nonUDT == "string" then
insert(outtab," static std::string str = "..ptret.."self->"..def.funcname..def.call_args..";\n") insert(outtab," static std::string str;\n")
insert(outtab," str.assign("..ptret.."self->"..def.funcname..def.call_args..");\n")
insert(outtab," return str.c_str();\n") insert(outtab," return str.c_str();\n")
elseif def.nonUDT == "opaque" then elseif def.nonUDT == "opaque" then
insert(outtab," static auto opq = "..ptret.."self->"..def.funcname..def.call_args..";\n") insert(outtab," static auto opq = "..ptret.."self->"..def.funcname..def.call_args..";\n")
@@ -3518,8 +3716,7 @@ local function func_implementation(FP)
custom = FP.custom_implementation(outtab, def, FP) custom = FP.custom_implementation(outtab, def, FP)
end end
local manual = FP.get_manuals(def) local manual = FP.get_manuals(def)
if not custom and not manual and not def.templated and not FP.get_skipped(def) if not custom and not manual and not def.templated and not FP.get_skipped(def) --and not (FP.opaque_structs[def.stname] and not def.is_static_function)
and not (FP.opaque_structs[def.stname] and not def.is_static_function)
then then
if def.constructor then if def.constructor then
local tab = {} local tab = {}
@@ -3577,7 +3774,7 @@ M.table_do_sorted = table_do_sorted
local function func_header_generate_structs(FP) local function func_header_generate_structs(FP)
local outtab = {}--"\n/////func_header_generate_structs\n"} local outtab = {}--"\n/////func_header_generate_structs\n"}
M.prtable("embeded_structs",FP.embeded_structs)
table_do_sorted(FP.embeded_structs,function(k,v) table_do_sorted(FP.embeded_structs,function(k,v)
if not FP.typenames[k] then if not FP.typenames[k] then
print("embeded",k,v) print("embeded",k,v)
@@ -3596,7 +3793,7 @@ local function func_header_generate_structs(FP)
end) end)
end end
end) end)
--M.prtable(FP.typenames) --M.prtable("typenames",FP.typenames)
table_do_sorted(FP.opaque_structs,function(k,v) table_do_sorted(FP.opaque_structs,function(k,v)
if not FP.typenames[k] then if not FP.typenames[k] then
table.insert(outtab,"typedef "..v.." "..k..";\n") table.insert(outtab,"typedef "..v.." "..k..";\n")
@@ -3625,8 +3822,8 @@ local function func_header_generate_funcs(FP)
custom = FP.custom_header(outtab, def) custom = FP.custom_header(outtab, def)
end end
local manual = FP.get_manuals(def) local manual = FP.get_manuals(def)
if not custom and not manual and not def.templated and not FP.get_skipped(def) and if not custom and not manual and not def.templated and not FP.get_skipped(def) --and not (FP.opaque_structs[def.stname] and not def.is_static_function)
not (FP.opaque_structs[def.stname] and not def.is_static_function) then then
local addcoment = "" --def.comment or "" local addcoment = "" --def.comment or ""
local empty = def.args:match("^%(%)") --no args local empty = def.args:match("^%(%)") --no args

View File

@@ -120,10 +120,13 @@ local save_data = cpp2ffi.save_data
local copyfile = cpp2ffi.copyfile local copyfile = cpp2ffi.copyfile
local serializeTableF = cpp2ffi.serializeTableF local serializeTableF = cpp2ffi.serializeTableF
local function func_header_impl_generate(FP) local function func_header_impl_generate(FP, defines)
local outtab = {} local outtab = {}
--may be key sorting is not enough and declaration order needed
cpp2ffi.table_do_sorted(defines, function(k,v)
table.insert(outtab,"#define "..k.." "..v.."\n")
end)
-- for _,t in ipairs(FP.funcdefs) do -- for _,t in ipairs(FP.funcdefs) do
-- if t.cimguiname then -- if t.cimguiname then
-- local cimf = FP.defsT[t.cimguiname] -- local cimf = FP.defsT[t.cimguiname]
@@ -499,9 +502,9 @@ if #implementations > 0 then
local parser3 = cpp2ffi.Parser() local parser3 = cpp2ffi.Parser()
parser3.getCname = getCname parser3.getCname = getCname
parser3.cimgui_inherited = dofile([[./output/structs_and_enums.lua]]) parser3.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER) local defines = parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
parser3:do_parse() parser3:do_parse()
local cfuncsstr = func_header_impl_generate(parser3) local cfuncsstr = func_header_impl_generate(parser3, defines)
local cstructstr1,cstructstr2 = parser3.structs_and_enums[1], parser3.structs_and_enums[2] local cstructstr1,cstructstr2 = parser3.structs_and_enums[1], parser3.structs_and_enums[2]
local cstru = cstructstr1 .. cstructstr2 local cstru = cstructstr1 .. cstructstr2
if cstru ~="" then if cstru ~="" then

View File

@@ -24,8 +24,8 @@
"IMGUI_TABLE_MAX_COLUMNS": "512", "IMGUI_TABLE_MAX_COLUMNS": "512",
"IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)": "((void)0)", "IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)": "((void)0)",
"IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)": "((void)g)", "IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)": "((void)g)",
"IMGUI_VERSION": "\"1.92.7\"", "IMGUI_VERSION": "\"1.92.8\"",
"IMGUI_VERSION_NUM": "19270", "IMGUI_VERSION_NUM": "19280",
"IMGUI_WINDOW_HARD_MIN_SIZE": "4.0f", "IMGUI_WINDOW_HARD_MIN_SIZE": "4.0f",
"IMSTB_TEXTEDIT_CHARTYPE": "char", "IMSTB_TEXTEDIT_CHARTYPE": "char",
"IMSTB_TEXTEDIT_GETWIDTH_NEWLINE": "(-1.0f)", "IMSTB_TEXTEDIT_GETWIDTH_NEWLINE": "(-1.0f)",
@@ -88,7 +88,6 @@
"ImAtof(STR)": "atof(STR)", "ImAtof(STR)": "atof(STR)",
"ImCeil(X)": "ceilf(X)", "ImCeil(X)": "ceilf(X)",
"ImCos(X)": "cosf(X)", "ImCos(X)": "cosf(X)",
"ImDrawCallback_ResetRenderState": "(ImDrawCallback)(-8)",
"ImFabs(X)": "fabsf(X)", "ImFabs(X)": "fabsf(X)",
"ImFmod(X,Y)": "fmodf((X), (Y))", "ImFmod(X,Y)": "fmodf((X), (Y))",
"ImFontAtlasRectId_GenerationMask_": "(0x3FF00000)", "ImFontAtlasRectId_GenerationMask_": "(0x3FF00000)",

View File

@@ -24,8 +24,8 @@ local t={
IMGUI_TABLE_MAX_COLUMNS="512", IMGUI_TABLE_MAX_COLUMNS="512",
["IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)"]="((void)0)", ["IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)"]="((void)0)",
["IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)"]="((void)g)", ["IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)"]="((void)g)",
IMGUI_VERSION="\"1.92.7\"", IMGUI_VERSION="\"1.92.8\"",
IMGUI_VERSION_NUM="19270", IMGUI_VERSION_NUM="19280",
IMGUI_WINDOW_HARD_MIN_SIZE="4.0f", IMGUI_WINDOW_HARD_MIN_SIZE="4.0f",
IMSTB_TEXTEDIT_CHARTYPE="char", IMSTB_TEXTEDIT_CHARTYPE="char",
IMSTB_TEXTEDIT_GETWIDTH_NEWLINE="(-1.0f)", IMSTB_TEXTEDIT_GETWIDTH_NEWLINE="(-1.0f)",
@@ -88,7 +88,6 @@ local t={
["ImAtof(STR)"]="atof(STR)", ["ImAtof(STR)"]="atof(STR)",
["ImCeil(X)"]="ceilf(X)", ["ImCeil(X)"]="ceilf(X)",
["ImCos(X)"]="cosf(X)", ["ImCos(X)"]="cosf(X)",
ImDrawCallback_ResetRenderState="(ImDrawCallback)(-8)",
["ImFabs(X)"]="fabsf(X)", ["ImFabs(X)"]="fabsf(X)",
["ImFmod(X,Y)"]="fmodf((X), (Y))", ["ImFmod(X,Y)"]="fmodf((X), (Y))",
ImFontAtlasRectId_GenerationMask_="(0x3FF00000)", ImFontAtlasRectId_GenerationMask_="(0x3FF00000)",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -489,7 +489,7 @@
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects", "cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects", "funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"location": "imgui_impl_opengl2:38", "location": "imgui_impl_opengl2:39",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects", "ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"ret": "bool", "ret": "bool",
"signature": "()", "signature": "()",
@@ -506,7 +506,7 @@
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", "cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", "funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"location": "imgui_impl_opengl2:39", "location": "imgui_impl_opengl2:40",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects", "ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -523,7 +523,7 @@
"cimguiname": "ImGui_ImplOpenGL2_Init", "cimguiname": "ImGui_ImplOpenGL2_Init",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_Init", "funcname": "ImGui_ImplOpenGL2_Init",
"location": "imgui_impl_opengl2:32", "location": "imgui_impl_opengl2:33",
"ov_cimguiname": "ImGui_ImplOpenGL2_Init", "ov_cimguiname": "ImGui_ImplOpenGL2_Init",
"ret": "bool", "ret": "bool",
"signature": "()", "signature": "()",
@@ -540,7 +540,7 @@
"cimguiname": "ImGui_ImplOpenGL2_NewFrame", "cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_NewFrame", "funcname": "ImGui_ImplOpenGL2_NewFrame",
"location": "imgui_impl_opengl2:34", "location": "imgui_impl_opengl2:35",
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame", "ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -562,7 +562,7 @@
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData", "cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_RenderDrawData", "funcname": "ImGui_ImplOpenGL2_RenderDrawData",
"location": "imgui_impl_opengl2:35", "location": "imgui_impl_opengl2:36",
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData", "ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"ret": "void", "ret": "void",
"signature": "(ImDrawData*)", "signature": "(ImDrawData*)",
@@ -579,7 +579,7 @@
"cimguiname": "ImGui_ImplOpenGL2_Shutdown", "cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_Shutdown", "funcname": "ImGui_ImplOpenGL2_Shutdown",
"location": "imgui_impl_opengl2:33", "location": "imgui_impl_opengl2:34",
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown", "ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -601,7 +601,7 @@
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture", "cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplOpenGL2_UpdateTexture", "funcname": "ImGui_ImplOpenGL2_UpdateTexture",
"location": "imgui_impl_opengl2:42", "location": "imgui_impl_opengl2:43",
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture", "ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"ret": "void", "ret": "void",
"signature": "(ImTextureData*)", "signature": "(ImTextureData*)",
@@ -1363,7 +1363,7 @@
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow", "cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow", "funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"location": "imgui_impl_vulkan:208", "location": "imgui_impl_vulkan:211",
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow", "ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"ret": "void", "ret": "void",
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)", "signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
@@ -1397,7 +1397,7 @@
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow", "cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_DestroyWindow", "funcname": "ImGui_ImplVulkanH_DestroyWindow",
"location": "imgui_impl_vulkan:209", "location": "imgui_impl_vulkan:212",
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow", "ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"ret": "void", "ret": "void",
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)", "signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1419,7 +1419,7 @@
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", "cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", "funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"location": "imgui_impl_vulkan:214", "location": "imgui_impl_vulkan:217",
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", "ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"ret": "int", "ret": "int",
"signature": "(VkPresentModeKHR)", "signature": "(VkPresentModeKHR)",
@@ -1441,7 +1441,7 @@
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport", "cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport", "funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"location": "imgui_impl_vulkan:215", "location": "imgui_impl_vulkan:218",
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport", "ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"ret": "ImGui_ImplVulkanH_Window*", "ret": "ImGui_ImplVulkanH_Window*",
"signature": "(ImGuiViewport*)", "signature": "(ImGuiViewport*)",
@@ -1463,7 +1463,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice", "cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice", "funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"location": "imgui_impl_vulkan:212", "location": "imgui_impl_vulkan:215",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice", "ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"ret": "VkPhysicalDevice", "ret": "VkPhysicalDevice",
"signature": "(VkInstance)", "signature": "(VkInstance)",
@@ -1497,7 +1497,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode", "cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPresentMode", "funcname": "ImGui_ImplVulkanH_SelectPresentMode",
"location": "imgui_impl_vulkan:211", "location": "imgui_impl_vulkan:214",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode", "ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"ret": "VkPresentModeKHR", "ret": "VkPresentModeKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)", "signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1519,7 +1519,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex", "cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex", "funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"location": "imgui_impl_vulkan:213", "location": "imgui_impl_vulkan:216",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex", "ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"ret": "uint32_t", "ret": "uint32_t",
"signature": "(VkPhysicalDevice)", "signature": "(VkPhysicalDevice)",
@@ -1557,7 +1557,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat", "cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat", "funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"location": "imgui_impl_vulkan:210", "location": "imgui_impl_vulkan:213",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat", "ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"ret": "VkSurfaceFormatKHR", "ret": "VkSurfaceFormatKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)", "signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1575,7 +1575,7 @@
"constructor": true, "constructor": true,
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_Window", "funcname": "ImGui_ImplVulkanH_Window",
"location": "imgui_impl_vulkan:260", "location": "imgui_impl_vulkan:263",
"namespace": "ImGui_ImplVulkanH_Window", "namespace": "ImGui_ImplVulkanH_Window",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window", "ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
"signature": "()", "signature": "()",
@@ -1595,7 +1595,7 @@
"cimguiname": "ImGui_ImplVulkanH_Window_destroy", "cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"defaults": {}, "defaults": {},
"destructor": true, "destructor": true,
"location": "imgui_impl_vulkan:260", "location": "imgui_impl_vulkan:263",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy", "ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"ret": "void", "ret": "void",
"signature": "(ImGui_ImplVulkanH_Window*)", "signature": "(ImGui_ImplVulkanH_Window*)",
@@ -1604,12 +1604,8 @@
], ],
"ImGui_ImplVulkan_AddTexture": [ "ImGui_ImplVulkan_AddTexture": [
{ {
"args": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)", "args": "(VkImageView image_view,VkImageLayout image_layout)",
"argsT": [ "argsT": [
{
"name": "sampler",
"type": "VkSampler"
},
{ {
"name": "image_view", "name": "image_view",
"type": "VkImageView" "type": "VkImageView"
@@ -1619,16 +1615,16 @@
"type": "VkImageLayout" "type": "VkImageLayout"
} }
], ],
"argsoriginal": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)", "argsoriginal": "(VkImageView image_view,VkImageLayout image_layout)",
"call_args": "(sampler,image_view,image_layout)", "call_args": "(image_view,image_layout)",
"call_args_old": "(sampler,image_view,image_layout)", "call_args_old": "(image_view,image_layout)",
"cimguiname": "ImGui_ImplVulkan_AddTexture", "cimguiname": "ImGui_ImplVulkan_AddTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_AddTexture", "funcname": "ImGui_ImplVulkan_AddTexture",
"location": "imgui_impl_vulkan:166", "location": "imgui_impl_vulkan:165",
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture", "ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
"ret": "VkDescriptorSet", "ret": "VkDescriptorSet",
"signature": "(VkSampler,VkImageView,VkImageLayout)", "signature": "(VkImageView,VkImageLayout)",
"stname": "" "stname": ""
} }
], ],
@@ -1647,7 +1643,7 @@
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline", "cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_CreateMainPipeline", "funcname": "ImGui_ImplVulkan_CreateMainPipeline",
"location": "imgui_impl_vulkan:158", "location": "imgui_impl_vulkan:159",
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline", "ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"ret": "void", "ret": "void",
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)", "signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
@@ -1669,7 +1665,7 @@
"cimguiname": "ImGui_ImplVulkan_Init", "cimguiname": "ImGui_ImplVulkan_Init",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_Init", "funcname": "ImGui_ImplVulkan_Init",
"location": "imgui_impl_vulkan:149", "location": "imgui_impl_vulkan:150",
"ov_cimguiname": "ImGui_ImplVulkan_Init", "ov_cimguiname": "ImGui_ImplVulkan_Init",
"ret": "bool", "ret": "bool",
"signature": "(ImGui_ImplVulkan_InitInfo*)", "signature": "(ImGui_ImplVulkan_InitInfo*)",
@@ -1701,7 +1697,7 @@
"user_data": "nullptr" "user_data": "nullptr"
}, },
"funcname": "ImGui_ImplVulkan_LoadFunctions", "funcname": "ImGui_ImplVulkan_LoadFunctions",
"location": "imgui_impl_vulkan:171", "location": "imgui_impl_vulkan:174",
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions", "ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
"ret": "bool", "ret": "bool",
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)", "signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1718,7 +1714,7 @@
"cimguiname": "ImGui_ImplVulkan_NewFrame", "cimguiname": "ImGui_ImplVulkan_NewFrame",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_NewFrame", "funcname": "ImGui_ImplVulkan_NewFrame",
"location": "imgui_impl_vulkan:151", "location": "imgui_impl_vulkan:152",
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame", "ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -1740,7 +1736,7 @@
"cimguiname": "ImGui_ImplVulkan_RemoveTexture", "cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_RemoveTexture", "funcname": "ImGui_ImplVulkan_RemoveTexture",
"location": "imgui_impl_vulkan:167", "location": "imgui_impl_vulkan:166",
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture", "ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"ret": "void", "ret": "void",
"signature": "(VkDescriptorSet)", "signature": "(VkDescriptorSet)",
@@ -1772,7 +1768,7 @@
"pipeline": "0ULL" "pipeline": "0ULL"
}, },
"funcname": "ImGui_ImplVulkan_RenderDrawData", "funcname": "ImGui_ImplVulkan_RenderDrawData",
"location": "imgui_impl_vulkan:152", "location": "imgui_impl_vulkan:153",
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData", "ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
"ret": "void", "ret": "void",
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)", "signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1794,7 +1790,7 @@
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount", "cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_SetMinImageCount", "funcname": "ImGui_ImplVulkan_SetMinImageCount",
"location": "imgui_impl_vulkan:153", "location": "imgui_impl_vulkan:154",
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount", "ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"ret": "void", "ret": "void",
"signature": "(uint32_t)", "signature": "(uint32_t)",
@@ -1811,7 +1807,7 @@
"cimguiname": "ImGui_ImplVulkan_Shutdown", "cimguiname": "ImGui_ImplVulkan_Shutdown",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_Shutdown", "funcname": "ImGui_ImplVulkan_Shutdown",
"location": "imgui_impl_vulkan:150", "location": "imgui_impl_vulkan:151",
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown", "ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -1833,7 +1829,7 @@
"cimguiname": "ImGui_ImplVulkan_UpdateTexture", "cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_UpdateTexture", "funcname": "ImGui_ImplVulkan_UpdateTexture",
"location": "imgui_impl_vulkan:161", "location": "imgui_impl_vulkan:162",
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture", "ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"ret": "void", "ret": "void",
"signature": "(ImTextureData*)", "signature": "(ImTextureData*)",

View File

@@ -418,7 +418,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects", cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects", funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
location="imgui_impl_opengl2:38", location="imgui_impl_opengl2:39",
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects", ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
ret="bool", ret="bool",
signature="()", signature="()",
@@ -434,7 +434,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects", cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects", funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
location="imgui_impl_opengl2:39", location="imgui_impl_opengl2:40",
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects", ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
ret="void", ret="void",
signature="()", signature="()",
@@ -450,7 +450,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_Init", cimguiname="ImGui_ImplOpenGL2_Init",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_Init", funcname="ImGui_ImplOpenGL2_Init",
location="imgui_impl_opengl2:32", location="imgui_impl_opengl2:33",
ov_cimguiname="ImGui_ImplOpenGL2_Init", ov_cimguiname="ImGui_ImplOpenGL2_Init",
ret="bool", ret="bool",
signature="()", signature="()",
@@ -466,7 +466,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_NewFrame", cimguiname="ImGui_ImplOpenGL2_NewFrame",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_NewFrame", funcname="ImGui_ImplOpenGL2_NewFrame",
location="imgui_impl_opengl2:34", location="imgui_impl_opengl2:35",
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame", ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
ret="void", ret="void",
signature="()", signature="()",
@@ -485,7 +485,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_RenderDrawData", cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_RenderDrawData", funcname="ImGui_ImplOpenGL2_RenderDrawData",
location="imgui_impl_opengl2:35", location="imgui_impl_opengl2:36",
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData", ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
ret="void", ret="void",
signature="(ImDrawData*)", signature="(ImDrawData*)",
@@ -501,7 +501,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_Shutdown", cimguiname="ImGui_ImplOpenGL2_Shutdown",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_Shutdown", funcname="ImGui_ImplOpenGL2_Shutdown",
location="imgui_impl_opengl2:33", location="imgui_impl_opengl2:34",
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown", ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
ret="void", ret="void",
signature="()", signature="()",
@@ -520,7 +520,7 @@ local t={
cimguiname="ImGui_ImplOpenGL2_UpdateTexture", cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
defaults={}, defaults={},
funcname="ImGui_ImplOpenGL2_UpdateTexture", funcname="ImGui_ImplOpenGL2_UpdateTexture",
location="imgui_impl_opengl2:42", location="imgui_impl_opengl2:43",
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture", ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
ret="void", ret="void",
signature="(ImTextureData*)", signature="(ImTextureData*)",
@@ -1179,7 +1179,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow", cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow", funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
location="imgui_impl_vulkan:208", location="imgui_impl_vulkan:211",
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow", ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
ret="void", ret="void",
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)", signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
@@ -1207,7 +1207,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_DestroyWindow", cimguiname="ImGui_ImplVulkanH_DestroyWindow",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_DestroyWindow", funcname="ImGui_ImplVulkanH_DestroyWindow",
location="imgui_impl_vulkan:209", location="imgui_impl_vulkan:212",
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow", ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
ret="void", ret="void",
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)", signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1226,7 +1226,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
location="imgui_impl_vulkan:214", location="imgui_impl_vulkan:217",
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
ret="int", ret="int",
signature="(VkPresentModeKHR)", signature="(VkPresentModeKHR)",
@@ -1245,7 +1245,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport", cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport", funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
location="imgui_impl_vulkan:215", location="imgui_impl_vulkan:218",
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport", ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
ret="ImGui_ImplVulkanH_Window*", ret="ImGui_ImplVulkanH_Window*",
signature="(ImGuiViewport*)", signature="(ImGuiViewport*)",
@@ -1264,7 +1264,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice", cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice", funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
location="imgui_impl_vulkan:212", location="imgui_impl_vulkan:215",
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice", ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
ret="VkPhysicalDevice", ret="VkPhysicalDevice",
signature="(VkInstance)", signature="(VkInstance)",
@@ -1292,7 +1292,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectPresentMode", cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectPresentMode", funcname="ImGui_ImplVulkanH_SelectPresentMode",
location="imgui_impl_vulkan:211", location="imgui_impl_vulkan:214",
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode", ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
ret="VkPresentModeKHR", ret="VkPresentModeKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)", signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1311,7 +1311,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex", cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex", funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
location="imgui_impl_vulkan:213", location="imgui_impl_vulkan:216",
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex", ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
ret="uint32_t", ret="uint32_t",
signature="(VkPhysicalDevice)", signature="(VkPhysicalDevice)",
@@ -1342,7 +1342,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat", cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat", funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
location="imgui_impl_vulkan:210", location="imgui_impl_vulkan:213",
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat", ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
ret="VkSurfaceFormatKHR", ret="VkSurfaceFormatKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)", signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1359,7 +1359,7 @@ local t={
constructor=true, constructor=true,
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_Window", funcname="ImGui_ImplVulkanH_Window",
location="imgui_impl_vulkan:260", location="imgui_impl_vulkan:263",
namespace="ImGui_ImplVulkanH_Window", namespace="ImGui_ImplVulkanH_Window",
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window", ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
signature="()", signature="()",
@@ -1376,7 +1376,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_Window_destroy", cimguiname="ImGui_ImplVulkanH_Window_destroy",
defaults={}, defaults={},
destructor=true, destructor=true,
location="imgui_impl_vulkan:260", location="imgui_impl_vulkan:263",
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy", ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
ret="void", ret="void",
signature="(ImGui_ImplVulkanH_Window*)", signature="(ImGui_ImplVulkanH_Window*)",
@@ -1384,29 +1384,26 @@ local t={
["(ImGui_ImplVulkanH_Window*)"]=nil}, ["(ImGui_ImplVulkanH_Window*)"]=nil},
ImGui_ImplVulkan_AddTexture={ ImGui_ImplVulkan_AddTexture={
[1]={ [1]={
args="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)", args="(VkImageView image_view,VkImageLayout image_layout)",
argsT={ argsT={
[1]={ [1]={
name="sampler",
type="VkSampler"},
[2]={
name="image_view", name="image_view",
type="VkImageView"}, type="VkImageView"},
[3]={ [2]={
name="image_layout", name="image_layout",
type="VkImageLayout"}}, type="VkImageLayout"}},
argsoriginal="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)", argsoriginal="(VkImageView image_view,VkImageLayout image_layout)",
call_args="(sampler,image_view,image_layout)", call_args="(image_view,image_layout)",
call_args_old="(sampler,image_view,image_layout)", call_args_old="(image_view,image_layout)",
cimguiname="ImGui_ImplVulkan_AddTexture", cimguiname="ImGui_ImplVulkan_AddTexture",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_AddTexture", funcname="ImGui_ImplVulkan_AddTexture",
location="imgui_impl_vulkan:166", location="imgui_impl_vulkan:165",
ov_cimguiname="ImGui_ImplVulkan_AddTexture", ov_cimguiname="ImGui_ImplVulkan_AddTexture",
ret="VkDescriptorSet", ret="VkDescriptorSet",
signature="(VkSampler,VkImageView,VkImageLayout)", signature="(VkImageView,VkImageLayout)",
stname=""}, stname=""},
["(VkSampler,VkImageView,VkImageLayout)"]=nil}, ["(VkImageView,VkImageLayout)"]=nil},
ImGui_ImplVulkan_CreateMainPipeline={ ImGui_ImplVulkan_CreateMainPipeline={
[1]={ [1]={
args="(const ImGui_ImplVulkan_PipelineInfo* info)", args="(const ImGui_ImplVulkan_PipelineInfo* info)",
@@ -1420,7 +1417,7 @@ local t={
cimguiname="ImGui_ImplVulkan_CreateMainPipeline", cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_CreateMainPipeline", funcname="ImGui_ImplVulkan_CreateMainPipeline",
location="imgui_impl_vulkan:158", location="imgui_impl_vulkan:159",
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline", ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
ret="void", ret="void",
signature="(const ImGui_ImplVulkan_PipelineInfo*)", signature="(const ImGui_ImplVulkan_PipelineInfo*)",
@@ -1439,7 +1436,7 @@ local t={
cimguiname="ImGui_ImplVulkan_Init", cimguiname="ImGui_ImplVulkan_Init",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_Init", funcname="ImGui_ImplVulkan_Init",
location="imgui_impl_vulkan:149", location="imgui_impl_vulkan:150",
ov_cimguiname="ImGui_ImplVulkan_Init", ov_cimguiname="ImGui_ImplVulkan_Init",
ret="bool", ret="bool",
signature="(ImGui_ImplVulkan_InitInfo*)", signature="(ImGui_ImplVulkan_InitInfo*)",
@@ -1465,7 +1462,7 @@ local t={
defaults={ defaults={
user_data="nullptr"}, user_data="nullptr"},
funcname="ImGui_ImplVulkan_LoadFunctions", funcname="ImGui_ImplVulkan_LoadFunctions",
location="imgui_impl_vulkan:171", location="imgui_impl_vulkan:174",
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions", ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
ret="bool", ret="bool",
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)", signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1481,7 +1478,7 @@ local t={
cimguiname="ImGui_ImplVulkan_NewFrame", cimguiname="ImGui_ImplVulkan_NewFrame",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_NewFrame", funcname="ImGui_ImplVulkan_NewFrame",
location="imgui_impl_vulkan:151", location="imgui_impl_vulkan:152",
ov_cimguiname="ImGui_ImplVulkan_NewFrame", ov_cimguiname="ImGui_ImplVulkan_NewFrame",
ret="void", ret="void",
signature="()", signature="()",
@@ -1500,7 +1497,7 @@ local t={
cimguiname="ImGui_ImplVulkan_RemoveTexture", cimguiname="ImGui_ImplVulkan_RemoveTexture",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_RemoveTexture", funcname="ImGui_ImplVulkan_RemoveTexture",
location="imgui_impl_vulkan:167", location="imgui_impl_vulkan:166",
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture", ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
ret="void", ret="void",
signature="(VkDescriptorSet)", signature="(VkDescriptorSet)",
@@ -1526,7 +1523,7 @@ local t={
defaults={ defaults={
pipeline="0ULL"}, pipeline="0ULL"},
funcname="ImGui_ImplVulkan_RenderDrawData", funcname="ImGui_ImplVulkan_RenderDrawData",
location="imgui_impl_vulkan:152", location="imgui_impl_vulkan:153",
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData", ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
ret="void", ret="void",
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)", signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1545,7 +1542,7 @@ local t={
cimguiname="ImGui_ImplVulkan_SetMinImageCount", cimguiname="ImGui_ImplVulkan_SetMinImageCount",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_SetMinImageCount", funcname="ImGui_ImplVulkan_SetMinImageCount",
location="imgui_impl_vulkan:153", location="imgui_impl_vulkan:154",
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount", ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
ret="void", ret="void",
signature="(uint32_t)", signature="(uint32_t)",
@@ -1561,7 +1558,7 @@ local t={
cimguiname="ImGui_ImplVulkan_Shutdown", cimguiname="ImGui_ImplVulkan_Shutdown",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_Shutdown", funcname="ImGui_ImplVulkan_Shutdown",
location="imgui_impl_vulkan:150", location="imgui_impl_vulkan:151",
ov_cimguiname="ImGui_ImplVulkan_Shutdown", ov_cimguiname="ImGui_ImplVulkan_Shutdown",
ret="void", ret="void",
signature="()", signature="()",
@@ -1580,7 +1577,7 @@ local t={
cimguiname="ImGui_ImplVulkan_UpdateTexture", cimguiname="ImGui_ImplVulkan_UpdateTexture",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_UpdateTexture", funcname="ImGui_ImplVulkan_UpdateTexture",
location="imgui_impl_vulkan:161", location="imgui_impl_vulkan:162",
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture", ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
ret="void", ret="void",
signature="(ImTextureData*)", signature="(ImTextureData*)",
@@ -1654,7 +1651,7 @@ t.ImGui_ImplVulkanH_SelectQueueFamilyIndex["(VkPhysicalDevice)"]=t.ImGui_ImplVul
t.ImGui_ImplVulkanH_SelectSurfaceFormat["(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)"]=t.ImGui_ImplVulkanH_SelectSurfaceFormat[1] t.ImGui_ImplVulkanH_SelectSurfaceFormat["(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)"]=t.ImGui_ImplVulkanH_SelectSurfaceFormat[1]
t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window["()"]=t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window[1] t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window["()"]=t.ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window[1]
t.ImGui_ImplVulkanH_Window_destroy["(ImGui_ImplVulkanH_Window*)"]=t.ImGui_ImplVulkanH_Window_destroy[1] t.ImGui_ImplVulkanH_Window_destroy["(ImGui_ImplVulkanH_Window*)"]=t.ImGui_ImplVulkanH_Window_destroy[1]
t.ImGui_ImplVulkan_AddTexture["(VkSampler,VkImageView,VkImageLayout)"]=t.ImGui_ImplVulkan_AddTexture[1] t.ImGui_ImplVulkan_AddTexture["(VkImageView,VkImageLayout)"]=t.ImGui_ImplVulkan_AddTexture[1]
t.ImGui_ImplVulkan_CreateMainPipeline["(const ImGui_ImplVulkan_PipelineInfo*)"]=t.ImGui_ImplVulkan_CreateMainPipeline[1] t.ImGui_ImplVulkan_CreateMainPipeline["(const ImGui_ImplVulkan_PipelineInfo*)"]=t.ImGui_ImplVulkan_CreateMainPipeline[1]
t.ImGui_ImplVulkan_Init["(ImGui_ImplVulkan_InitInfo*)"]=t.ImGui_ImplVulkan_Init[1] t.ImGui_ImplVulkan_Init["(ImGui_ImplVulkan_InitInfo*)"]=t.ImGui_ImplVulkan_Init[1]
t.ImGui_ImplVulkan_LoadFunctions["(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)"]=t.ImGui_ImplVulkan_LoadFunctions[1] t.ImGui_ImplVulkan_LoadFunctions["(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)"]=t.ImGui_ImplVulkan_LoadFunctions[1]

View File

@@ -239,8 +239,8 @@ igSelectable 2
1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2) 1 bool igSelectable_Bool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2) 2 bool igSelectable_BoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igSetItemKeyOwner 2 igSetItemKeyOwner 2
1 void igSetItemKeyOwner_Nil (ImGuiKey) 1 bool igSetItemKeyOwner_Nil (ImGuiKey)
2 void igSetItemKeyOwner_InputFlags (ImGuiKey,ImGuiInputFlags) 2 bool igSetItemKeyOwner_InputFlags (ImGuiKey,ImGuiInputFlags)
igSetScrollFromPosX 2 igSetScrollFromPosX 2
1 void igSetScrollFromPosX_Float (float,float) 1 void igSetScrollFromPosX_Float (float,float)
2 void igSetScrollFromPosX_WindowPtr (ImGuiWindow*,float,float) 2 void igSetScrollFromPosX_WindowPtr (ImGuiWindow*,float,float)

View File

@@ -6,11 +6,6 @@
"name": "ImDrawFlags_None", "name": "ImDrawFlags_None",
"value": "0" "value": "0"
}, },
{
"calc_value": 1,
"name": "ImDrawFlags_Closed",
"value": "1 << 0"
},
{ {
"calc_value": 16, "calc_value": 16,
"name": "ImDrawFlags_RoundCornersTopLeft", "name": "ImDrawFlags_RoundCornersTopLeft",
@@ -36,6 +31,11 @@
"name": "ImDrawFlags_RoundCornersNone", "name": "ImDrawFlags_RoundCornersNone",
"value": "1 << 8" "value": "1 << 8"
}, },
{
"calc_value": 512,
"name": "ImDrawFlags_Closed",
"value": "1 << 9"
},
{ {
"calc_value": 48, "calc_value": 48,
"name": "ImDrawFlags_RoundCornersTop", "name": "ImDrawFlags_RoundCornersTop",
@@ -70,6 +70,11 @@
"calc_value": 496, "calc_value": 496,
"name": "ImDrawFlags_RoundCornersMask_", "name": "ImDrawFlags_RoundCornersMask_",
"value": "ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone" "value": "ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone"
},
{
"calc_value": 2147483663,
"name": "ImDrawFlags_InvalidMask_",
"value": "(ImDrawFlags)0x8000000F"
} }
], ],
"ImDrawListFlags_": [ "ImDrawListFlags_": [
@@ -163,6 +168,11 @@
"calc_value": 8, "calc_value": 8,
"name": "ImFontFlags_LockBakedSizes", "name": "ImFontFlags_LockBakedSizes",
"value": "1 << 3" "value": "1 << 3"
},
{
"calc_value": 16,
"name": "ImFontFlags_ImplicitRefSize",
"value": "1 << 4"
} }
], ],
"ImGuiActivateFlags_": [ "ImGuiActivateFlags_": [
@@ -545,223 +555,228 @@
}, },
{ {
"calc_value": 19, "calc_value": 19,
"name": "ImGuiCol_SliderGrab", "name": "ImGuiCol_CheckboxSelectedBg",
"value": "19" "value": "19"
}, },
{ {
"calc_value": 20, "calc_value": 20,
"name": "ImGuiCol_SliderGrabActive", "name": "ImGuiCol_SliderGrab",
"value": "20" "value": "20"
}, },
{ {
"calc_value": 21, "calc_value": 21,
"name": "ImGuiCol_Button", "name": "ImGuiCol_SliderGrabActive",
"value": "21" "value": "21"
}, },
{ {
"calc_value": 22, "calc_value": 22,
"name": "ImGuiCol_ButtonHovered", "name": "ImGuiCol_Button",
"value": "22" "value": "22"
}, },
{ {
"calc_value": 23, "calc_value": 23,
"name": "ImGuiCol_ButtonActive", "name": "ImGuiCol_ButtonHovered",
"value": "23" "value": "23"
}, },
{ {
"calc_value": 24, "calc_value": 24,
"name": "ImGuiCol_Header", "name": "ImGuiCol_ButtonActive",
"value": "24" "value": "24"
}, },
{ {
"calc_value": 25, "calc_value": 25,
"name": "ImGuiCol_HeaderHovered", "name": "ImGuiCol_Header",
"value": "25" "value": "25"
}, },
{ {
"calc_value": 26, "calc_value": 26,
"name": "ImGuiCol_HeaderActive", "name": "ImGuiCol_HeaderHovered",
"value": "26" "value": "26"
}, },
{ {
"calc_value": 27, "calc_value": 27,
"name": "ImGuiCol_Separator", "name": "ImGuiCol_HeaderActive",
"value": "27" "value": "27"
}, },
{ {
"calc_value": 28, "calc_value": 28,
"name": "ImGuiCol_SeparatorHovered", "name": "ImGuiCol_Separator",
"value": "28" "value": "28"
}, },
{ {
"calc_value": 29, "calc_value": 29,
"name": "ImGuiCol_SeparatorActive", "name": "ImGuiCol_SeparatorHovered",
"value": "29" "value": "29"
}, },
{ {
"calc_value": 30, "calc_value": 30,
"name": "ImGuiCol_ResizeGrip", "name": "ImGuiCol_SeparatorActive",
"value": "30" "value": "30"
}, },
{ {
"calc_value": 31, "calc_value": 31,
"name": "ImGuiCol_ResizeGripHovered", "name": "ImGuiCol_ResizeGrip",
"value": "31" "value": "31"
}, },
{ {
"calc_value": 32, "calc_value": 32,
"name": "ImGuiCol_ResizeGripActive", "name": "ImGuiCol_ResizeGripHovered",
"value": "32" "value": "32"
}, },
{ {
"calc_value": 33, "calc_value": 33,
"name": "ImGuiCol_InputTextCursor", "name": "ImGuiCol_ResizeGripActive",
"value": "33" "value": "33"
}, },
{ {
"calc_value": 34, "calc_value": 34,
"name": "ImGuiCol_TabHovered", "name": "ImGuiCol_InputTextCursor",
"value": "34" "value": "34"
}, },
{ {
"calc_value": 35, "calc_value": 35,
"name": "ImGuiCol_Tab", "name": "ImGuiCol_TabHovered",
"value": "35" "value": "35"
}, },
{ {
"calc_value": 36, "calc_value": 36,
"name": "ImGuiCol_TabSelected", "name": "ImGuiCol_Tab",
"value": "36" "value": "36"
}, },
{ {
"calc_value": 37, "calc_value": 37,
"name": "ImGuiCol_TabSelectedOverline", "name": "ImGuiCol_TabSelected",
"value": "37" "value": "37"
}, },
{ {
"calc_value": 38, "calc_value": 38,
"name": "ImGuiCol_TabDimmed", "name": "ImGuiCol_TabSelectedOverline",
"value": "38" "value": "38"
}, },
{ {
"calc_value": 39, "calc_value": 39,
"name": "ImGuiCol_TabDimmedSelected", "name": "ImGuiCol_TabDimmed",
"value": "39" "value": "39"
}, },
{ {
"calc_value": 40, "calc_value": 40,
"name": "ImGuiCol_TabDimmedSelectedOverline", "name": "ImGuiCol_TabDimmedSelected",
"value": "40" "value": "40"
}, },
{ {
"calc_value": 41, "calc_value": 41,
"name": "ImGuiCol_DockingPreview", "name": "ImGuiCol_TabDimmedSelectedOverline",
"value": "41" "value": "41"
}, },
{ {
"calc_value": 42, "calc_value": 42,
"name": "ImGuiCol_DockingEmptyBg", "name": "ImGuiCol_DockingPreview",
"value": "42" "value": "42"
}, },
{ {
"calc_value": 43, "calc_value": 43,
"name": "ImGuiCol_PlotLines", "name": "ImGuiCol_DockingEmptyBg",
"value": "43" "value": "43"
}, },
{ {
"calc_value": 44, "calc_value": 44,
"name": "ImGuiCol_PlotLinesHovered", "name": "ImGuiCol_PlotLines",
"value": "44" "value": "44"
}, },
{ {
"calc_value": 45, "calc_value": 45,
"name": "ImGuiCol_PlotHistogram", "name": "ImGuiCol_PlotLinesHovered",
"value": "45" "value": "45"
}, },
{ {
"calc_value": 46, "calc_value": 46,
"name": "ImGuiCol_PlotHistogramHovered", "name": "ImGuiCol_PlotHistogram",
"value": "46" "value": "46"
}, },
{ {
"calc_value": 47, "calc_value": 47,
"name": "ImGuiCol_TableHeaderBg", "name": "ImGuiCol_PlotHistogramHovered",
"value": "47" "value": "47"
}, },
{ {
"calc_value": 48, "calc_value": 48,
"name": "ImGuiCol_TableBorderStrong", "name": "ImGuiCol_TableHeaderBg",
"value": "48" "value": "48"
}, },
{ {
"calc_value": 49, "calc_value": 49,
"name": "ImGuiCol_TableBorderLight", "name": "ImGuiCol_TableBorderStrong",
"value": "49" "value": "49"
}, },
{ {
"calc_value": 50, "calc_value": 50,
"name": "ImGuiCol_TableRowBg", "name": "ImGuiCol_TableBorderLight",
"value": "50" "value": "50"
}, },
{ {
"calc_value": 51, "calc_value": 51,
"name": "ImGuiCol_TableRowBgAlt", "name": "ImGuiCol_TableRowBg",
"value": "51" "value": "51"
}, },
{ {
"calc_value": 52, "calc_value": 52,
"name": "ImGuiCol_TextLink", "name": "ImGuiCol_TableRowBgAlt",
"value": "52" "value": "52"
}, },
{ {
"calc_value": 53, "calc_value": 53,
"name": "ImGuiCol_TextSelectedBg", "name": "ImGuiCol_TextLink",
"value": "53" "value": "53"
}, },
{ {
"calc_value": 54, "calc_value": 54,
"name": "ImGuiCol_TreeLines", "name": "ImGuiCol_TextSelectedBg",
"value": "54" "value": "54"
}, },
{ {
"calc_value": 55, "calc_value": 55,
"name": "ImGuiCol_DragDropTarget", "name": "ImGuiCol_TreeLines",
"value": "55" "value": "55"
}, },
{ {
"calc_value": 56, "calc_value": 56,
"name": "ImGuiCol_DragDropTargetBg", "name": "ImGuiCol_DragDropTarget",
"value": "56" "value": "56"
}, },
{ {
"calc_value": 57, "calc_value": 57,
"name": "ImGuiCol_UnsavedMarker", "name": "ImGuiCol_DragDropTargetBg",
"value": "57" "value": "57"
}, },
{ {
"calc_value": 58, "calc_value": 58,
"name": "ImGuiCol_NavCursor", "name": "ImGuiCol_UnsavedMarker",
"value": "58" "value": "58"
}, },
{ {
"calc_value": 59, "calc_value": 59,
"name": "ImGuiCol_NavWindowingHighlight", "name": "ImGuiCol_NavCursor",
"value": "59" "value": "59"
}, },
{ {
"calc_value": 60, "calc_value": 60,
"name": "ImGuiCol_NavWindowingDimBg", "name": "ImGuiCol_NavWindowingHighlight",
"value": "60" "value": "60"
}, },
{ {
"calc_value": 61, "calc_value": 61,
"name": "ImGuiCol_ModalWindowDimBg", "name": "ImGuiCol_NavWindowingDimBg",
"value": "61" "value": "61"
}, },
{ {
"calc_value": 62, "calc_value": 62,
"name": "ImGuiCol_COUNT", "name": "ImGuiCol_ModalWindowDimBg",
"value": "62" "value": "62"
},
{
"calc_value": 63,
"name": "ImGuiCol_COUNT",
"value": "63"
} }
], ],
"ImGuiColorEditFlags_": [ "ImGuiColorEditFlags_": [
@@ -2340,6 +2355,11 @@
"calc_value": 1024, "calc_value": 1024,
"name": "ImGuiItemStatusFlags_HasShortcut", "name": "ImGuiItemStatusFlags_HasShortcut",
"value": "1 << 10" "value": "1 << 10"
},
{
"calc_value": 2048,
"name": "ImGuiItemStatusFlags_EditedInternal",
"value": "1 << 11"
} }
], ],
"ImGuiKey": [ "ImGuiKey": [
@@ -4317,43 +4337,48 @@
}, },
{ {
"calc_value": 35, "calc_value": 35,
"name": "ImGuiStyleVar_ButtonTextAlign", "name": "ImGuiStyleVar_DragDropTargetRounding",
"value": "35" "value": "35"
}, },
{ {
"calc_value": 36, "calc_value": 36,
"name": "ImGuiStyleVar_SelectableTextAlign", "name": "ImGuiStyleVar_ButtonTextAlign",
"value": "36" "value": "36"
}, },
{ {
"calc_value": 37, "calc_value": 37,
"name": "ImGuiStyleVar_SeparatorSize", "name": "ImGuiStyleVar_SelectableTextAlign",
"value": "37" "value": "37"
}, },
{ {
"calc_value": 38, "calc_value": 38,
"name": "ImGuiStyleVar_SeparatorTextBorderSize", "name": "ImGuiStyleVar_SeparatorSize",
"value": "38" "value": "38"
}, },
{ {
"calc_value": 39, "calc_value": 39,
"name": "ImGuiStyleVar_SeparatorTextAlign", "name": "ImGuiStyleVar_SeparatorTextBorderSize",
"value": "39" "value": "39"
}, },
{ {
"calc_value": 40, "calc_value": 40,
"name": "ImGuiStyleVar_SeparatorTextPadding", "name": "ImGuiStyleVar_SeparatorTextAlign",
"value": "40" "value": "40"
}, },
{ {
"calc_value": 41, "calc_value": 41,
"name": "ImGuiStyleVar_DockingSeparatorSize", "name": "ImGuiStyleVar_SeparatorTextPadding",
"value": "41" "value": "41"
}, },
{ {
"calc_value": 42, "calc_value": 42,
"name": "ImGuiStyleVar_COUNT", "name": "ImGuiStyleVar_DockingSeparatorSize",
"value": "42" "value": "42"
},
{
"calc_value": 43,
"name": "ImGuiStyleVar_COUNT",
"value": "43"
} }
], ],
"ImGuiTabBarFlagsPrivate_": [ "ImGuiTabBarFlagsPrivate_": [
@@ -5443,222 +5468,222 @@
"ImGuiSortDirection": "ImU8" "ImGuiSortDirection": "ImU8"
}, },
"locations": { "locations": {
"ImBitVector": "imgui_internal:670", "ImBitVector": "imgui_internal:676",
"ImColor": "imgui:3100", "ImColor": "imgui:3105",
"ImDrawChannel": "imgui:3356", "ImDrawChannel": "imgui:3355",
"ImDrawCmd": "imgui:3312", "ImDrawCmd": "imgui:3311",
"ImDrawCmdHeader": "imgui:3348", "ImDrawCmdHeader": "imgui:3347",
"ImDrawData": "imgui:3577", "ImDrawData": "imgui:3586",
"ImDrawDataBuilder": "imgui_internal:898", "ImDrawDataBuilder": "imgui_internal:904",
"ImDrawFlags_": "imgui:3381", "ImDrawFlags_": "imgui:3379",
"ImDrawList": "imgui:3419", "ImDrawList": "imgui:3418",
"ImDrawListFlags_": "imgui:3401", "ImDrawListFlags_": "imgui:3400",
"ImDrawListSharedData": "imgui_internal:871", "ImDrawListSharedData": "imgui_internal:877",
"ImDrawListSplitter": "imgui:3364", "ImDrawListSplitter": "imgui:3363",
"ImDrawTextFlags_": "imgui_internal:443", "ImDrawTextFlags_": "imgui_internal:446",
"ImDrawVert": "imgui:3333", "ImDrawVert": "imgui:3332",
"ImFont": "imgui:4003", "ImFont": "imgui:4014",
"ImFontAtlas": "imgui:3804", "ImFontAtlas": "imgui:3814",
"ImFontAtlasBuilder": "imgui_internal:4176", "ImFontAtlasBuilder": "imgui_internal:4191",
"ImFontAtlasFlags_": "imgui:3777", "ImFontAtlasFlags_": "imgui:3787",
"ImFontAtlasPostProcessData": "imgui_internal:4149", "ImFontAtlasPostProcessData": "imgui_internal:4164",
"ImFontAtlasRect": "imgui:3767", "ImFontAtlasRect": "imgui:3777",
"ImFontAtlasRectEntry": "imgui_internal:4141", "ImFontAtlasRectEntry": "imgui_internal:4156",
"ImFontBaked": "imgui:3955", "ImFontBaked": "imgui:3965",
"ImFontConfig": "imgui:3686", "ImFontConfig": "imgui:3696",
"ImFontFlags_": "imgui:3990", "ImFontFlags_": "imgui:4000",
"ImFontGlyph": "imgui:3729", "ImFontGlyph": "imgui:3739",
"ImFontGlyphRangesBuilder": "imgui:3745", "ImFontGlyphRangesBuilder": "imgui:3755",
"ImFontLoader": "imgui_internal:4090", "ImFontLoader": "imgui_internal:4105",
"ImFontStackData": "imgui_internal:906", "ImFontStackData": "imgui_internal:912",
"ImGuiActivateFlags_": "imgui_internal:1706", "ImGuiActivateFlags_": "imgui_internal:1715",
"ImGuiAxis": "imgui_internal:1154", "ImGuiAxis": "imgui_internal:1161",
"ImGuiBackendFlags_": "imgui:1803", "ImGuiBackendFlags_": "imgui:1804",
"ImGuiBoxSelectState": "imgui_internal:1897", "ImGuiBoxSelectState": "imgui_internal:1906",
"ImGuiButtonFlagsPrivate_": "imgui_internal:1042", "ImGuiButtonFlagsPrivate_": "imgui_internal:1049",
"ImGuiButtonFlags_": "imgui:1951", "ImGuiButtonFlags_": "imgui:1954",
"ImGuiChildFlags_": "imgui:1262", "ImGuiChildFlags_": "imgui:1263",
"ImGuiCol_": "imgui:1820", "ImGuiCol_": "imgui:1821",
"ImGuiColorEditFlags_": "imgui:1963", "ImGuiColorEditFlags_": "imgui:1966",
"ImGuiColorMod": "imgui_internal:926", "ImGuiColorMod": "imgui_internal:932",
"ImGuiComboFlagsPrivate_": "imgui_internal:1068", "ImGuiComboFlagsPrivate_": "imgui_internal:1075",
"ImGuiComboFlags_": "imgui:1424", "ImGuiComboFlags_": "imgui:1425",
"ImGuiComboPreviewData": "imgui_internal:1168", "ImGuiComboPreviewData": "imgui_internal:1175",
"ImGuiCond_": "imgui:2079", "ImGuiCond_": "imgui:2082",
"ImGuiConfigFlags_": "imgui:1775", "ImGuiConfigFlags_": "imgui:1776",
"ImGuiContext": "imgui_internal:2386", "ImGuiContext": "imgui_internal:2397",
"ImGuiContextHook": "imgui_internal:2369", "ImGuiContextHook": "imgui_internal:2380",
"ImGuiContextHookType": "imgui_internal:2367", "ImGuiContextHookType": "imgui_internal:2378",
"ImGuiDataAuthority_": "imgui_internal:2010", "ImGuiDataAuthority_": "imgui_internal:2021",
"ImGuiDataTypeInfo": "imgui_internal:952", "ImGuiDataTypeInfo": "imgui_internal:958",
"ImGuiDataTypePrivate_": "imgui_internal:961", "ImGuiDataTypePrivate_": "imgui_internal:967",
"ImGuiDataTypeStorage": "imgui_internal:946", "ImGuiDataTypeStorage": "imgui_internal:952",
"ImGuiDataType_": "imgui:1580", "ImGuiDataType_": "imgui:1581",
"ImGuiDeactivatedItemData": "imgui_internal:1471", "ImGuiDeactivatedItemData": "imgui_internal:1480",
"ImGuiDebugAllocEntry": "imgui_internal:2291", "ImGuiDebugAllocEntry": "imgui_internal:2302",
"ImGuiDebugAllocInfo": "imgui_internal:2298", "ImGuiDebugAllocInfo": "imgui_internal:2309",
"ImGuiDebugItemPathQuery": "imgui_internal:2338", "ImGuiDebugItemPathQuery": "imgui_internal:2349",
"ImGuiDebugLogFlags_": "imgui_internal:2268", "ImGuiDebugLogFlags_": "imgui_internal:2279",
"ImGuiDir": "imgui:1598", "ImGuiDir": "imgui:1599",
"ImGuiDockContext": "imgui_internal:2113", "ImGuiDockContext": "imgui_internal:2124",
"ImGuiDockNode": "imgui_internal:2026", "ImGuiDockNode": "imgui_internal:2037",
"ImGuiDockNodeFlagsPrivate_": "imgui_internal:1978", "ImGuiDockNodeFlagsPrivate_": "imgui_internal:1989",
"ImGuiDockNodeFlags_": "imgui:1532", "ImGuiDockNodeFlags_": "imgui:1533",
"ImGuiDockNodeState": "imgui_internal:2017", "ImGuiDockNodeState": "imgui_internal:2028",
"ImGuiDragDropFlags_": "imgui:1551", "ImGuiDragDropFlags_": "imgui:1552",
"ImGuiErrorRecoveryState": "imgui_internal:1427", "ImGuiErrorRecoveryState": "imgui_internal:1435",
"ImGuiFocusRequestFlags_": "imgui_internal:1114", "ImGuiFocusRequestFlags_": "imgui_internal:1121",
"ImGuiFocusScopeData": "imgui_internal:1794", "ImGuiFocusScopeData": "imgui_internal:1803",
"ImGuiFocusedFlags_": "imgui:1478", "ImGuiFocusedFlags_": "imgui:1479",
"ImGuiFreeTypeLoaderFlags_": "imgui_freetype:29", "ImGuiFreeTypeLoaderFlags_": "imgui_freetype:29",
"ImGuiGroupData": "imgui_internal:1181", "ImGuiGroupData": "imgui_internal:1188",
"ImGuiHoveredFlagsPrivate_": "imgui_internal:1025", "ImGuiHoveredFlagsPrivate_": "imgui_internal:1032",
"ImGuiHoveredFlags_": "imgui:1492", "ImGuiHoveredFlags_": "imgui:1493",
"ImGuiIDStackTool": "imgui_internal:2352", "ImGuiIDStackTool": "imgui_internal:2363",
"ImGuiIO": "imgui:2486", "ImGuiIO": "imgui:2489",
"ImGuiInputEvent": "imgui_internal:1566", "ImGuiInputEvent": "imgui_internal:1575",
"ImGuiInputEventAppFocused": "imgui_internal:1564", "ImGuiInputEventAppFocused": "imgui_internal:1573",
"ImGuiInputEventKey": "imgui_internal:1562", "ImGuiInputEventKey": "imgui_internal:1571",
"ImGuiInputEventMouseButton": "imgui_internal:1560", "ImGuiInputEventMouseButton": "imgui_internal:1569",
"ImGuiInputEventMousePos": "imgui_internal:1558", "ImGuiInputEventMousePos": "imgui_internal:1567",
"ImGuiInputEventMouseViewport": "imgui_internal:1561", "ImGuiInputEventMouseViewport": "imgui_internal:1570",
"ImGuiInputEventMouseWheel": "imgui_internal:1559", "ImGuiInputEventMouseWheel": "imgui_internal:1568",
"ImGuiInputEventText": "imgui_internal:1563", "ImGuiInputEventText": "imgui_internal:1572",
"ImGuiInputEventType": "imgui_internal:1534", "ImGuiInputEventType": "imgui_internal:1543",
"ImGuiInputFlagsPrivate_": "imgui_internal:1633", "ImGuiInputFlagsPrivate_": "imgui_internal:1642",
"ImGuiInputFlags_": "imgui:1751", "ImGuiInputFlags_": "imgui:1752",
"ImGuiInputSource": "imgui_internal:1547", "ImGuiInputSource": "imgui_internal:1556",
"ImGuiInputTextCallbackData": "imgui:2749", "ImGuiInputTextCallbackData": "imgui:2753",
"ImGuiInputTextDeactivatedState": "imgui_internal:1218", "ImGuiInputTextDeactivatedState": "imgui_internal:1226",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:1033", "ImGuiInputTextFlagsPrivate_": "imgui_internal:1040",
"ImGuiInputTextFlags_": "imgui:1297", "ImGuiInputTextFlags_": "imgui:1298",
"ImGuiInputTextState": "imgui_internal:1240", "ImGuiInputTextState": "imgui_internal:1248",
"ImGuiItemFlagsPrivate_": "imgui_internal:974", "ImGuiItemFlagsPrivate_": "imgui_internal:980",
"ImGuiItemFlags_": "imgui:1283", "ImGuiItemFlags_": "imgui:1284",
"ImGuiItemStatusFlags_": "imgui_internal:998", "ImGuiItemStatusFlags_": "imgui_internal:1004",
"ImGuiKey": "imgui:1622", "ImGuiKey": "imgui:1623",
"ImGuiKeyData": "imgui:2478", "ImGuiKeyData": "imgui:2481",
"ImGuiKeyOwnerData": "imgui_internal:1620", "ImGuiKeyOwnerData": "imgui_internal:1629",
"ImGuiKeyRoutingData": "imgui_internal:1594", "ImGuiKeyRoutingData": "imgui_internal:1603",
"ImGuiKeyRoutingTable": "imgui_internal:1608", "ImGuiKeyRoutingTable": "imgui_internal:1617",
"ImGuiLastItemData": "imgui_internal:1396", "ImGuiLastItemData": "imgui_internal:1404",
"ImGuiLayoutType_": "imgui_internal:1135", "ImGuiLayoutType_": "imgui_internal:1142",
"ImGuiListClipper": "imgui:2989", "ImGuiListClipper": "imgui:2994",
"ImGuiListClipperData": "imgui_internal:1690", "ImGuiListClipperData": "imgui_internal:1699",
"ImGuiListClipperFlags_": "imgui:2963", "ImGuiListClipperFlags_": "imgui:2968",
"ImGuiListClipperRange": "imgui_internal:1677", "ImGuiListClipperRange": "imgui_internal:1686",
"ImGuiLocEntry": "imgui_internal:2239", "ImGuiLocEntry": "imgui_internal:2250",
"ImGuiLocKey": "imgui_internal:2221", "ImGuiLocKey": "imgui_internal:2232",
"ImGuiLogFlags_": "imgui_internal:1142", "ImGuiLogFlags_": "imgui_internal:1149",
"ImGuiMenuColumns": "imgui_internal:1200", "ImGuiMenuColumns": "imgui_internal:1207",
"ImGuiMetricsConfig": "imgui_internal:2308", "ImGuiMetricsConfig": "imgui_internal:2319",
"ImGuiMouseButton_": "imgui:2037", "ImGuiMouseButton_": "imgui:2040",
"ImGuiMouseCursor_": "imgui:2047", "ImGuiMouseCursor_": "imgui:2050",
"ImGuiMouseSource": "imgui:2068", "ImGuiMouseSource": "imgui:2071",
"ImGuiMultiSelectFlags_": "imgui:3158", "ImGuiMultiSelectFlags_": "imgui:3163",
"ImGuiMultiSelectIO": "imgui:3193", "ImGuiMultiSelectIO": "imgui:3198",
"ImGuiMultiSelectState": "imgui_internal:1954", "ImGuiMultiSelectState": "imgui_internal:1965",
"ImGuiMultiSelectTempData": "imgui_internal:1929", "ImGuiMultiSelectTempData": "imgui_internal:1939",
"ImGuiNavItemData": "imgui_internal:1777", "ImGuiNavItemData": "imgui_internal:1786",
"ImGuiNavLayer": "imgui_internal:1769", "ImGuiNavLayer": "imgui_internal:1778",
"ImGuiNavMoveFlags_": "imgui_internal:1747", "ImGuiNavMoveFlags_": "imgui_internal:1756",
"ImGuiNavRenderCursorFlags_": "imgui_internal:1732", "ImGuiNavRenderCursorFlags_": "imgui_internal:1741",
"ImGuiNextItemData": "imgui_internal:1374", "ImGuiNextItemData": "imgui_internal:1382",
"ImGuiNextItemDataFlags_": "imgui_internal:1363", "ImGuiNextItemDataFlags_": "imgui_internal:1371",
"ImGuiNextWindowData": "imgui_internal:1331", "ImGuiNextWindowData": "imgui_internal:1339",
"ImGuiNextWindowDataFlags_": "imgui_internal:1311", "ImGuiNextWindowDataFlags_": "imgui_internal:1319",
"ImGuiOldColumnData": "imgui_internal:1862", "ImGuiOldColumnData": "imgui_internal:1871",
"ImGuiOldColumnFlags_": "imgui_internal:1842", "ImGuiOldColumnFlags_": "imgui_internal:1851",
"ImGuiOldColumns": "imgui_internal:1872", "ImGuiOldColumns": "imgui_internal:1881",
"ImGuiOnceUponAFrame": "imgui:2852", "ImGuiOnceUponAFrame": "imgui:2857",
"ImGuiPayload": "imgui:2817", "ImGuiPayload": "imgui:2822",
"ImGuiPlatformIO": "imgui:4191", "ImGuiPlatformIO": "imgui:4203",
"ImGuiPlatformImeData": "imgui:4313", "ImGuiPlatformImeData": "imgui:4331",
"ImGuiPlatformMonitor": "imgui:4303", "ImGuiPlatformMonitor": "imgui:4321",
"ImGuiPlotType": "imgui_internal:1161", "ImGuiPlotType": "imgui_internal:1168",
"ImGuiPopupData": "imgui_internal:1491", "ImGuiPopupData": "imgui_internal:1500",
"ImGuiPopupFlags_": "imgui:1387", "ImGuiPopupFlags_": "imgui:1388",
"ImGuiPopupPositionPolicy": "imgui_internal:1483", "ImGuiPopupPositionPolicy": "imgui_internal:1492",
"ImGuiPtrOrIndex": "imgui_internal:1461", "ImGuiPtrOrIndex": "imgui_internal:1469",
"ImGuiScrollFlags_": "imgui_internal:1718", "ImGuiScrollFlags_": "imgui_internal:1727",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:1081", "ImGuiSelectableFlagsPrivate_": "imgui_internal:1088",
"ImGuiSelectableFlags_": "imgui:1406", "ImGuiSelectableFlags_": "imgui:1407",
"ImGuiSelectionBasicStorage": "imgui:3239", "ImGuiSelectionBasicStorage": "imgui:3244",
"ImGuiSelectionExternalStorage": "imgui:3262", "ImGuiSelectionExternalStorage": "imgui:3267",
"ImGuiSelectionRequest": "imgui:3213", "ImGuiSelectionRequest": "imgui:3218",
"ImGuiSelectionRequestType": "imgui:3205", "ImGuiSelectionRequestType": "imgui:3210",
"ImGuiSeparatorFlags_": "imgui_internal:1103", "ImGuiSeparatorFlags_": "imgui_internal:1110",
"ImGuiSettingsHandler": "imgui_internal:2201", "ImGuiSettingsHandler": "imgui_internal:2212",
"ImGuiShrinkWidthItem": "imgui_internal:1454", "ImGuiShrinkWidthItem": "imgui_internal:1462",
"ImGuiSizeCallbackData": "imgui:2786", "ImGuiSizeCallbackData": "imgui:2790",
"ImGuiSliderFlagsPrivate_": "imgui_internal:1074", "ImGuiSliderFlagsPrivate_": "imgui_internal:1081",
"ImGuiSliderFlags_": "imgui:2020", "ImGuiSliderFlags_": "imgui:2023",
"ImGuiSortDirection": "imgui:1609", "ImGuiSortDirection": "imgui:1610",
"ImGuiStackLevelInfo": "imgui_internal:2327", "ImGuiStackLevelInfo": "imgui_internal:2338",
"ImGuiStorage": "imgui:2925", "ImGuiStorage": "imgui:2930",
"ImGuiStoragePair": "imgui:2908", "ImGuiStoragePair": "imgui:2913",
"ImGuiStyle": "imgui:2366", "ImGuiStyle": "imgui:2369",
"ImGuiStyleMod": "imgui_internal:933", "ImGuiStyleMod": "imgui_internal:939",
"ImGuiStyleVarInfo": "imgui_internal:917", "ImGuiStyleVarInfo": "imgui_internal:923",
"ImGuiStyleVar_": "imgui:1902", "ImGuiStyleVar_": "imgui:1904",
"ImGuiTabBar": "imgui_internal:3057", "ImGuiTabBar": "imgui_internal:3069",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:3019", "ImGuiTabBarFlagsPrivate_": "imgui_internal:3031",
"ImGuiTabBarFlags_": "imgui:1439", "ImGuiTabBarFlags_": "imgui:1440",
"ImGuiTabItem": "imgui_internal:3037", "ImGuiTabItem": "imgui_internal:3049",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:3027", "ImGuiTabItemFlagsPrivate_": "imgui_internal:3039",
"ImGuiTabItemFlags_": "imgui:1463", "ImGuiTabItemFlags_": "imgui:1464",
"ImGuiTable": "imgui_internal:3203", "ImGuiTable": "imgui_internal:3215",
"ImGuiTableBgTarget_": "imgui:2220", "ImGuiTableBgTarget_": "imgui:2223",
"ImGuiTableCellData": "imgui_internal:3171", "ImGuiTableCellData": "imgui_internal:3183",
"ImGuiTableColumn": "imgui_internal:3111", "ImGuiTableColumn": "imgui_internal:3123",
"ImGuiTableColumnFlags_": "imgui:2167", "ImGuiTableColumnFlags_": "imgui:2170",
"ImGuiTableColumnSettings": "imgui_internal:3353", "ImGuiTableColumnSettings": "imgui_internal:3365",
"ImGuiTableColumnSortSpecs": "imgui:2242", "ImGuiTableColumnSortSpecs": "imgui:2245",
"ImGuiTableFlags_": "imgui:2114", "ImGuiTableFlags_": "imgui:2117",
"ImGuiTableHeaderData": "imgui_internal:3180", "ImGuiTableHeaderData": "imgui_internal:3192",
"ImGuiTableInstanceData": "imgui_internal:3190", "ImGuiTableInstanceData": "imgui_internal:3202",
"ImGuiTableRowFlags_": "imgui:2205", "ImGuiTableRowFlags_": "imgui:2208",
"ImGuiTableSettings": "imgui_internal:3377", "ImGuiTableSettings": "imgui_internal:3389",
"ImGuiTableSortSpecs": "imgui:2232", "ImGuiTableSortSpecs": "imgui:2235",
"ImGuiTableTempData": "imgui_internal:3329", "ImGuiTableTempData": "imgui_internal:3341",
"ImGuiTextBuffer": "imgui:2887", "ImGuiTextBuffer": "imgui:2892",
"ImGuiTextFilter": "imgui:2860", "ImGuiTextFilter": "imgui:2865",
"ImGuiTextFlags_": "imgui_internal:1121", "ImGuiTextFlags_": "imgui_internal:1128",
"ImGuiTextIndex": "imgui_internal:823", "ImGuiTextIndex": "imgui_internal:829",
"ImGuiTextRange": "imgui:2870", "ImGuiTextRange": "imgui:2875",
"ImGuiTooltipFlags_": "imgui_internal:1127", "ImGuiTooltipFlags_": "imgui_internal:1134",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:1094", "ImGuiTreeNodeFlagsPrivate_": "imgui_internal:1101",
"ImGuiTreeNodeFlags_": "imgui:1348", "ImGuiTreeNodeFlags_": "imgui:1349",
"ImGuiTreeNodeStackData": "imgui_internal:1415", "ImGuiTreeNodeStackData": "imgui_internal:1423",
"ImGuiTypingSelectFlags_": "imgui_internal:1805", "ImGuiTypingSelectFlags_": "imgui_internal:1814",
"ImGuiTypingSelectRequest": "imgui_internal:1813", "ImGuiTypingSelectRequest": "imgui_internal:1822",
"ImGuiTypingSelectState": "imgui_internal:1824", "ImGuiTypingSelectState": "imgui_internal:1833",
"ImGuiViewport": "imgui:4103", "ImGuiViewport": "imgui:4114",
"ImGuiViewportFlags_": "imgui:4075", "ImGuiViewportFlags_": "imgui:4086",
"ImGuiViewportP": "imgui_internal:2130", "ImGuiViewportP": "imgui_internal:2141",
"ImGuiWindow": "imgui_internal:2864", "ImGuiWindow": "imgui_internal:2876",
"ImGuiWindowBgClickFlags_": "imgui_internal:1305", "ImGuiWindowBgClickFlags_": "imgui_internal:1313",
"ImGuiWindowClass": "imgui:2801", "ImGuiWindowClass": "imgui:2805",
"ImGuiWindowDockStyle": "imgui_internal:2108", "ImGuiWindowDockStyle": "imgui_internal:2119",
"ImGuiWindowDockStyleCol": "imgui_internal:2093", "ImGuiWindowDockStyleCol": "imgui_internal:2104",
"ImGuiWindowFlags_": "imgui:1211", "ImGuiWindowFlags_": "imgui:1212",
"ImGuiWindowRefreshFlags_": "imgui_internal:1296", "ImGuiWindowRefreshFlags_": "imgui_internal:1304",
"ImGuiWindowSettings": "imgui_internal:2182", "ImGuiWindowSettings": "imgui_internal:2193",
"ImGuiWindowStackData": "imgui_internal:1445", "ImGuiWindowStackData": "imgui_internal:1453",
"ImGuiWindowTempData": "imgui_internal:2806", "ImGuiWindowTempData": "imgui_internal:2818",
"ImRect": "imgui_internal:592", "ImRect": "imgui_internal:596",
"ImTextureData": "imgui:3642", "ImTextureData": "imgui:3651",
"ImTextureFormat": "imgui:3610", "ImTextureFormat": "imgui:3619",
"ImTextureRect": "imgui:3629", "ImTextureRect": "imgui:3638",
"ImTextureRef": "imgui:372", "ImTextureRef": "imgui:372",
"ImTextureStatus": "imgui:3617", "ImTextureStatus": "imgui:3626",
"ImVec1": "imgui_internal:566", "ImVec1": "imgui_internal:570",
"ImVec2": "imgui:300", "ImVec2": "imgui:300",
"ImVec2i": "imgui_internal:574", "ImVec2i": "imgui_internal:578",
"ImVec2ih": "imgui_internal:582", "ImVec2ih": "imgui_internal:586",
"ImVec4": "imgui:313", "ImVec4": "imgui:313",
"ImWcharClass": "imgui_internal:455", "ImWcharClass": "imgui_internal:458",
"stbrp_context_opaque": "imgui_internal:4173" "stbrp_context_opaque": "imgui_internal:4188"
}, },
"nonPOD": { "nonPOD": {
"ImBitArray": true, "ImBitArray": true,
@@ -6784,6 +6809,11 @@
"name": "UnclipRect", "name": "UnclipRect",
"type": "ImRect" "type": "ImRect"
}, },
{
"name": "UnclipRects[2]",
"size": 2,
"type": "ImRect"
},
{ {
"name": "BoxSelectRectPrev", "name": "BoxSelectRectPrev",
"type": "ImRect" "type": "ImRect"
@@ -6932,6 +6962,10 @@
"name": "WithinEndChildID", "name": "WithinEndChildID",
"type": "ImGuiID" "type": "ImGuiID"
}, },
{
"name": "WithinEndPopupID",
"type": "ImGuiID"
},
{ {
"name": "TestEngine", "name": "TestEngine",
"type": "void*" "type": "void*"
@@ -8398,14 +8432,14 @@
"name": "SplitAxis", "name": "SplitAxis",
"type": "ImGuiAxis" "type": "ImGuiAxis"
}, },
{
"name": "WindowClass",
"type": "ImGuiWindowClass"
},
{ {
"name": "LastBgColor", "name": "LastBgColor",
"type": "ImU32" "type": "ImU32"
}, },
{
"name": "WindowClass",
"type": "ImGuiWindowClass"
},
{ {
"name": "HostWindow", "name": "HostWindow",
"type": "ImGuiWindow*" "type": "ImGuiWindow*"
@@ -9783,10 +9817,6 @@
"name": "BackupCursorMaxPos", "name": "BackupCursorMaxPos",
"type": "ImVec2" "type": "ImVec2"
}, },
{
"name": "LastSubmittedItem",
"type": "ImGuiSelectionUserData"
},
{ {
"name": "BoxSelectId", "name": "BoxSelectId",
"type": "ImGuiID" "type": "ImGuiID"
@@ -10181,6 +10211,18 @@
"name": "Renderer_RenderState", "name": "Renderer_RenderState",
"type": "void*" "type": "void*"
}, },
{
"name": "DrawCallback_ResetRenderState",
"type": "ImDrawCallback"
},
{
"name": "DrawCallback_SetSamplerLinear",
"type": "ImDrawCallback"
},
{
"name": "DrawCallback_SetSamplerNearest",
"type": "ImDrawCallback"
},
{ {
"name": "Platform_CreateWindow", "name": "Platform_CreateWindow",
"type": "void(*)(ImGuiViewport* vp)" "type": "void(*)(ImGuiViewport* vp)"
@@ -10827,7 +10869,7 @@
}, },
{ {
"name": "Colors[ImGuiCol_COUNT]", "name": "Colors[ImGuiCol_COUNT]",
"size": 62, "size": 63,
"type": "ImVec4" "type": "ImVec4"
}, },
{ {
@@ -12122,6 +12164,10 @@
"name": "PlatformUserData", "name": "PlatformUserData",
"type": "void*" "type": "void*"
}, },
{
"name": "PlatformIconData",
"type": "void*"
},
{ {
"name": "PlatformHandle", "name": "PlatformHandle",
"type": "void*" "type": "void*"
@@ -12795,6 +12841,10 @@
{ {
"name": "DockingAllowUnclassed", "name": "DockingAllowUnclassed",
"type": "bool" "type": "bool"
},
{
"name": "PlatformIconData",
"type": "void*"
} }
], ],
"ImGuiWindowDockStyle": [ "ImGuiWindowDockStyle": [

File diff suppressed because it is too large Load Diff

2
imgui

Submodule imgui updated: f5f6ca07be...b61e56346a