Compare commits

..

16 Commits

Author SHA1 Message Date
sonoro1234
c9f0e06eb2 pull imgui 1.92.5wip for issue #9069 2025-11-20 12:09:46 +01:00
sonoro1234
899049782b nonPOD_used 2 2025-11-19 10:28:26 +01:00
sonoro1234
305d1040fb add nonPOD_used to structs_and_enums.json 2025-11-18 17:18:01 +01:00
sonoro1234
363fb5869d cpp2ffi: take care of CIMGUI_VARGS0 2025-11-14 09:42:56 +01:00
sonoro1234
c44d649bf5 generator.lua: ImTextureID_Invalid define for cl compiler 2025-11-13 19:14:43 +01:00
sonoro1234
9e036bb003 cpp2ffi: take care or cimgui_inherited 2025-11-11 11:06:46 +01:00
sonoro1234
22bcd46a7c update README.md 2025-11-10 14:08:08 +01:00
sonoro1234
c4b7680882 cpp2ffi: genConversion take care of ptr to nonPOD fields, avoid infinite recursion on gen_structs_c 2025-11-10 13:53:03 +01:00
sonoro1234
794f63b480 cpp2ffi: gen_structs_c only used C types 2025-11-09 13:37:06 +01:00
sonoro1234
34550586d4 cpp2ffi: hide genConversors and gen_structs_c 2025-11-09 12:15:04 +01:00
sonoro1234
3c9eda8f1f cpp2ffi:keep call_args_old 2025-11-09 11:37:28 +01:00
sonoro1234
26c3254fcb ccc3 2025-11-08 09:53:51 +01:00
sonoro1234
0d6a84344c add define ImTextureID_Invalid 2025-11-06 19:11:44 +01:00
sonoro1234
65f439f8b8 ccc2 2025-11-06 09:43:30 +01:00
sonoro1234
1407cd296d ccc 2025-11-04 11:09:08 +01:00
sonoro1234
393cae9274 example_sdl3_vulkan/main.c correction 2025-10-29 18:42:28 +01:00
20 changed files with 18138 additions and 7417 deletions

View File

@@ -17,6 +17,10 @@ Notes:
* 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.
* Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
# changes
* 10/11/2025: Functions returning and taking as argument no POD structs is now doing a conversion internally to allow ARM64 compilation. In structs_and_enums.json under key nonPOD_used we get a collection where keys are types non usable from C that appear as returns or args to funtions. value can be true or "inherited" when type comes from cimgui and appears in a cimgui extension (cimplot ...). The C names have suffix _c.
# compilation
* clone
@@ -60,7 +64,8 @@ Notes:
* retref : is set if original return type is a reference. (will be a pointer in cimgui)
* argsT : an array of collections (each one with type: argument type and name: the argument name, when the argument is a function pointer also ret: return type and signature: the function signature)
* args : a string of argsT concatenated and separated by commas
* call_args : a string with the argument names separated by commas for calling imgui function
* call_args_old : a string with the argument names separated by commas for calling imgui function
* call_args : call_args_old with conversion added.
* defaults : a collection in which key is argument name and value is the default value.
* manual : will be true if this function is hand-written (not generated)
* skipped : will be true if this function is not generated (and not hand-written)
@@ -70,7 +75,7 @@ Notes:
* realdestructor : is set if the function is a destructor for a class
* templated : is set if the function belongs to a templated class (ImVector)
* templatedgen: is set if the function belongs to a struct generated from template (ImVector_ImWchar)
* nonUDT : if present the original function was returning a user defined type so that signature has been changed to accept a pointer to the UDT as first argument.
* nonUDT : if present the original function was returning a user defined type.
* location : name of the header file and linenumber this function comes from. (imgui:000, internal:123, imgui_impl_xxx:123)
* is_static_function : is setted when it is an struct static function.
### structs_and_enums description
@@ -86,12 +91,12 @@ Notes:
* size : the number of array elements (when it is an array)
* bitfield : the bitfield width (in case it is a bitfield)
* under key locations we get the locations collection in which each key is the enum tagname or the struct name and the value is the name of the header file and line number this comes from.
* under key nonPOD_used we get a collection where keys are types non usable from C that appear as returns or args to funtions. value can be true or "inherited" when type comes from cimgui and appears in a cimgui extension (cimplot ...). The C names have suffix _c.
# usage
* use whatever method is in ImGui c++ namespace in the original [imgui.h](https://github.com/ocornut/imgui/blob/master/imgui.h) by prepending `ig`
* methods have the same parameter list and return values (where possible)
* functions that belong to a struct have an extra first argument with a pointer to the struct.
* where a function returns UDT (user defined type) by value some compilers complain so the function is generated accepting a pointer to the UDT type as the first argument (or second if belongs to a struct).
* constructors return pointer to struct and has been named Struct_name_Struct_name
# usage with backends

View File

@@ -536,7 +536,7 @@ int main(int argc, char* argv[])
if (fb_width > 0 && fb_height > 0 && (g_SwapChainRebuild || g_MainWindowData.Width != fb_width || g_MainWindowData.Height != fb_height))
{
ImGui_ImplVulkan_SetMinImageCount(g_MinImageCount);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, &g_MainWindowData, g_QueueFamily, g_Allocator, fb_height, fb_height, g_MinImageCount, 0);
ImGui_ImplVulkanH_CreateOrResizeWindow(g_Instance, g_PhysicalDevice, g_Device, &g_MainWindowData, g_QueueFamily, g_Allocator, fb_width, fb_height, g_MinImageCount, 0);
g_MainWindowData.FrameIndex = 0;
g_SwapChainRebuild = false;
}

1518
cimgui.cpp

File diff suppressed because it is too large Load Diff

1412
cimgui.h

File diff suppressed because it is too large Load Diff

View File

@@ -8,44 +8,44 @@ typedef struct GLFWmonitor GLFWmonitor;
struct GLFWwindow;
struct GLFWmonitor;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks);
CIMGUI_API void ImGui_ImplGlfw_Shutdown(void);
CIMGUI_API void ImGui_ImplGlfw_NewFrame(void);
CIMGUI_API void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_SetCallbacksChainForAllWindows(bool chain_for_all_windows);
CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused);
CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c);
CIMGUI_API void ImGui_ImplGlfw_CursorEnterCallback(GLFWwindow* window,int entered);
CIMGUI_API void ImGui_ImplGlfw_CursorPosCallback(GLFWwindow* window,double x,double y);
CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset);
CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_CharCallback(GLFWwindow* window,unsigned int c);
CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event);
CIMGUI_API void ImGui_ImplGlfw_Sleep(int milliseconds);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForWindow(GLFWwindow* window);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForMonitor(GLFWmonitor* monitor);
CIMGUI_API float ImGui_ImplGlfw_GetContentScaleForWindow(GLFWwindow* window);
CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForOther(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
CIMGUI_API void ImGui_ImplGlfw_InstallCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window,int key,int scancode,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_MonitorCallback(GLFWmonitor* monitor,int event);
CIMGUI_API void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window,int button,int action,int mods);
CIMGUI_API void ImGui_ImplGlfw_NewFrame(void);
CIMGUI_API void ImGui_ImplGlfw_RestoreCallbacks(GLFWwindow* window);
CIMGUI_API void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window,double xoffset,double yoffset);
CIMGUI_API void ImGui_ImplGlfw_SetCallbacksChainForAllWindows(bool chain_for_all_windows);
CIMGUI_API void ImGui_ImplGlfw_Shutdown(void);
CIMGUI_API void ImGui_ImplGlfw_Sleep(int milliseconds);
CIMGUI_API void ImGui_ImplGlfw_WindowFocusCallback(GLFWwindow* window,int focused);
#endif
#ifdef CIMGUI_USE_OPENGL3
CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(void);
CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void);
CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
CIMGUI_API bool ImGui_ImplOpenGL3_CreateDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL3_DestroyDeviceObjects(void);
CIMGUI_API bool ImGui_ImplOpenGL3_Init(const char* glsl_version);
CIMGUI_API void ImGui_ImplOpenGL3_NewFrame(void);
CIMGUI_API void ImGui_ImplOpenGL3_RenderDrawData(ImDrawData* draw_data);
CIMGUI_API void ImGui_ImplOpenGL3_Shutdown(void);
CIMGUI_API void ImGui_ImplOpenGL3_UpdateTexture(ImTextureData* tex);
#endif
#ifdef CIMGUI_USE_OPENGL2
CIMGUI_API bool ImGui_ImplOpenGL2_Init(void);
CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(void);
CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(void);
CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data);
CIMGUI_API bool ImGui_ImplOpenGL2_CreateDeviceObjects(void);
CIMGUI_API void ImGui_ImplOpenGL2_DestroyDeviceObjects(void);
CIMGUI_API bool ImGui_ImplOpenGL2_Init(void);
CIMGUI_API void ImGui_ImplOpenGL2_NewFrame(void);
CIMGUI_API void ImGui_ImplOpenGL2_RenderDrawData(ImDrawData* draw_data);
CIMGUI_API void ImGui_ImplOpenGL2_Shutdown(void);
CIMGUI_API void ImGui_ImplOpenGL2_UpdateTexture(ImTextureData* tex);
#endif
@@ -61,18 +61,18 @@ struct _SDL_GameController;
typedef union SDL_Event SDL_Event;
typedef enum { ImGui_ImplSDL2_GamepadMode_AutoFirst, ImGui_ImplSDL2_GamepadMode_AutoAll, ImGui_ImplSDL2_GamepadMode_Manual }ImGui_ImplSDL2_GamepadMode;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForD3D(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForMetal(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
CIMGUI_API bool ImGui_ImplSDL2_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL2_InitForOther(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL2_Shutdown(void);
CIMGUI_API bool ImGui_ImplSDL2_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL2_NewFrame(void);
CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index);
CIMGUI_API void ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array,int manual_gamepads_count);
CIMGUI_API void ImGui_ImplSDL2_Shutdown(void);
#endif
#ifdef CIMGUI_USE_SDL3
@@ -87,17 +87,17 @@ struct SDL_Gamepad;
typedef union SDL_Event SDL_Event;
typedef enum { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual }ImGui_ImplSDL3_GamepadMode;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForD3D(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForMetal(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLGPU(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForOpenGL(SDL_Window* window,void* sdl_gl_context);
CIMGUI_API bool ImGui_ImplSDL3_InitForOther(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLGPU(SDL_Window* window);
CIMGUI_API bool ImGui_ImplSDL3_InitForSDLRenderer(SDL_Window* window,SDL_Renderer* renderer);
CIMGUI_API bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL3_NewFrame(void);
CIMGUI_API bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event);
CIMGUI_API void ImGui_ImplSDL3_SetGamepadMode(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count);
CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
#endif
#ifdef CIMGUI_USE_VULKAN
@@ -112,6 +112,7 @@ struct ImGui_ImplVulkan_PipelineInfo
uint32_t Subpass;
VkSampleCountFlagBits MSAASamples;
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
VkImageUsageFlags SwapChainImageUsage;
};
typedef struct ImGui_ImplVulkan_InitInfo ImGui_ImplVulkan_InitInfo;
struct ImGui_ImplVulkan_InitInfo
@@ -128,6 +129,7 @@ struct ImGui_ImplVulkan_InitInfo
uint32_t ImageCount;
VkPipelineCache PipelineCache;
ImGui_ImplVulkan_PipelineInfo PipelineInfoMain;
ImGui_ImplVulkan_PipelineInfo PipelineInfoForViewports;
bool UseDynamicRendering;
const VkAllocationCallbacks* Allocator;
void (*CheckVkResultFn)(VkResult err);
@@ -172,7 +174,6 @@ struct ImGui_ImplVulkanH_Window
VkSurfaceFormatKHR SurfaceFormat;
VkPresentModeKHR PresentMode;
VkRenderPass RenderPass;
VkPipeline Pipeline;
bool UseDynamicRendering;
bool ClearEnable;
VkClearValue ClearValue;
@@ -188,24 +189,25 @@ struct ImGui_ImplVulkanH_Window
typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API bool ImGui_ImplVulkan_Init(ImGui_ImplVulkan_InitInfo* info);
CIMGUI_API void ImGui_ImplVulkan_Shutdown(void);
CIMGUI_API void ImGui_ImplVulkan_NewFrame(void);
CIMGUI_API void ImGui_ImplVulkan_RenderDrawData(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline);
CIMGUI_API void ImGui_ImplVulkan_SetMinImageCount(uint32_t min_image_count);
CIMGUI_API void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* info);
CIMGUI_API void ImGui_ImplVulkan_UpdateTexture(ImTextureData* tex);
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout);
CIMGUI_API void ImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set);
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 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 VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space);
CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count);
CIMGUI_API VkPhysicalDevice ImGui_ImplVulkanH_SelectPhysicalDevice(VkInstance instance);
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_GetWindowDataFromViewport(ImGuiViewport* viewport);
CIMGUI_API VkPhysicalDevice ImGui_ImplVulkanH_SelectPhysicalDevice(VkInstance instance);
CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count);
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 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 void ImGui_ImplVulkan_CreateMainPipeline(const ImGui_ImplVulkan_PipelineInfo* 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 void ImGui_ImplVulkan_NewFrame(void);
CIMGUI_API void ImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set);
CIMGUI_API void ImGui_ImplVulkan_RenderDrawData(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline);
CIMGUI_API void ImGui_ImplVulkan_SetMinImageCount(uint32_t min_image_count);
CIMGUI_API void ImGui_ImplVulkan_Shutdown(void);
CIMGUI_API void ImGui_ImplVulkan_UpdateTexture(ImTextureData* tex);
#endif
#endif //CIMGUI_IMPL_DEFINED

View File

@@ -49,6 +49,8 @@ struct SDL_Window;
typedef union SDL_Event SDL_Event;
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
PLACE_STRUCTS_C
#include "auto_funcs.h"
/////////////////////////hand written functions

View File

@@ -1,5 +1,5 @@
local M = {}
local insert = table.insert
local function ToStr(t,dometatables)
local function basicToStr (o)
if type(o) == "number" or type(o)=="boolean" then
@@ -936,7 +936,7 @@ local function itemsCount(items)
print(v,its and #its or 0)
end
end
--adding self argument for struct functions
local function AdjustArguments(FP)
for fun,defs in pairs(FP.defsT) do
--struct function but no constructors or static functions or manuals
@@ -1083,6 +1083,7 @@ local function DefsByStruct(FP)
end
return structs
end
M.DefsByStruct = DefsByStruct
local function get_nonPOD(FP)
local defbystruct = DefsByStruct(FP)
--M.prtable(defbystruct)
@@ -1102,8 +1103,260 @@ local function get_nonPOD(FP)
FP.structs_and_enums_table.nonPOD = nonPOD
return nonPOD
end
local function recur_calc_depth(FP, structs, k,n)
--print("recur_calc_depth",k,n)
local struct = structs[k] or FP.cimgui_inherited.structs[k]
local n1 = n
for i,field in ipairs(struct) do
local typ = field.type:gsub("const ","")
typ = typ:gsub("*","")
if k~=typ and FP.nP_used[typ] then
n1 = math.max(n1,recur_calc_depth(FP, structs, typ,n+1))
end
end
return n1
end
local function gen_structs_c(FP)
local structs = FP.structs_and_enums_table.structs
local nonPOD = FP.structs_and_enums_table.nonPOD
--sort nP_used by dependencies and name
nP_used_sorted = {}
for k,v in pairs(FP.nP_used) do
nP_used_sorted[k] = recur_calc_depth(FP, structs, k, 1)
end
--M.prtable(nP_used_sorted)
local npsorted ={}
for k,n in pairs(nP_used_sorted) do insert(npsorted,k) end
table.sort(npsorted, function(a,b) return (nP_used_sorted[a] < nP_used_sorted[b]) or ((nP_used_sorted[a] == nP_used_sorted[b]) and (a<b)) end)
--M.prtable(npsorted)
--error"DEUG"
----------
local tabs = {}
local tabs_c = {}
--for k,v in pairs(FP.nP_used) do
--M.table_do_sorted(FP.nP_used, function(k,v)
for _,k in ipairs(npsorted) do
if nonPOD[k]~="inherited" then
insert(tabs,"typedef struct "..k.."_c "..k.."_c;")
insert(tabs_c,"typedef struct "..k.."_c "..k..";")
insert(tabs,"struct "..k.."_c {")
local struct = structs[k] or FP.cimgui_inherited.structs[k]
for i,field in ipairs(struct) do
local typ = field.type:gsub("const ","")
typ = typ:gsub("*","")
if FP.nP_used[typ] then
local ftype = field.type:gsub(typ,typ.."_c")
insert(tabs," "..ftype.." "..field.name..";")
else
insert(tabs," "..field.type.." "..field.name..";")
end
end
insert(tabs,"};")
end
end --)
if #tabs > 0 then
insert(tabs,1,"#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS")
insert(tabs,"#endif")
end
if #tabs_c > 0 then
insert(tabs_c,1,"#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS")
insert(tabs_c,"#endif")
end
--print(table.concat(tabs_c,"\n"))
--print(table.concat(tabs,"\n"))
return table.concat(tabs_c,"\n").."\n"..table.concat(tabs,"\n")
--return table.concat(tabs,"\n")
end
local function gen_field_conversion(tab, struct,structs, FP, to,prefix)
--M.prtable("gen_field_conversion",struct)
prefix = prefix or ""
--local structs = FP.structs_and_enums_table.structs
for i,field in ipairs(struct) do
local ftype = field.type:gsub("*","")
if FP.nP_used[field.type] then
gen_field_conversion(tab, structs[field.type],structs,FP, to,prefix..field.name..".")
elseif FP.nP_used[ftype] then
local ftypec = field.type:gsub(ftype,not to and (ftype.."_c") or ftype)
insert(tab, " dest."..prefix..field.name.." = reinterpret_cast<"..ftypec..">(src."..prefix..field.name..");")
else
insert(tab," dest."..prefix..field.name.." = src."..prefix..field.name..";")
end
end
end
local function genConversions(FP)
local structs = FP.structs_and_enums_table.structs
if FP.cimgui_inherited then
structs = {}
for k,v in pairs(FP.cimgui_inherited.structs) do
assert(not structs[k])
structs[k] = v
end
for k,v in pairs(FP.structs_and_enums_table.structs) do
structs[k] = v
end
end
local convers = {}
--for k,v in pairs(FP.nP_used) do
M.table_do_sorted(FP.nP_used, function(k,v)
--print("genConversions",k)
insert(convers,"static inline "..k.." ConvertToCPP_"..k.."(const "..k.."_c& src)")
insert(convers,"{")
insert(convers," "..k.." dest;")
local struct = structs[k]
gen_field_conversion(convers,struct,structs,FP, true)
insert(convers," return dest;")
insert(convers,"}")
insert(convers,"static inline "..k.."_c ConvertFromCPP_"..k.."(const "..k.."& src)")
insert(convers,"{")
insert(convers," "..k.."_c dest;")
local struct = structs[k]
gen_field_conversion(convers,struct,structs,FP, false)
insert(convers," return dest;")
insert(convers,"}")
end)
--print(table.concat(convers,"\n"))
return table.concat(convers,"\n")
end
local function get_nonPODused(FP)
--print("get_nonPODused-----------------------------")
local nonPOD = FP.structs_and_enums_table.nonPOD
if FP.cimgui_inherited then
for k,v in pairs(FP.cimgui_inherited.nonPOD) do
nonPOD[k] = "inherited"
end
end
--M.prtable(nonPOD)
local typeargs = {}
local typeargs_ret = {}
for k,defs in pairs(FP.defsT) do
--print(k)
for i, w in ipairs(defs) do
if not w.templated then --and not w.location:match"internal" then
for ii,arg in ipairs(w.argsT) do
local typ = (arg.type):gsub("&","")
--typ = (typ):gsub("*","")
typ = (typ):gsub("const ","")
if nonPOD[typ] then
--print(arg.type,w.ov_cimguiname,w.location)
typeargs[arg.type] = (arg.type):gsub(typ,typ.."_c")
end
end
local typret = (w.ret or ""):gsub("&","")
--typret = (typret):gsub("*","")
typret = (typret):gsub("const ","")
--print(typret)
if nonPOD[typret] then
--print(w.ret,w.ov_cimguiname,w.location)
typeargs_ret[w.ret] = (w.ret):gsub(typret,typret.."_c")
end
end
end
end
--M.prtable(nonPOD)
local all_type_nP = {}
for k,v in pairs(typeargs) do
local k2 = k:gsub("const ","")
all_type_nP[k2] = nonPOD[k2]--true
end
for k,v in pairs(typeargs_ret) do
local k2 = k:gsub("const ","")
all_type_nP[k2] = nonPOD[k2]--true
end
FP.nP_used = all_type_nP
--M.prtable("FP.nP_used",FP.nP_used)
FP.structs_and_enums_table.nonPOD_used = FP.nP_used
FP.nP_args = typeargs
FP.nP_ret = typeargs_ret
--genConversions(FP)
--M.prtable(typeargs,typeargs_ret,all_type_nP)
-- local typeargs2 = {}
-- for k,v in pairs(typeargs) do table.insert(typeargs2,k) end
-- table.sort(typeargs2)
-- print"------------typeargs2----------------"
-- M.prtable(typeargs2)
-- local typeargs2_ret = {}
-- for k,v in pairs(typeargs_ret) do table.insert(typeargs2_ret,k) end
-- table.sort(typeargs2_ret)
-- print"------------typeargs2_ret----------------"
-- M.prtable(typeargs2_ret)
end
local function header_subs_nonPOD(FP,txt)
--print("----------header_subs_nonPOD")
--M.prtable(FP.nP_used)
for k,v in pairs(FP.nP_used) do
--txt = txt:gsub("([%s;])"..k,"%1"..k.."_c")
for i=1,2 do
txt = txt:gsub("([%s;])"..k.."([%s;%*])", "%1"..k.."_c%2")
end
--txt = txt:gsub("%s"..k..";", " "..k.."_c;")
--txt = txt:gsub("%s"..k.."%*", " "..k.."_c*")
end
return txt
end
M.header_subs_nonPOD = header_subs_nonPOD
local function ADDnonUDT(FP)
local nonPOD = get_nonPOD(FP)
get_nonPODused(FP)
for k,defs in pairs(FP.defsT) do
for i, def in ipairs(defs) do
--ret
local rets = (def.ret or ""):gsub("const ","")
rets = rets:gsub("*","")
if FP.nP_ret[def.ret] then
def.conv = (def.ret):gsub("const ","")
def.ret = FP.nP_ret[def.ret]
def.nonUDT = 1
elseif FP.nP_ret[rets] then
def.ret = def.ret:gsub(rets, FP.nP_ret[rets])
def.nonUDT = 2
end
--args
local caar,asp
if #def.argsT > 0 then
caar = "("
asp = "("
for i,v in ipairs(def.argsT) do
local name = v.name
if v.ret then --function pointer
local f_ = v.has_cdecl and "(__cdecl*" or "(*"
asp = asp .. v.ret .. f_ .. v.name .. ")" .. v.signature .. ","
caar = caar .. name .. ","
else
local typ = v.type:gsub("const ","")
local typ2 = typ:gsub("*","")
if FP.nP_args[v.type] then
caar = caar .. "ConvertToCPP_"..typ.."("..name.."),"
asp = asp .. v.type:gsub(typ,typ.."_c").." "..v.name..","
elseif FP.nP_args[typ2] then
local typ3 = v.type:gsub(typ2,typ2.."_c")
caar = caar .. "reinterpret_cast<"..v.type..">("..name.."),"
asp = asp .. typ3 .." "..v.name..","
else
local siz = v.type:match("(%[%d*%])") or ""
local typ = v.type:gsub("(%[%d*%])","")
asp = asp .. typ .. (v.name~="..." and " "..v.name or "") .. siz .. ","
local callname = v.reftoptr and "*"..name or name
caar = caar .. callname .. ","
end
end
end
caar = caar:sub(1,-2)..")"
asp = asp:sub(1,-2)..")"
else
caar = "()"
asp = "()"
end
def.call_args_old = def.call_args
def.call_args = caar
def.args = asp
end
end
end
local function ADDnonUDT_OLD(FP)
local nonPOD = get_nonPOD(FP)
get_nonPODused(FP)
--print"nonPOD"
--M.prtable(nonPOD)
local defsT = FP.defsT
@@ -1125,6 +1378,7 @@ local function ADDnonUDT(FP)
if (not isUDT) and FP.cimgui_inherited and FP.cimgui_inherited.nonPOD[defT.ret] then
isUDT = true
end
--given in generator.lua , could be skipped
for _,udt_ret in ipairs(FP.UDTs) do
if udt_ret == defT.ret then isUDT=true; break end
end
@@ -1289,6 +1543,8 @@ function M.Parser()
par.skipped = {}
par.UDTs = {}
par.genConversors = genConversions
par.gen_structs_c = gen_structs_c
function par:insert(line,loca)
--table.insert(cdefs,{line,loca})
--table.insert(cdefs,{line:gsub("^%s*(.-)%s*$", "%1"),loca})
@@ -1343,8 +1599,9 @@ function M.Parser()
function par:do_parse()
self:parseItems()
self:gen_structs_and_enums_table()
self:gen_structs_and_enums()
self:compute_overloads()
self:gen_structs_and_enums()
--self:compute_overloads()
--self:compute_templated()
ADDdestructors(self)
end
@@ -1714,6 +1971,30 @@ function M.Parser()
function par:header_text_insert(tab,txt,it)
table.insert(tab, txt)
end
local function function_parse(self,it)
local stname = ""
local namespace
if it.parent then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
stname = it.parent.name
elseif it.parent.re_name == "namespace_re" then
namespace = get_parents_nameC(it) --it.parent.name
end
end
if it.item:match"^%s*template%s+<" then
local ttype,fun = it.item:match"^%s*template%s+<%s*typename%s+([^>]+)%s*>%s*(.+)$"
if self.ftemplate_list and self.ftemplate_list[ttype] then
for iT,vT in ipairs(self.ftemplate_list[ttype]) do
local funT = fun:gsub("([< %(])"..ttype,"%1"..vT)
--funT = funT:gsub("sizeof%("..ttype.."%)","sizeof("..vT..")")
--local funT = fun:gsub(ttype,vT)
self:parseFunction(stname,{item=funT},namespace,it.locat)
end
end
else
self:parseFunction(stname,it,namespace,it.locat)
end
end
function par:gen_structs_and_enums()
print"--------------gen_structs_and_enums"
--M.prtable(self.typenames)
@@ -1820,13 +2101,15 @@ function M.Parser()
if not structname then print("NO NAME",cleanst,it.item) end
--if not void stname or templated
if structname and not self.typenames[structname] then
--table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n")
local tst = "\ntypedef struct "..structname.." "..structname..";"
if check_unique_typedefs(tst,uniques) then
--table.insert(outtab,tst)
self:header_text_insert(outtab, tst, it)
end
--dont add typedef to non POD
local tst = ""
--if not self.nP_used[structname] then
tst = "\ntypedef struct "..structname.." "..structname..";"
--end
if check_unique_typedefs(tst,uniques) then
--table.insert(outtab,tst)
self:header_text_insert(outtab, tst, it)
end
self.typedefs_dict[structname]="struct "..structname
--dont insert child structs as they are inserted before parent struct
if not (it.parent and it.parent.re_name == "struct_re") then
@@ -1851,28 +2134,7 @@ function M.Parser()
elseif it.re_name == "namespace_re" or it.re_name == "union_re" or it.re_name == "functype_re" then
--nop
elseif it.re_name == "functionD_re" or it.re_name == "function_re" then
local stname = ""
local namespace
if it.parent then
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
stname = it.parent.name
elseif it.parent.re_name == "namespace_re" then
namespace = get_parents_nameC(it) --it.parent.name
end
end
if it.item:match"^%s*template%s+<" then
local ttype,fun = it.item:match"^%s*template%s+<%s*typename%s+([^>]+)%s*>%s*(.+)$"
if self.ftemplate_list and self.ftemplate_list[ttype] then
for iT,vT in ipairs(self.ftemplate_list[ttype]) do
local funT = fun:gsub("([< %(])"..ttype,"%1"..vT)
--funT = funT:gsub("sizeof%("..ttype.."%)","sizeof("..vT..")")
--local funT = fun:gsub(ttype,vT)
self:parseFunction(stname,{item=funT},namespace,it.locat)
end
end
else
self:parseFunction(stname,it,namespace,it.locat)
end
--function_parse(self,it)
else
if it.re_name~="operator_re" then
print("not processed gen",it.re_name,it.item:sub(1,20))
@@ -1892,7 +2154,10 @@ function M.Parser()
--check arg detection failure if no name in function declaration
check_arg_detection(self.defsT,self.typedefs_dict)
local outtabprest, outtabst = table.concat(outtabpre,""),table.concat(outtab,"")
outtabprest = M.header_subs_nonPOD(self,outtabprest)
outtabst = M.header_subs_nonPOD(self,outtabst)
self.structs_and_enums = {outtabprest, outtabst or ""}
return outtabprest, outtabst
end
-----------
@@ -2086,7 +2351,9 @@ function M.Parser()
end
elseif it.re_name == "namespace_re" or it.re_name == "union_re" or it.re_name == "functype_re" then
--nop
elseif it.re_name ~= "functionD_re" and it.re_name ~= "function_re" and it.re_name ~= "operator_re" then
elseif it.re_name ~= "functionD_re" or it.re_name ~= "function_re" then
function_parse(self,it)
elseif it.re_name ~= "operator_re" then
print("not processed gen table",it.re_name)
end
end
@@ -2215,9 +2482,9 @@ function M.Parser()
end)
--print(numoverloaded, "overloaded")
table.insert(strt,string.format("%d overloaded",numoverloaded))
--ADDIMSTR_S(self)
AdjustArguments(self)
ADDnonUDT(self)
AdjustArguments(self)
--ADDnonUDT(self)
--ADDdestructors(self)
self.overloadstxt = table.concat(strt,"\n")
@@ -2678,12 +2945,15 @@ local function ImGui_f_implementation(def)
table.insert(outtab, "#ifdef CIMGUI_VARGS0\n")
table.insert(outtab, "CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args).."\n")
table.insert(outtab, "{\n")
table.insert(outtab, " return "..def.ov_cimguiname..paramListWithoutDots(def.call_args)..";\n")
table.insert(outtab, " return "..def.ov_cimguiname..paramListWithoutDots(def.call_args_old)..";\n")
table.insert(outtab, "}\n")
table.insert(outtab, "#endif\n")
elseif def.nonUDT then
if def.nonUDT == 1 then
table.insert(outtab," *pOut = "..namespace..def.funcname..def.call_args..";\n")
--table.insert(outtab," *pOut = "..namespace..def.funcname..def.call_args..";\n")
insert(outtab," return ConvertFromCPP_"..def.conv.."("..namespace..def.funcname..def.call_args..");\n")
elseif def.nonUDT == 2 then
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret..namespace..def.funcname..def.call_args..");\n")
end
table.insert(outtab,"}\n")
else --standard ImGui
@@ -2717,7 +2987,11 @@ local function struct_f_implementation(def)
end
elseif def.nonUDT then
if def.nonUDT == 1 then
table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n")
--table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n")
--local typret = (def.ret):gsub("const ","")
insert(outtab," return ConvertFromCPP_"..def.conv.."(self->"..def.funcname..def.call_args..");\n")
elseif def.nonUDT == 2 then
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret.."self->"..def.funcname..def.call_args..");\n")
end
else --standard struct
table.insert(outtab," return "..ptret.."self->"..def.funcname..def.call_args..";\n")
@@ -2775,7 +3049,9 @@ local function func_implementation(FP)
end
until true
end
return table.concat(outtab)
local conversors = FP:genConversors()
local cimplem = conversors .. table.concat(outtab)
return cimplem
end
M.func_implementation = func_implementation
@@ -2793,7 +3069,7 @@ M.table_do_sorted = table_do_sorted
local function func_header_generate_structs(FP)
local outtab = {}
local outtab = {}--"\n/////func_header_generate_structs\n"}
table_do_sorted(FP.embeded_structs,function(k,v)
table.insert(outtab,"typedef "..v.." "..k..";\n")
@@ -2811,6 +3087,7 @@ local function func_header_generate_structs(FP)
end
M.func_header_generate_structs = func_header_generate_structs
local function func_header_generate_funcs(FP)
local outtab = {}
@@ -2839,17 +3116,18 @@ local function func_header_generate_funcs(FP)
elseif def.destructor then
table.insert(outtab,"CIMGUI_API void "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
else --not constructor
--local ret = FP.nP_ret[def.ret] or def.ret
local ret = def.ret
if def.stname == "" or def.is_static_function then --ImGui namespace or top level
table.insert(outtab,"CIMGUI_API "..def.ret.." ".. def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
table.insert(outtab,"CIMGUI_API "..ret.." ".. def.ov_cimguiname ..(empty and "(void)" or def.args)..";"..addcoment.."\n")
if def.isvararg then
-- For variadic functions we add a function implementation with zero argumets, for compatibility with languages such as C#.
table.insert(outtab, "#ifdef CIMGUI_VARGS0\n")
table.insert(outtab, "CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args)..";\n")
table.insert(outtab, "CIMGUI_API".." "..ret.." "..def.ov_cimguiname.."0"..paramListWithoutDots(def.args)..";\n")
table.insert(outtab, "#endif\n")
end
else
table.insert(outtab,"CIMGUI_API "..def.ret.." "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
table.insert(outtab,"CIMGUI_API "..ret.." "..def.ov_cimguiname..def.args..";"..addcoment.."\n")
end
end
end
@@ -2869,13 +3147,16 @@ M.func_header_generate_funcs = func_header_generate_funcs
local function func_header_generate(FP)
local outtab = func_header_generate_structs(FP)
table.insert(outtab, 1, "#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
table.insert(outtab, 1, "\n#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
table.insert(outtab,"#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS\n")
local outtabf = func_header_generate_funcs(FP)
local cfuncsstr = table.concat(outtab)..table.concat(outtabf)
outtabf = table.concat(outtabf)
assert(type(outtabf)=="string")
--outtabf = M.header_subs_nonPOD(FP,outtabf)
local cfuncsstr = table.concat(outtab)..outtabf
cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line
return cfuncsstr
end

View File

@@ -124,10 +124,14 @@ local function func_header_impl_generate(FP)
local outtab = {}
for _,t in ipairs(FP.funcdefs) do
if t.cimguiname then
local cimf = FP.defsT[t.cimguiname]
local def = cimf[t.signature]
-- for _,t in ipairs(FP.funcdefs) do
-- if t.cimguiname then
-- local cimf = FP.defsT[t.cimguiname]
-- local def = cimf[t.signature]
--for k,defs in pairs(FP.defsT) do
cpp2ffi.table_do_sorted(FP.defsT, function(i,defs)
if true then
for i, def in ipairs(defs) do
local addcoment = def.comment or ""
local empty = def.args:match("^%(%)") --no args
if def.constructor then
@@ -147,10 +151,11 @@ local function func_header_impl_generate(FP)
error("class function in implementations")
end
end
end
else --not cimguiname
table.insert(outtab,t.comment:gsub("%%","%%%%").."\n")-- %% substitution for gsub
end
end
end)
local cfuncsstr = table.concat(outtab)
cfuncsstr = cfuncsstr:gsub("\n+","\n") --several empty lines to one empty line
return cfuncsstr
@@ -181,7 +186,7 @@ local function get_defines(t)
end
pipe:close()
--require"anima.utils"
--prtable(defines)
--cpp2ffi.prtable(defines)
assert(next(defines), table.concat(compiler_output, "\n"))
local ret = {}
for i,v in ipairs(t) do
@@ -272,6 +277,9 @@ local function cimgui_generation(parser)
--------------------------------------------------
local hstrfile = read_data"./cimgui_template.h"
--hstrfile = hstrfile:gsub([[PLACE_STRUCTS_C]],parser:gen_structs_c())
local outpre,outpost = parser.structs_and_enums[1],parser.structs_and_enums[2]
cpp2ffi.prtable(parser.templates)
cpp2ffi.prtable(parser.typenames)
@@ -286,6 +294,9 @@ local function cimgui_generation(parser)
if gdefines.ImDrawCallback_ResetRenderState then
cstructsstr = cstructsstr.."\n#define ImDrawCallback_ResetRenderState "..gdefines.ImDrawCallback_ResetRenderState.."\n"
end
if gdefines.ImTextureID_Invalid then
cstructsstr = cstructsstr.."\n#define ImTextureID_Invalid "..gdefines.ImTextureID_Invalid.."\n"
end
if gdefines.IMGUI_HAS_IMSTR then
if not (NOCHAR or NOIMSTRV) then
cstructsstr = cstructsstr.."\n#define IMGUI_HAS_IMSTR 1\n"
@@ -295,6 +306,7 @@ local function cimgui_generation(parser)
cstructsstr = colapse_defines(cstructsstr, "IMGUI_ENABLE_FREETYPE")
hstrfile = hstrfile:gsub([[#include "imgui_structs%.h"]],cstructsstr)
hstrfile = hstrfile:gsub([[PLACE_STRUCTS_C]],parser:gen_structs_c())
local cfuncsstr = func_header_generate(parser)
cfuncsstr = colapse_defines(cfuncsstr, "IMGUI_ENABLE_FREETYPE")
hstrfile = hstrfile:gsub([[#include "auto_funcs%.h"]],cfuncsstr)
@@ -321,7 +333,7 @@ end
--------------------------------------------------------
--get imgui.h version and IMGUI_HAS_DOCK--------------------------
--defines for the cl compiler must be present in the print_defines.cpp file
gdefines = get_defines{"IMGUI_VERSION","IMGUI_VERSION_NUM","FLT_MAX","FLT_MIN","IMGUI_HAS_DOCK","IMGUI_HAS_IMSTR","ImDrawCallback_ResetRenderState","IMGUI_HAS_TEXTURES"}
gdefines = get_defines{"IMGUI_VERSION","IMGUI_VERSION_NUM","FLT_MAX","FLT_MIN","IMGUI_HAS_DOCK","IMGUI_HAS_IMSTR","ImDrawCallback_ResetRenderState","IMGUI_HAS_TEXTURES","ImTextureID_Invalid"}
cpp2ffi.prtable(gdefines)
if gdefines.IMGUI_HAS_DOCK then gdefines.IMGUI_HAS_DOCK = true end
if gdefines.IMGUI_HAS_IMSTR then gdefines.IMGUI_HAS_IMSTR = true end
@@ -425,6 +437,7 @@ local structs_and_enums_table = parser1.structs_and_enums_table
structs_and_enums_table.templated_structs = parser1.templated_structs
structs_and_enums_table.typenames = parser1.typenames
structs_and_enums_table.templates_done = parser1.templates_done
--structs_and_enums_table.nonPOD_used = parser1.nP_used
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -14,10 +14,11 @@
],
"argsoriginal": "(GLFWwindow* window,unsigned int c)",
"call_args": "(window,c)",
"call_args_old": "(window,c)",
"cimguiname": "ImGui_ImplGlfw_CharCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CharCallback",
"location": "imgui_impl_glfw:61",
"location": "imgui_impl_glfw:64",
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
"ret": "void",
"signature": "(GLFWwindow*,unsigned int)",
@@ -39,10 +40,11 @@
],
"argsoriginal": "(GLFWwindow* window,int entered)",
"call_args": "(window,entered)",
"call_args_old": "(window,entered)",
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
"location": "imgui_impl_glfw:56",
"location": "imgui_impl_glfw:59",
"ov_cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
"ret": "void",
"signature": "(GLFWwindow*,int)",
@@ -68,10 +70,11 @@
],
"argsoriginal": "(GLFWwindow* window,double x,double y)",
"call_args": "(window,x,y)",
"call_args_old": "(window,x,y)",
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
"location": "imgui_impl_glfw:57",
"location": "imgui_impl_glfw:60",
"ov_cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
"ret": "void",
"signature": "(GLFWwindow*,double,double)",
@@ -89,10 +92,11 @@
],
"argsoriginal": "(GLFWmonitor* monitor)",
"call_args": "(monitor)",
"call_args_old": "(monitor)",
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"defaults": {},
"funcname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"location": "imgui_impl_glfw:67",
"location": "imgui_impl_glfw:70",
"ov_cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
"ret": "float",
"signature": "(GLFWmonitor*)",
@@ -110,10 +114,11 @@
],
"argsoriginal": "(GLFWwindow* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"defaults": {},
"funcname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"location": "imgui_impl_glfw:66",
"location": "imgui_impl_glfw:69",
"ov_cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
"ret": "float",
"signature": "(GLFWwindow*)",
@@ -135,10 +140,11 @@
],
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"call_args_old": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
"location": "imgui_impl_glfw:32",
"location": "imgui_impl_glfw:35",
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -160,10 +166,11 @@
],
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"call_args_old": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForOther",
"location": "imgui_impl_glfw:34",
"location": "imgui_impl_glfw:37",
"ov_cimguiname": "ImGui_ImplGlfw_InitForOther",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -185,10 +192,11 @@
],
"argsoriginal": "(GLFWwindow* window,bool install_callbacks)",
"call_args": "(window,install_callbacks)",
"call_args_old": "(window,install_callbacks)",
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InitForVulkan",
"location": "imgui_impl_glfw:33",
"location": "imgui_impl_glfw:36",
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -206,10 +214,11 @@
],
"argsoriginal": "(GLFWwindow* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
"defaults": {},
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
"location": "imgui_impl_glfw:47",
"location": "imgui_impl_glfw:50",
"ov_cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
"ret": "void",
"signature": "(GLFWwindow*)",
@@ -243,10 +252,11 @@
],
"argsoriginal": "(GLFWwindow* window,int key,int scancode,int action,int mods)",
"call_args": "(window,key,scancode,action,mods)",
"call_args_old": "(window,key,scancode,action,mods)",
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_KeyCallback",
"location": "imgui_impl_glfw:60",
"location": "imgui_impl_glfw:63",
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int,int)",
@@ -268,10 +278,11 @@
],
"argsoriginal": "(GLFWmonitor* monitor,int event)",
"call_args": "(monitor,event)",
"call_args_old": "(monitor,event)",
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_MonitorCallback",
"location": "imgui_impl_glfw:62",
"location": "imgui_impl_glfw:65",
"ov_cimguiname": "ImGui_ImplGlfw_MonitorCallback",
"ret": "void",
"signature": "(GLFWmonitor*,int)",
@@ -301,10 +312,11 @@
],
"argsoriginal": "(GLFWwindow* window,int button,int action,int mods)",
"call_args": "(window,button,action,mods)",
"call_args_old": "(window,button,action,mods)",
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
"location": "imgui_impl_glfw:58",
"location": "imgui_impl_glfw:61",
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int)",
@@ -317,10 +329,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplGlfw_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplGlfw_NewFrame",
"location": "imgui_impl_glfw:36",
"location": "imgui_impl_glfw:39",
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
"ret": "void",
"signature": "()",
@@ -338,10 +351,11 @@
],
"argsoriginal": "(GLFWwindow* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
"defaults": {},
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
"location": "imgui_impl_glfw:48",
"location": "imgui_impl_glfw:51",
"ov_cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
"ret": "void",
"signature": "(GLFWwindow*)",
@@ -367,10 +381,11 @@
],
"argsoriginal": "(GLFWwindow* window,double xoffset,double yoffset)",
"call_args": "(window,xoffset,yoffset)",
"call_args_old": "(window,xoffset,yoffset)",
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_ScrollCallback",
"location": "imgui_impl_glfw:59",
"location": "imgui_impl_glfw:62",
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"ret": "void",
"signature": "(GLFWwindow*,double,double)",
@@ -388,10 +403,11 @@
],
"argsoriginal": "(bool chain_for_all_windows)",
"call_args": "(chain_for_all_windows)",
"call_args_old": "(chain_for_all_windows)",
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"defaults": {},
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"location": "imgui_impl_glfw:52",
"location": "imgui_impl_glfw:55",
"ov_cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
"ret": "void",
"signature": "(bool)",
@@ -404,10 +420,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplGlfw_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Shutdown",
"location": "imgui_impl_glfw:35",
"location": "imgui_impl_glfw:38",
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
"ret": "void",
"signature": "()",
@@ -425,10 +442,11 @@
],
"argsoriginal": "(int milliseconds)",
"call_args": "(milliseconds)",
"call_args_old": "(milliseconds)",
"cimguiname": "ImGui_ImplGlfw_Sleep",
"defaults": {},
"funcname": "ImGui_ImplGlfw_Sleep",
"location": "imgui_impl_glfw:65",
"location": "imgui_impl_glfw:68",
"ov_cimguiname": "ImGui_ImplGlfw_Sleep",
"ret": "void",
"signature": "(int)",
@@ -450,10 +468,11 @@
],
"argsoriginal": "(GLFWwindow* window,int focused)",
"call_args": "(window,focused)",
"call_args_old": "(window,focused)",
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
"defaults": {},
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
"location": "imgui_impl_glfw:55",
"location": "imgui_impl_glfw:58",
"ov_cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
"ret": "void",
"signature": "(GLFWwindow*,int)",
@@ -466,10 +485,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"location": "imgui_impl_opengl2:37",
"location": "imgui_impl_opengl2:38",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
@@ -482,10 +502,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"location": "imgui_impl_opengl2:38",
"location": "imgui_impl_opengl2:39",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
@@ -498,10 +519,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_Init",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_Init",
"location": "imgui_impl_opengl2:31",
"location": "imgui_impl_opengl2:32",
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
"ret": "bool",
"signature": "()",
@@ -514,10 +536,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_NewFrame",
"location": "imgui_impl_opengl2:33",
"location": "imgui_impl_opengl2:34",
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"ret": "void",
"signature": "()",
@@ -535,10 +558,11 @@
],
"argsoriginal": "(ImDrawData* draw_data)",
"call_args": "(draw_data)",
"call_args_old": "(draw_data)",
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
"location": "imgui_impl_opengl2:34",
"location": "imgui_impl_opengl2:35",
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
@@ -551,10 +575,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_Shutdown",
"location": "imgui_impl_opengl2:32",
"location": "imgui_impl_opengl2:33",
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"ret": "void",
"signature": "()",
@@ -572,10 +597,11 @@
],
"argsoriginal": "(ImTextureData* tex)",
"call_args": "(tex)",
"call_args_old": "(tex)",
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
"location": "imgui_impl_opengl2:41",
"location": "imgui_impl_opengl2:42",
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
"ret": "void",
"signature": "(ImTextureData*)",
@@ -588,10 +614,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"location": "imgui_impl_opengl3:40",
"location": "imgui_impl_opengl3:41",
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
@@ -604,10 +631,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"location": "imgui_impl_opengl3:41",
"location": "imgui_impl_opengl3:42",
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
@@ -625,12 +653,13 @@
],
"argsoriginal": "(const char* glsl_version=nullptr)",
"call_args": "(glsl_version)",
"call_args_old": "(glsl_version)",
"cimguiname": "ImGui_ImplOpenGL3_Init",
"defaults": {
"glsl_version": "nullptr"
},
"funcname": "ImGui_ImplOpenGL3_Init",
"location": "imgui_impl_opengl3:34",
"location": "imgui_impl_opengl3:35",
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
"ret": "bool",
"signature": "(const char*)",
@@ -643,10 +672,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_NewFrame",
"location": "imgui_impl_opengl3:36",
"location": "imgui_impl_opengl3:37",
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"ret": "void",
"signature": "()",
@@ -664,10 +694,11 @@
],
"argsoriginal": "(ImDrawData* draw_data)",
"call_args": "(draw_data)",
"call_args_old": "(draw_data)",
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
"location": "imgui_impl_opengl3:37",
"location": "imgui_impl_opengl3:38",
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
@@ -680,10 +711,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_Shutdown",
"location": "imgui_impl_opengl3:35",
"location": "imgui_impl_opengl3:36",
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"ret": "void",
"signature": "()",
@@ -701,10 +733,11 @@
],
"argsoriginal": "(ImTextureData* tex)",
"call_args": "(tex)",
"call_args_old": "(tex)",
"cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplOpenGL3_UpdateTexture",
"location": "imgui_impl_opengl3:44",
"location": "imgui_impl_opengl3:45",
"ov_cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
"ret": "void",
"signature": "(ImTextureData*)",
@@ -722,10 +755,11 @@
],
"argsoriginal": "(int display_index)",
"call_args": "(display_index)",
"call_args_old": "(display_index)",
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"defaults": {},
"funcname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"location": "imgui_impl_sdl2:43",
"location": "imgui_impl_sdl2:47",
"ov_cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
"ret": "float",
"signature": "(int)",
@@ -743,10 +777,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"defaults": {},
"funcname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"location": "imgui_impl_sdl2:42",
"location": "imgui_impl_sdl2:46",
"ov_cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
"ret": "float",
"signature": "(SDL_Window*)",
@@ -764,10 +799,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForD3D",
"location": "imgui_impl_sdl2:33",
"location": "imgui_impl_sdl2:37",
"ov_cimguiname": "ImGui_ImplSDL2_InitForD3D",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -785,10 +821,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForMetal",
"location": "imgui_impl_sdl2:34",
"location": "imgui_impl_sdl2:38",
"ov_cimguiname": "ImGui_ImplSDL2_InitForMetal",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -810,10 +847,11 @@
],
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
"call_args": "(window,sdl_gl_context)",
"call_args_old": "(window,sdl_gl_context)",
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
"location": "imgui_impl_sdl2:31",
"location": "imgui_impl_sdl2:35",
"ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"ret": "bool",
"signature": "(SDL_Window*,void*)",
@@ -831,10 +869,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForOther",
"location": "imgui_impl_sdl2:36",
"location": "imgui_impl_sdl2:40",
"ov_cimguiname": "ImGui_ImplSDL2_InitForOther",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -856,10 +895,11 @@
],
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
"call_args": "(window,renderer)",
"call_args_old": "(window,renderer)",
"cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForSDLRenderer",
"location": "imgui_impl_sdl2:35",
"location": "imgui_impl_sdl2:39",
"ov_cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
"ret": "bool",
"signature": "(SDL_Window*,SDL_Renderer*)",
@@ -877,10 +917,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplSDL2_InitForVulkan",
"location": "imgui_impl_sdl2:32",
"location": "imgui_impl_sdl2:36",
"ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -893,10 +934,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL2_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplSDL2_NewFrame",
"location": "imgui_impl_sdl2:38",
"location": "imgui_impl_sdl2:42",
"ov_cimguiname": "ImGui_ImplSDL2_NewFrame",
"ret": "void",
"signature": "()",
@@ -914,10 +956,11 @@
],
"argsoriginal": "(const SDL_Event* event)",
"call_args": "(event)",
"call_args_old": "(event)",
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"defaults": {},
"funcname": "ImGui_ImplSDL2_ProcessEvent",
"location": "imgui_impl_sdl2:39",
"location": "imgui_impl_sdl2:43",
"ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"ret": "bool",
"signature": "(const SDL_Event*)",
@@ -943,13 +986,14 @@
],
"argsoriginal": "(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
"call_args_old": "(mode,manual_gamepads_array,manual_gamepads_count)",
"cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
"defaults": {
"manual_gamepads_array": "nullptr",
"manual_gamepads_count": "-1"
},
"funcname": "ImGui_ImplSDL2_SetGamepadMode",
"location": "imgui_impl_sdl2:48",
"location": "imgui_impl_sdl2:52",
"ov_cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
"ret": "void",
"signature": "(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
@@ -962,10 +1006,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL2_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplSDL2_Shutdown",
"location": "imgui_impl_sdl2:37",
"location": "imgui_impl_sdl2:41",
"ov_cimguiname": "ImGui_ImplSDL2_Shutdown",
"ret": "void",
"signature": "()",
@@ -983,10 +1028,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForD3D",
"location": "imgui_impl_sdl3:33",
"location": "imgui_impl_sdl3:36",
"ov_cimguiname": "ImGui_ImplSDL3_InitForD3D",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1004,10 +1050,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForMetal",
"location": "imgui_impl_sdl3:34",
"location": "imgui_impl_sdl3:37",
"ov_cimguiname": "ImGui_ImplSDL3_InitForMetal",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1029,10 +1076,11 @@
],
"argsoriginal": "(SDL_Window* window,void* sdl_gl_context)",
"call_args": "(window,sdl_gl_context)",
"call_args_old": "(window,sdl_gl_context)",
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
"location": "imgui_impl_sdl3:31",
"location": "imgui_impl_sdl3:34",
"ov_cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
"ret": "bool",
"signature": "(SDL_Window*,void*)",
@@ -1050,10 +1098,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForOther",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForOther",
"location": "imgui_impl_sdl3:37",
"location": "imgui_impl_sdl3:40",
"ov_cimguiname": "ImGui_ImplSDL3_InitForOther",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1071,10 +1120,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForSDLGPU",
"location": "imgui_impl_sdl3:36",
"location": "imgui_impl_sdl3:39",
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1096,10 +1146,11 @@
],
"argsoriginal": "(SDL_Window* window,SDL_Renderer* renderer)",
"call_args": "(window,renderer)",
"call_args_old": "(window,renderer)",
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
"location": "imgui_impl_sdl3:35",
"location": "imgui_impl_sdl3:38",
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
"ret": "bool",
"signature": "(SDL_Window*,SDL_Renderer*)",
@@ -1117,10 +1168,11 @@
],
"argsoriginal": "(SDL_Window* window)",
"call_args": "(window)",
"call_args_old": "(window)",
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
"defaults": {},
"funcname": "ImGui_ImplSDL3_InitForVulkan",
"location": "imgui_impl_sdl3:32",
"location": "imgui_impl_sdl3:35",
"ov_cimguiname": "ImGui_ImplSDL3_InitForVulkan",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -1133,10 +1185,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL3_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplSDL3_NewFrame",
"location": "imgui_impl_sdl3:39",
"location": "imgui_impl_sdl3:42",
"ov_cimguiname": "ImGui_ImplSDL3_NewFrame",
"ret": "void",
"signature": "()",
@@ -1154,10 +1207,11 @@
],
"argsoriginal": "(const SDL_Event* event)",
"call_args": "(event)",
"call_args_old": "(event)",
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
"defaults": {},
"funcname": "ImGui_ImplSDL3_ProcessEvent",
"location": "imgui_impl_sdl3:40",
"location": "imgui_impl_sdl3:43",
"ov_cimguiname": "ImGui_ImplSDL3_ProcessEvent",
"ret": "bool",
"signature": "(const SDL_Event*)",
@@ -1183,13 +1237,14 @@
],
"argsoriginal": "(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
"call_args": "(mode,manual_gamepads_array,manual_gamepads_count)",
"call_args_old": "(mode,manual_gamepads_array,manual_gamepads_count)",
"cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
"defaults": {
"manual_gamepads_array": "nullptr",
"manual_gamepads_count": "-1"
},
"funcname": "ImGui_ImplSDL3_SetGamepadMode",
"location": "imgui_impl_sdl3:45",
"location": "imgui_impl_sdl3:48",
"ov_cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
"ret": "void",
"signature": "(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
@@ -1202,10 +1257,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplSDL3_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplSDL3_Shutdown",
"location": "imgui_impl_sdl3:38",
"location": "imgui_impl_sdl3:41",
"ov_cimguiname": "ImGui_ImplSDL3_Shutdown",
"ret": "void",
"signature": "()",
@@ -1259,10 +1315,11 @@
],
"argsoriginal": "(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)",
"call_args": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
"call_args_old": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"location": "imgui_impl_vulkan:186",
"location": "imgui_impl_vulkan:202",
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"ret": "void",
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
@@ -1292,10 +1349,11 @@
],
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
"call_args": "(instance,device,wd,allocator)",
"call_args_old": "(instance,device,wd,allocator)",
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
"location": "imgui_impl_vulkan:187",
"location": "imgui_impl_vulkan:203",
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"ret": "void",
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1313,16 +1371,39 @@
],
"argsoriginal": "(VkPresentModeKHR present_mode)",
"call_args": "(present_mode)",
"call_args_old": "(present_mode)",
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"location": "imgui_impl_vulkan:192",
"location": "imgui_impl_vulkan:208",
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"ret": "int",
"signature": "(VkPresentModeKHR)",
"stname": ""
}
],
"ImGui_ImplVulkanH_GetWindowDataFromViewport": [
{
"args": "(ImGuiViewport* viewport)",
"argsT": [
{
"name": "viewport",
"type": "ImGuiViewport*"
}
],
"argsoriginal": "(ImGuiViewport* viewport)",
"call_args": "(viewport)",
"call_args_old": "(viewport)",
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"location": "imgui_impl_vulkan:209",
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"ret": "ImGui_ImplVulkanH_Window*",
"signature": "(ImGuiViewport*)",
"stname": ""
}
],
"ImGui_ImplVulkanH_SelectPhysicalDevice": [
{
"args": "(VkInstance instance)",
@@ -1334,10 +1415,11 @@
],
"argsoriginal": "(VkInstance instance)",
"call_args": "(instance)",
"call_args_old": "(instance)",
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"location": "imgui_impl_vulkan:190",
"location": "imgui_impl_vulkan:206",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"ret": "VkPhysicalDevice",
"signature": "(VkInstance)",
@@ -1367,10 +1449,11 @@
],
"argsoriginal": "(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count)",
"call_args": "(physical_device,surface,request_modes,request_modes_count)",
"call_args_old": "(physical_device,surface,request_modes,request_modes_count)",
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
"location": "imgui_impl_vulkan:189",
"location": "imgui_impl_vulkan:205",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"ret": "VkPresentModeKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1388,10 +1471,11 @@
],
"argsoriginal": "(VkPhysicalDevice physical_device)",
"call_args": "(physical_device)",
"call_args_old": "(physical_device)",
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"location": "imgui_impl_vulkan:191",
"location": "imgui_impl_vulkan:207",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"ret": "uint32_t",
"signature": "(VkPhysicalDevice)",
@@ -1425,10 +1509,11 @@
],
"argsoriginal": "(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space)",
"call_args": "(physical_device,surface,request_formats,request_formats_count,request_color_space)",
"call_args_old": "(physical_device,surface,request_formats,request_formats_count,request_color_space)",
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"location": "imgui_impl_vulkan:188",
"location": "imgui_impl_vulkan:204",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"ret": "VkSurfaceFormatKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1441,11 +1526,12 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
"constructor": true,
"defaults": {},
"funcname": "ImGui_ImplVulkanH_Window",
"location": "imgui_impl_vulkan:235",
"location": "imgui_impl_vulkan:251",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
"signature": "()",
"stname": "ImGui_ImplVulkanH_Window"
@@ -1464,7 +1550,7 @@
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"defaults": {},
"destructor": true,
"location": "imgui_impl_vulkan:235",
"location": "imgui_impl_vulkan:251",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"ret": "void",
"signature": "(ImGui_ImplVulkanH_Window*)",
@@ -1490,10 +1576,11 @@
],
"argsoriginal": "(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
"call_args": "(sampler,image_view,image_layout)",
"call_args_old": "(sampler,image_view,image_layout)",
"cimguiname": "ImGui_ImplVulkan_AddTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_AddTexture",
"location": "imgui_impl_vulkan:143",
"location": "imgui_impl_vulkan:159",
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
"ret": "VkDescriptorSet",
"signature": "(VkSampler,VkImageView,VkImageLayout)",
@@ -1511,10 +1598,11 @@
],
"argsoriginal": "(const ImGui_ImplVulkan_PipelineInfo* info)",
"call_args": "(info)",
"call_args_old": "(info)",
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"defaults": {},
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
"location": "imgui_impl_vulkan:135",
"location": "imgui_impl_vulkan:151",
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"ret": "void",
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
@@ -1532,10 +1620,11 @@
],
"argsoriginal": "(ImGui_ImplVulkan_InitInfo* info)",
"call_args": "(info)",
"call_args_old": "(info)",
"cimguiname": "ImGui_ImplVulkan_Init",
"defaults": {},
"funcname": "ImGui_ImplVulkan_Init",
"location": "imgui_impl_vulkan:126",
"location": "imgui_impl_vulkan:142",
"ov_cimguiname": "ImGui_ImplVulkan_Init",
"ret": "bool",
"signature": "(ImGui_ImplVulkan_InitInfo*)",
@@ -1561,12 +1650,13 @@
],
"argsoriginal": "(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data=nullptr)",
"call_args": "(api_version,user_data),user_data)",
"call_args_old": "(api_version,user_data),user_data)",
"cimguiname": "ImGui_ImplVulkan_LoadFunctions",
"defaults": {
"user_data": "nullptr"
},
"funcname": "ImGui_ImplVulkan_LoadFunctions",
"location": "imgui_impl_vulkan:148",
"location": "imgui_impl_vulkan:164",
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
"ret": "bool",
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1579,10 +1669,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplVulkan_NewFrame",
"defaults": {},
"funcname": "ImGui_ImplVulkan_NewFrame",
"location": "imgui_impl_vulkan:128",
"location": "imgui_impl_vulkan:144",
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
"ret": "void",
"signature": "()",
@@ -1600,10 +1691,11 @@
],
"argsoriginal": "(VkDescriptorSet descriptor_set)",
"call_args": "(descriptor_set)",
"call_args_old": "(descriptor_set)",
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_RemoveTexture",
"location": "imgui_impl_vulkan:144",
"location": "imgui_impl_vulkan:160",
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"ret": "void",
"signature": "(VkDescriptorSet)",
@@ -1629,12 +1721,13 @@
],
"argsoriginal": "(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
"call_args": "(draw_data,command_buffer,pipeline)",
"call_args_old": "(draw_data,command_buffer,pipeline)",
"cimguiname": "ImGui_ImplVulkan_RenderDrawData",
"defaults": {
"pipeline": "0ULL"
},
"funcname": "ImGui_ImplVulkan_RenderDrawData",
"location": "imgui_impl_vulkan:129",
"location": "imgui_impl_vulkan:145",
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1652,10 +1745,11 @@
],
"argsoriginal": "(uint32_t min_image_count)",
"call_args": "(min_image_count)",
"call_args_old": "(min_image_count)",
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"defaults": {},
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
"location": "imgui_impl_vulkan:130",
"location": "imgui_impl_vulkan:146",
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"ret": "void",
"signature": "(uint32_t)",
@@ -1668,10 +1762,11 @@
"argsT": [],
"argsoriginal": "()",
"call_args": "()",
"call_args_old": "()",
"cimguiname": "ImGui_ImplVulkan_Shutdown",
"defaults": {},
"funcname": "ImGui_ImplVulkan_Shutdown",
"location": "imgui_impl_vulkan:127",
"location": "imgui_impl_vulkan:143",
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
"ret": "void",
"signature": "()",
@@ -1689,10 +1784,11 @@
],
"argsoriginal": "(ImTextureData* tex)",
"call_args": "(tex)",
"call_args_old": "(tex)",
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"defaults": {},
"funcname": "ImGui_ImplVulkan_UpdateTexture",
"location": "imgui_impl_vulkan:138",
"location": "imgui_impl_vulkan:154",
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"ret": "void",
"signature": "(ImTextureData*)",

View File

@@ -11,10 +11,11 @@ local t={
type="unsigned int"}},
argsoriginal="(GLFWwindow* window,unsigned int c)",
call_args="(window,c)",
call_args_old="(window,c)",
cimguiname="ImGui_ImplGlfw_CharCallback",
defaults={},
funcname="ImGui_ImplGlfw_CharCallback",
location="imgui_impl_glfw:61",
location="imgui_impl_glfw:64",
ov_cimguiname="ImGui_ImplGlfw_CharCallback",
ret="void",
signature="(GLFWwindow*,unsigned int)",
@@ -32,10 +33,11 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int entered)",
call_args="(window,entered)",
call_args_old="(window,entered)",
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
defaults={},
funcname="ImGui_ImplGlfw_CursorEnterCallback",
location="imgui_impl_glfw:56",
location="imgui_impl_glfw:59",
ov_cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
ret="void",
signature="(GLFWwindow*,int)",
@@ -56,10 +58,11 @@ local t={
type="double"}},
argsoriginal="(GLFWwindow* window,double x,double y)",
call_args="(window,x,y)",
call_args_old="(window,x,y)",
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
defaults={},
funcname="ImGui_ImplGlfw_CursorPosCallback",
location="imgui_impl_glfw:57",
location="imgui_impl_glfw:60",
ov_cimguiname="ImGui_ImplGlfw_CursorPosCallback",
ret="void",
signature="(GLFWwindow*,double,double)",
@@ -74,10 +77,11 @@ local t={
type="GLFWmonitor*"}},
argsoriginal="(GLFWmonitor* monitor)",
call_args="(monitor)",
call_args_old="(monitor)",
cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
defaults={},
funcname="ImGui_ImplGlfw_GetContentScaleForMonitor",
location="imgui_impl_glfw:67",
location="imgui_impl_glfw:70",
ov_cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
ret="float",
signature="(GLFWmonitor*)",
@@ -92,10 +96,11 @@ local t={
type="GLFWwindow*"}},
argsoriginal="(GLFWwindow* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
defaults={},
funcname="ImGui_ImplGlfw_GetContentScaleForWindow",
location="imgui_impl_glfw:66",
location="imgui_impl_glfw:69",
ov_cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
ret="float",
signature="(GLFWwindow*)",
@@ -113,10 +118,11 @@ local t={
type="bool"}},
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
call_args="(window,install_callbacks)",
call_args_old="(window,install_callbacks)",
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
defaults={},
funcname="ImGui_ImplGlfw_InitForOpenGL",
location="imgui_impl_glfw:32",
location="imgui_impl_glfw:35",
ov_cimguiname="ImGui_ImplGlfw_InitForOpenGL",
ret="bool",
signature="(GLFWwindow*,bool)",
@@ -134,10 +140,11 @@ local t={
type="bool"}},
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
call_args="(window,install_callbacks)",
call_args_old="(window,install_callbacks)",
cimguiname="ImGui_ImplGlfw_InitForOther",
defaults={},
funcname="ImGui_ImplGlfw_InitForOther",
location="imgui_impl_glfw:34",
location="imgui_impl_glfw:37",
ov_cimguiname="ImGui_ImplGlfw_InitForOther",
ret="bool",
signature="(GLFWwindow*,bool)",
@@ -155,10 +162,11 @@ local t={
type="bool"}},
argsoriginal="(GLFWwindow* window,bool install_callbacks)",
call_args="(window,install_callbacks)",
call_args_old="(window,install_callbacks)",
cimguiname="ImGui_ImplGlfw_InitForVulkan",
defaults={},
funcname="ImGui_ImplGlfw_InitForVulkan",
location="imgui_impl_glfw:33",
location="imgui_impl_glfw:36",
ov_cimguiname="ImGui_ImplGlfw_InitForVulkan",
ret="bool",
signature="(GLFWwindow*,bool)",
@@ -173,10 +181,11 @@ local t={
type="GLFWwindow*"}},
argsoriginal="(GLFWwindow* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
defaults={},
funcname="ImGui_ImplGlfw_InstallCallbacks",
location="imgui_impl_glfw:47",
location="imgui_impl_glfw:50",
ov_cimguiname="ImGui_ImplGlfw_InstallCallbacks",
ret="void",
signature="(GLFWwindow*)",
@@ -203,10 +212,11 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int key,int scancode,int action,int mods)",
call_args="(window,key,scancode,action,mods)",
call_args_old="(window,key,scancode,action,mods)",
cimguiname="ImGui_ImplGlfw_KeyCallback",
defaults={},
funcname="ImGui_ImplGlfw_KeyCallback",
location="imgui_impl_glfw:60",
location="imgui_impl_glfw:63",
ov_cimguiname="ImGui_ImplGlfw_KeyCallback",
ret="void",
signature="(GLFWwindow*,int,int,int,int)",
@@ -224,10 +234,11 @@ local t={
type="int"}},
argsoriginal="(GLFWmonitor* monitor,int event)",
call_args="(monitor,event)",
call_args_old="(monitor,event)",
cimguiname="ImGui_ImplGlfw_MonitorCallback",
defaults={},
funcname="ImGui_ImplGlfw_MonitorCallback",
location="imgui_impl_glfw:62",
location="imgui_impl_glfw:65",
ov_cimguiname="ImGui_ImplGlfw_MonitorCallback",
ret="void",
signature="(GLFWmonitor*,int)",
@@ -251,10 +262,11 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int button,int action,int mods)",
call_args="(window,button,action,mods)",
call_args_old="(window,button,action,mods)",
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
defaults={},
funcname="ImGui_ImplGlfw_MouseButtonCallback",
location="imgui_impl_glfw:58",
location="imgui_impl_glfw:61",
ov_cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
ret="void",
signature="(GLFWwindow*,int,int,int)",
@@ -266,10 +278,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplGlfw_NewFrame",
defaults={},
funcname="ImGui_ImplGlfw_NewFrame",
location="imgui_impl_glfw:36",
location="imgui_impl_glfw:39",
ov_cimguiname="ImGui_ImplGlfw_NewFrame",
ret="void",
signature="()",
@@ -284,10 +297,11 @@ local t={
type="GLFWwindow*"}},
argsoriginal="(GLFWwindow* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
defaults={},
funcname="ImGui_ImplGlfw_RestoreCallbacks",
location="imgui_impl_glfw:48",
location="imgui_impl_glfw:51",
ov_cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
ret="void",
signature="(GLFWwindow*)",
@@ -308,10 +322,11 @@ local t={
type="double"}},
argsoriginal="(GLFWwindow* window,double xoffset,double yoffset)",
call_args="(window,xoffset,yoffset)",
call_args_old="(window,xoffset,yoffset)",
cimguiname="ImGui_ImplGlfw_ScrollCallback",
defaults={},
funcname="ImGui_ImplGlfw_ScrollCallback",
location="imgui_impl_glfw:59",
location="imgui_impl_glfw:62",
ov_cimguiname="ImGui_ImplGlfw_ScrollCallback",
ret="void",
signature="(GLFWwindow*,double,double)",
@@ -326,10 +341,11 @@ local t={
type="bool"}},
argsoriginal="(bool chain_for_all_windows)",
call_args="(chain_for_all_windows)",
call_args_old="(chain_for_all_windows)",
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
defaults={},
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
location="imgui_impl_glfw:52",
location="imgui_impl_glfw:55",
ov_cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
ret="void",
signature="(bool)",
@@ -341,10 +357,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplGlfw_Shutdown",
defaults={},
funcname="ImGui_ImplGlfw_Shutdown",
location="imgui_impl_glfw:35",
location="imgui_impl_glfw:38",
ov_cimguiname="ImGui_ImplGlfw_Shutdown",
ret="void",
signature="()",
@@ -359,10 +376,11 @@ local t={
type="int"}},
argsoriginal="(int milliseconds)",
call_args="(milliseconds)",
call_args_old="(milliseconds)",
cimguiname="ImGui_ImplGlfw_Sleep",
defaults={},
funcname="ImGui_ImplGlfw_Sleep",
location="imgui_impl_glfw:65",
location="imgui_impl_glfw:68",
ov_cimguiname="ImGui_ImplGlfw_Sleep",
ret="void",
signature="(int)",
@@ -380,10 +398,11 @@ local t={
type="int"}},
argsoriginal="(GLFWwindow* window,int focused)",
call_args="(window,focused)",
call_args_old="(window,focused)",
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
defaults={},
funcname="ImGui_ImplGlfw_WindowFocusCallback",
location="imgui_impl_glfw:55",
location="imgui_impl_glfw:58",
ov_cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
ret="void",
signature="(GLFWwindow*,int)",
@@ -395,10 +414,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
location="imgui_impl_opengl2:37",
location="imgui_impl_opengl2:38",
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
ret="bool",
signature="()",
@@ -410,10 +430,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
location="imgui_impl_opengl2:38",
location="imgui_impl_opengl2:39",
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
ret="void",
signature="()",
@@ -425,10 +446,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_Init",
defaults={},
funcname="ImGui_ImplOpenGL2_Init",
location="imgui_impl_opengl2:31",
location="imgui_impl_opengl2:32",
ov_cimguiname="ImGui_ImplOpenGL2_Init",
ret="bool",
signature="()",
@@ -440,10 +462,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_NewFrame",
defaults={},
funcname="ImGui_ImplOpenGL2_NewFrame",
location="imgui_impl_opengl2:33",
location="imgui_impl_opengl2:34",
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
ret="void",
signature="()",
@@ -458,10 +481,11 @@ local t={
type="ImDrawData*"}},
argsoriginal="(ImDrawData* draw_data)",
call_args="(draw_data)",
call_args_old="(draw_data)",
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
defaults={},
funcname="ImGui_ImplOpenGL2_RenderDrawData",
location="imgui_impl_opengl2:34",
location="imgui_impl_opengl2:35",
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
ret="void",
signature="(ImDrawData*)",
@@ -473,10 +497,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL2_Shutdown",
defaults={},
funcname="ImGui_ImplOpenGL2_Shutdown",
location="imgui_impl_opengl2:32",
location="imgui_impl_opengl2:33",
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
ret="void",
signature="()",
@@ -491,10 +516,11 @@ local t={
type="ImTextureData*"}},
argsoriginal="(ImTextureData* tex)",
call_args="(tex)",
call_args_old="(tex)",
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
defaults={},
funcname="ImGui_ImplOpenGL2_UpdateTexture",
location="imgui_impl_opengl2:41",
location="imgui_impl_opengl2:42",
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
ret="void",
signature="(ImTextureData*)",
@@ -506,10 +532,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
location="imgui_impl_opengl3:40",
location="imgui_impl_opengl3:41",
ov_cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
ret="bool",
signature="()",
@@ -521,10 +548,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
defaults={},
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
location="imgui_impl_opengl3:41",
location="imgui_impl_opengl3:42",
ov_cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
ret="void",
signature="()",
@@ -539,11 +567,12 @@ local t={
type="const char*"}},
argsoriginal="(const char* glsl_version=nullptr)",
call_args="(glsl_version)",
call_args_old="(glsl_version)",
cimguiname="ImGui_ImplOpenGL3_Init",
defaults={
glsl_version="nullptr"},
funcname="ImGui_ImplOpenGL3_Init",
location="imgui_impl_opengl3:34",
location="imgui_impl_opengl3:35",
ov_cimguiname="ImGui_ImplOpenGL3_Init",
ret="bool",
signature="(const char*)",
@@ -555,10 +584,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_NewFrame",
defaults={},
funcname="ImGui_ImplOpenGL3_NewFrame",
location="imgui_impl_opengl3:36",
location="imgui_impl_opengl3:37",
ov_cimguiname="ImGui_ImplOpenGL3_NewFrame",
ret="void",
signature="()",
@@ -573,10 +603,11 @@ local t={
type="ImDrawData*"}},
argsoriginal="(ImDrawData* draw_data)",
call_args="(draw_data)",
call_args_old="(draw_data)",
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
defaults={},
funcname="ImGui_ImplOpenGL3_RenderDrawData",
location="imgui_impl_opengl3:37",
location="imgui_impl_opengl3:38",
ov_cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
ret="void",
signature="(ImDrawData*)",
@@ -588,10 +619,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplOpenGL3_Shutdown",
defaults={},
funcname="ImGui_ImplOpenGL3_Shutdown",
location="imgui_impl_opengl3:35",
location="imgui_impl_opengl3:36",
ov_cimguiname="ImGui_ImplOpenGL3_Shutdown",
ret="void",
signature="()",
@@ -606,10 +638,11 @@ local t={
type="ImTextureData*"}},
argsoriginal="(ImTextureData* tex)",
call_args="(tex)",
call_args_old="(tex)",
cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
defaults={},
funcname="ImGui_ImplOpenGL3_UpdateTexture",
location="imgui_impl_opengl3:44",
location="imgui_impl_opengl3:45",
ov_cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
ret="void",
signature="(ImTextureData*)",
@@ -624,10 +657,11 @@ local t={
type="int"}},
argsoriginal="(int display_index)",
call_args="(display_index)",
call_args_old="(display_index)",
cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
defaults={},
funcname="ImGui_ImplSDL2_GetContentScaleForDisplay",
location="imgui_impl_sdl2:43",
location="imgui_impl_sdl2:47",
ov_cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
ret="float",
signature="(int)",
@@ -642,10 +676,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
defaults={},
funcname="ImGui_ImplSDL2_GetContentScaleForWindow",
location="imgui_impl_sdl2:42",
location="imgui_impl_sdl2:46",
ov_cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
ret="float",
signature="(SDL_Window*)",
@@ -660,10 +695,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForD3D",
defaults={},
funcname="ImGui_ImplSDL2_InitForD3D",
location="imgui_impl_sdl2:33",
location="imgui_impl_sdl2:37",
ov_cimguiname="ImGui_ImplSDL2_InitForD3D",
ret="bool",
signature="(SDL_Window*)",
@@ -678,10 +714,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForMetal",
defaults={},
funcname="ImGui_ImplSDL2_InitForMetal",
location="imgui_impl_sdl2:34",
location="imgui_impl_sdl2:38",
ov_cimguiname="ImGui_ImplSDL2_InitForMetal",
ret="bool",
signature="(SDL_Window*)",
@@ -699,10 +736,11 @@ local t={
type="void*"}},
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
call_args="(window,sdl_gl_context)",
call_args_old="(window,sdl_gl_context)",
cimguiname="ImGui_ImplSDL2_InitForOpenGL",
defaults={},
funcname="ImGui_ImplSDL2_InitForOpenGL",
location="imgui_impl_sdl2:31",
location="imgui_impl_sdl2:35",
ov_cimguiname="ImGui_ImplSDL2_InitForOpenGL",
ret="bool",
signature="(SDL_Window*,void*)",
@@ -717,10 +755,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForOther",
defaults={},
funcname="ImGui_ImplSDL2_InitForOther",
location="imgui_impl_sdl2:36",
location="imgui_impl_sdl2:40",
ov_cimguiname="ImGui_ImplSDL2_InitForOther",
ret="bool",
signature="(SDL_Window*)",
@@ -738,10 +777,11 @@ local t={
type="SDL_Renderer*"}},
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
call_args="(window,renderer)",
call_args_old="(window,renderer)",
cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
defaults={},
funcname="ImGui_ImplSDL2_InitForSDLRenderer",
location="imgui_impl_sdl2:35",
location="imgui_impl_sdl2:39",
ov_cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
ret="bool",
signature="(SDL_Window*,SDL_Renderer*)",
@@ -756,10 +796,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL2_InitForVulkan",
defaults={},
funcname="ImGui_ImplSDL2_InitForVulkan",
location="imgui_impl_sdl2:32",
location="imgui_impl_sdl2:36",
ov_cimguiname="ImGui_ImplSDL2_InitForVulkan",
ret="bool",
signature="(SDL_Window*)",
@@ -771,10 +812,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL2_NewFrame",
defaults={},
funcname="ImGui_ImplSDL2_NewFrame",
location="imgui_impl_sdl2:38",
location="imgui_impl_sdl2:42",
ov_cimguiname="ImGui_ImplSDL2_NewFrame",
ret="void",
signature="()",
@@ -789,10 +831,11 @@ local t={
type="const SDL_Event*"}},
argsoriginal="(const SDL_Event* event)",
call_args="(event)",
call_args_old="(event)",
cimguiname="ImGui_ImplSDL2_ProcessEvent",
defaults={},
funcname="ImGui_ImplSDL2_ProcessEvent",
location="imgui_impl_sdl2:39",
location="imgui_impl_sdl2:43",
ov_cimguiname="ImGui_ImplSDL2_ProcessEvent",
ret="bool",
signature="(const SDL_Event*)",
@@ -813,12 +856,13 @@ local t={
type="int"}},
argsoriginal="(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
call_args="(mode,manual_gamepads_array,manual_gamepads_count)",
call_args_old="(mode,manual_gamepads_array,manual_gamepads_count)",
cimguiname="ImGui_ImplSDL2_SetGamepadMode",
defaults={
manual_gamepads_array="nullptr",
manual_gamepads_count="-1"},
funcname="ImGui_ImplSDL2_SetGamepadMode",
location="imgui_impl_sdl2:48",
location="imgui_impl_sdl2:52",
ov_cimguiname="ImGui_ImplSDL2_SetGamepadMode",
ret="void",
signature="(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
@@ -830,10 +874,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL2_Shutdown",
defaults={},
funcname="ImGui_ImplSDL2_Shutdown",
location="imgui_impl_sdl2:37",
location="imgui_impl_sdl2:41",
ov_cimguiname="ImGui_ImplSDL2_Shutdown",
ret="void",
signature="()",
@@ -848,10 +893,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForD3D",
defaults={},
funcname="ImGui_ImplSDL3_InitForD3D",
location="imgui_impl_sdl3:33",
location="imgui_impl_sdl3:36",
ov_cimguiname="ImGui_ImplSDL3_InitForD3D",
ret="bool",
signature="(SDL_Window*)",
@@ -866,10 +912,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForMetal",
defaults={},
funcname="ImGui_ImplSDL3_InitForMetal",
location="imgui_impl_sdl3:34",
location="imgui_impl_sdl3:37",
ov_cimguiname="ImGui_ImplSDL3_InitForMetal",
ret="bool",
signature="(SDL_Window*)",
@@ -887,10 +934,11 @@ local t={
type="void*"}},
argsoriginal="(SDL_Window* window,void* sdl_gl_context)",
call_args="(window,sdl_gl_context)",
call_args_old="(window,sdl_gl_context)",
cimguiname="ImGui_ImplSDL3_InitForOpenGL",
defaults={},
funcname="ImGui_ImplSDL3_InitForOpenGL",
location="imgui_impl_sdl3:31",
location="imgui_impl_sdl3:34",
ov_cimguiname="ImGui_ImplSDL3_InitForOpenGL",
ret="bool",
signature="(SDL_Window*,void*)",
@@ -905,10 +953,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForOther",
defaults={},
funcname="ImGui_ImplSDL3_InitForOther",
location="imgui_impl_sdl3:37",
location="imgui_impl_sdl3:40",
ov_cimguiname="ImGui_ImplSDL3_InitForOther",
ret="bool",
signature="(SDL_Window*)",
@@ -923,10 +972,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
defaults={},
funcname="ImGui_ImplSDL3_InitForSDLGPU",
location="imgui_impl_sdl3:36",
location="imgui_impl_sdl3:39",
ov_cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
ret="bool",
signature="(SDL_Window*)",
@@ -944,10 +994,11 @@ local t={
type="SDL_Renderer*"}},
argsoriginal="(SDL_Window* window,SDL_Renderer* renderer)",
call_args="(window,renderer)",
call_args_old="(window,renderer)",
cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
defaults={},
funcname="ImGui_ImplSDL3_InitForSDLRenderer",
location="imgui_impl_sdl3:35",
location="imgui_impl_sdl3:38",
ov_cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
ret="bool",
signature="(SDL_Window*,SDL_Renderer*)",
@@ -962,10 +1013,11 @@ local t={
type="SDL_Window*"}},
argsoriginal="(SDL_Window* window)",
call_args="(window)",
call_args_old="(window)",
cimguiname="ImGui_ImplSDL3_InitForVulkan",
defaults={},
funcname="ImGui_ImplSDL3_InitForVulkan",
location="imgui_impl_sdl3:32",
location="imgui_impl_sdl3:35",
ov_cimguiname="ImGui_ImplSDL3_InitForVulkan",
ret="bool",
signature="(SDL_Window*)",
@@ -977,10 +1029,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL3_NewFrame",
defaults={},
funcname="ImGui_ImplSDL3_NewFrame",
location="imgui_impl_sdl3:39",
location="imgui_impl_sdl3:42",
ov_cimguiname="ImGui_ImplSDL3_NewFrame",
ret="void",
signature="()",
@@ -995,10 +1048,11 @@ local t={
type="const SDL_Event*"}},
argsoriginal="(const SDL_Event* event)",
call_args="(event)",
call_args_old="(event)",
cimguiname="ImGui_ImplSDL3_ProcessEvent",
defaults={},
funcname="ImGui_ImplSDL3_ProcessEvent",
location="imgui_impl_sdl3:40",
location="imgui_impl_sdl3:43",
ov_cimguiname="ImGui_ImplSDL3_ProcessEvent",
ret="bool",
signature="(const SDL_Event*)",
@@ -1019,12 +1073,13 @@ local t={
type="int"}},
argsoriginal="(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array=nullptr,int manual_gamepads_count=-1)",
call_args="(mode,manual_gamepads_array,manual_gamepads_count)",
call_args_old="(mode,manual_gamepads_array,manual_gamepads_count)",
cimguiname="ImGui_ImplSDL3_SetGamepadMode",
defaults={
manual_gamepads_array="nullptr",
manual_gamepads_count="-1"},
funcname="ImGui_ImplSDL3_SetGamepadMode",
location="imgui_impl_sdl3:45",
location="imgui_impl_sdl3:48",
ov_cimguiname="ImGui_ImplSDL3_SetGamepadMode",
ret="void",
signature="(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
@@ -1036,10 +1091,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplSDL3_Shutdown",
defaults={},
funcname="ImGui_ImplSDL3_Shutdown",
location="imgui_impl_sdl3:38",
location="imgui_impl_sdl3:41",
ov_cimguiname="ImGui_ImplSDL3_Shutdown",
ret="void",
signature="()",
@@ -1081,10 +1137,11 @@ local t={
type="VkImageUsageFlags"}},
argsoriginal="(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)",
call_args="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
call_args_old="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count,image_usage)",
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
defaults={},
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
location="imgui_impl_vulkan:186",
location="imgui_impl_vulkan:202",
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
ret="void",
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
@@ -1108,10 +1165,11 @@ local t={
type="const VkAllocationCallbacks*"}},
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
call_args="(instance,device,wd,allocator)",
call_args_old="(instance,device,wd,allocator)",
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
defaults={},
funcname="ImGui_ImplVulkanH_DestroyWindow",
location="imgui_impl_vulkan:187",
location="imgui_impl_vulkan:203",
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
ret="void",
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1126,15 +1184,35 @@ local t={
type="VkPresentModeKHR"}},
argsoriginal="(VkPresentModeKHR present_mode)",
call_args="(present_mode)",
call_args_old="(present_mode)",
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
defaults={},
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
location="imgui_impl_vulkan:192",
location="imgui_impl_vulkan:208",
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
ret="int",
signature="(VkPresentModeKHR)",
stname=""},
["(VkPresentModeKHR)"]=nil},
ImGui_ImplVulkanH_GetWindowDataFromViewport={
[1]={
args="(ImGuiViewport* viewport)",
argsT={
[1]={
name="viewport",
type="ImGuiViewport*"}},
argsoriginal="(ImGuiViewport* viewport)",
call_args="(viewport)",
call_args_old="(viewport)",
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
defaults={},
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
location="imgui_impl_vulkan:209",
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
ret="ImGui_ImplVulkanH_Window*",
signature="(ImGuiViewport*)",
stname=""},
["(ImGuiViewport*)"]=nil},
ImGui_ImplVulkanH_SelectPhysicalDevice={
[1]={
args="(VkInstance instance)",
@@ -1144,10 +1222,11 @@ local t={
type="VkInstance"}},
argsoriginal="(VkInstance instance)",
call_args="(instance)",
call_args_old="(instance)",
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
defaults={},
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
location="imgui_impl_vulkan:190",
location="imgui_impl_vulkan:206",
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
ret="VkPhysicalDevice",
signature="(VkInstance)",
@@ -1171,10 +1250,11 @@ local t={
type="int"}},
argsoriginal="(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count)",
call_args="(physical_device,surface,request_modes,request_modes_count)",
call_args_old="(physical_device,surface,request_modes,request_modes_count)",
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
defaults={},
funcname="ImGui_ImplVulkanH_SelectPresentMode",
location="imgui_impl_vulkan:189",
location="imgui_impl_vulkan:205",
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
ret="VkPresentModeKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1189,10 +1269,11 @@ local t={
type="VkPhysicalDevice"}},
argsoriginal="(VkPhysicalDevice physical_device)",
call_args="(physical_device)",
call_args_old="(physical_device)",
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
defaults={},
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
location="imgui_impl_vulkan:191",
location="imgui_impl_vulkan:207",
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
ret="uint32_t",
signature="(VkPhysicalDevice)",
@@ -1219,10 +1300,11 @@ local t={
type="VkColorSpaceKHR"}},
argsoriginal="(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space)",
call_args="(physical_device,surface,request_formats,request_formats_count,request_color_space)",
call_args_old="(physical_device,surface,request_formats,request_formats_count,request_color_space)",
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
defaults={},
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
location="imgui_impl_vulkan:188",
location="imgui_impl_vulkan:204",
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
ret="VkSurfaceFormatKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1234,11 +1316,12 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
constructor=true,
defaults={},
funcname="ImGui_ImplVulkanH_Window",
location="imgui_impl_vulkan:235",
location="imgui_impl_vulkan:251",
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
signature="()",
stname="ImGui_ImplVulkanH_Window"},
@@ -1254,7 +1337,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_Window_destroy",
defaults={},
destructor=true,
location="imgui_impl_vulkan:235",
location="imgui_impl_vulkan:251",
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
ret="void",
signature="(ImGui_ImplVulkanH_Window*)",
@@ -1275,10 +1358,11 @@ local t={
type="VkImageLayout"}},
argsoriginal="(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout)",
call_args="(sampler,image_view,image_layout)",
call_args_old="(sampler,image_view,image_layout)",
cimguiname="ImGui_ImplVulkan_AddTexture",
defaults={},
funcname="ImGui_ImplVulkan_AddTexture",
location="imgui_impl_vulkan:143",
location="imgui_impl_vulkan:159",
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
ret="VkDescriptorSet",
signature="(VkSampler,VkImageView,VkImageLayout)",
@@ -1293,10 +1377,11 @@ local t={
type="const ImGui_ImplVulkan_PipelineInfo*"}},
argsoriginal="(const ImGui_ImplVulkan_PipelineInfo* info)",
call_args="(info)",
call_args_old="(info)",
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
defaults={},
funcname="ImGui_ImplVulkan_CreateMainPipeline",
location="imgui_impl_vulkan:135",
location="imgui_impl_vulkan:151",
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
ret="void",
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
@@ -1311,10 +1396,11 @@ local t={
type="ImGui_ImplVulkan_InitInfo*"}},
argsoriginal="(ImGui_ImplVulkan_InitInfo* info)",
call_args="(info)",
call_args_old="(info)",
cimguiname="ImGui_ImplVulkan_Init",
defaults={},
funcname="ImGui_ImplVulkan_Init",
location="imgui_impl_vulkan:126",
location="imgui_impl_vulkan:142",
ov_cimguiname="ImGui_ImplVulkan_Init",
ret="bool",
signature="(ImGui_ImplVulkan_InitInfo*)",
@@ -1335,11 +1421,12 @@ local t={
type="void*"}},
argsoriginal="(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data=nullptr)",
call_args="(api_version,user_data),user_data)",
call_args_old="(api_version,user_data),user_data)",
cimguiname="ImGui_ImplVulkan_LoadFunctions",
defaults={
user_data="nullptr"},
funcname="ImGui_ImplVulkan_LoadFunctions",
location="imgui_impl_vulkan:148",
location="imgui_impl_vulkan:164",
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
ret="bool",
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1351,10 +1438,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplVulkan_NewFrame",
defaults={},
funcname="ImGui_ImplVulkan_NewFrame",
location="imgui_impl_vulkan:128",
location="imgui_impl_vulkan:144",
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
ret="void",
signature="()",
@@ -1369,10 +1457,11 @@ local t={
type="VkDescriptorSet"}},
argsoriginal="(VkDescriptorSet descriptor_set)",
call_args="(descriptor_set)",
call_args_old="(descriptor_set)",
cimguiname="ImGui_ImplVulkan_RemoveTexture",
defaults={},
funcname="ImGui_ImplVulkan_RemoveTexture",
location="imgui_impl_vulkan:144",
location="imgui_impl_vulkan:160",
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
ret="void",
signature="(VkDescriptorSet)",
@@ -1393,11 +1482,12 @@ local t={
type="VkPipeline"}},
argsoriginal="(ImDrawData* draw_data,VkCommandBuffer command_buffer,VkPipeline pipeline=0ULL)",
call_args="(draw_data,command_buffer,pipeline)",
call_args_old="(draw_data,command_buffer,pipeline)",
cimguiname="ImGui_ImplVulkan_RenderDrawData",
defaults={
pipeline="0ULL"},
funcname="ImGui_ImplVulkan_RenderDrawData",
location="imgui_impl_vulkan:129",
location="imgui_impl_vulkan:145",
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
ret="void",
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1412,10 +1502,11 @@ local t={
type="uint32_t"}},
argsoriginal="(uint32_t min_image_count)",
call_args="(min_image_count)",
call_args_old="(min_image_count)",
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
defaults={},
funcname="ImGui_ImplVulkan_SetMinImageCount",
location="imgui_impl_vulkan:130",
location="imgui_impl_vulkan:146",
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
ret="void",
signature="(uint32_t)",
@@ -1427,10 +1518,11 @@ local t={
argsT={},
argsoriginal="()",
call_args="()",
call_args_old="()",
cimguiname="ImGui_ImplVulkan_Shutdown",
defaults={},
funcname="ImGui_ImplVulkan_Shutdown",
location="imgui_impl_vulkan:127",
location="imgui_impl_vulkan:143",
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
ret="void",
signature="()",
@@ -1445,10 +1537,11 @@ local t={
type="ImTextureData*"}},
argsoriginal="(ImTextureData* tex)",
call_args="(tex)",
call_args_old="(tex)",
cimguiname="ImGui_ImplVulkan_UpdateTexture",
defaults={},
funcname="ImGui_ImplVulkan_UpdateTexture",
location="imgui_impl_vulkan:138",
location="imgui_impl_vulkan:154",
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
ret="void",
signature="(ImTextureData*)",
@@ -1513,6 +1606,7 @@ t.ImGui_ImplSDL3_Shutdown["()"]=t.ImGui_ImplSDL3_Shutdown[1]
t.ImGui_ImplVulkanH_CreateOrResizeWindow["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)"]=t.ImGui_ImplVulkanH_CreateOrResizeWindow[1]
t.ImGui_ImplVulkanH_DestroyWindow["(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)"]=t.ImGui_ImplVulkanH_DestroyWindow[1]
t.ImGui_ImplVulkanH_GetMinImageCountFromPresentMode["(VkPresentModeKHR)"]=t.ImGui_ImplVulkanH_GetMinImageCountFromPresentMode[1]
t.ImGui_ImplVulkanH_GetWindowDataFromViewport["(ImGuiViewport*)"]=t.ImGui_ImplVulkanH_GetWindowDataFromViewport[1]
t.ImGui_ImplVulkanH_SelectPhysicalDevice["(VkInstance)"]=t.ImGui_ImplVulkanH_SelectPhysicalDevice[1]
t.ImGui_ImplVulkanH_SelectPresentMode["(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)"]=t.ImGui_ImplVulkanH_SelectPresentMode[1]
t.ImGui_ImplVulkanH_SelectQueueFamilyIndex["(VkPhysicalDevice)"]=t.ImGui_ImplVulkanH_SelectQueueFamilyIndex[1]

View File

@@ -114,17 +114,13 @@ igCombo 3
1 bool igCombo_Str_arr (const char*,int*,const char* const[],int,int)
2 bool igCombo_Str (const char*,int*,const char*,int)
3 bool igCombo_FnStrPtr (const char*,int*,const char*(*)(void*,int),void*,int,int)
igGetBackgroundDrawList 2
1 ImDrawList* igGetBackgroundDrawList_Nil ()
2 ImDrawList* igGetBackgroundDrawList_ViewportPtr (ImGuiViewport*)
igGetColorU32 3
1 ImU32 igGetColorU32_Col (ImGuiCol,float)
2 ImU32 igGetColorU32_Vec4 (const ImVec4)
3 ImU32 igGetColorU32_U32 (ImU32,float)
igGetForegroundDrawList 3
1 ImDrawList* igGetForegroundDrawList_Nil ()
igGetForegroundDrawList 2
1 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*)
2 ImDrawList* igGetForegroundDrawList_WindowPtr (ImGuiWindow*)
3 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*)
igGetID 4
1 ImGuiID igGetID_Str (const char*)
2 ImGuiID igGetID_StrStr (const char*,const char*)
@@ -309,4 +305,4 @@ igValue 4
2 void igValue_Int (const char*,int)
3 void igValue_Uint (const char*,unsigned int)
4 void igValue_Float (const char*,float,const char*)
216 overloaded
213 overloaded

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -48,13 +48,20 @@
"ImGuiContext": "struct ImGuiContext",
"ImGuiContextHook": "struct ImGuiContextHook",
"ImGuiContextHookCallback": "void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
"ImGuiDataAuthority": "int",
"ImGuiDataType": "int",
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
"ImGuiDeactivatedItemData": "struct ImGuiDeactivatedItemData",
"ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry",
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
"ImGuiDebugItemPathQuery": "struct ImGuiDebugItemPathQuery",
"ImGuiDebugLogFlags": "int",
"ImGuiDockContext": "struct ImGuiDockContext",
"ImGuiDockNode": "struct ImGuiDockNode",
"ImGuiDockNodeFlags": "int",
"ImGuiDockNodeSettings": "struct ImGuiDockNodeSettings",
"ImGuiDockRequest": "struct ImGuiDockRequest",
"ImGuiDragDropFlags": "int",
"ImGuiErrorCallback": "void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
"ImGuiErrorRecoveryState": "struct ImGuiErrorRecoveryState",
@@ -72,6 +79,7 @@
"ImGuiInputEventKey": "struct ImGuiInputEventKey",
"ImGuiInputEventMouseButton": "struct ImGuiInputEventMouseButton",
"ImGuiInputEventMousePos": "struct ImGuiInputEventMousePos",
"ImGuiInputEventMouseViewport": "struct ImGuiInputEventMouseViewport",
"ImGuiInputEventMouseWheel": "struct ImGuiInputEventMouseWheel",
"ImGuiInputEventText": "struct ImGuiInputEventText",
"ImGuiInputFlags": "int",
@@ -121,6 +129,7 @@
"ImGuiPayload": "struct ImGuiPayload",
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
"ImGuiPlatformMonitor": "struct ImGuiPlatformMonitor",
"ImGuiPopupData": "struct ImGuiPopupData",
"ImGuiPopupFlags": "int",
"ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex",
@@ -179,6 +188,9 @@
"ImGuiViewportFlags": "int",
"ImGuiViewportP": "struct ImGuiViewportP",
"ImGuiWindow": "struct ImGuiWindow",
"ImGuiWindowBgClickFlags": "int",
"ImGuiWindowClass": "struct ImGuiWindowClass",
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
"ImGuiWindowFlags": "int",
"ImGuiWindowRefreshFlags": "int",
"ImGuiWindowSettings": "struct ImGuiWindowSettings",

View File

@@ -48,13 +48,20 @@ local t={
ImGuiContext="struct ImGuiContext",
ImGuiContextHook="struct ImGuiContextHook",
ImGuiContextHookCallback="void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
ImGuiDataAuthority="int",
ImGuiDataType="int",
ImGuiDataTypeInfo="struct ImGuiDataTypeInfo",
ImGuiDataTypeStorage="struct ImGuiDataTypeStorage",
ImGuiDeactivatedItemData="struct ImGuiDeactivatedItemData",
ImGuiDebugAllocEntry="struct ImGuiDebugAllocEntry",
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
ImGuiDebugItemPathQuery="struct ImGuiDebugItemPathQuery",
ImGuiDebugLogFlags="int",
ImGuiDockContext="struct ImGuiDockContext",
ImGuiDockNode="struct ImGuiDockNode",
ImGuiDockNodeFlags="int",
ImGuiDockNodeSettings="struct ImGuiDockNodeSettings",
ImGuiDockRequest="struct ImGuiDockRequest",
ImGuiDragDropFlags="int",
ImGuiErrorCallback="void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
ImGuiErrorRecoveryState="struct ImGuiErrorRecoveryState",
@@ -72,6 +79,7 @@ local t={
ImGuiInputEventKey="struct ImGuiInputEventKey",
ImGuiInputEventMouseButton="struct ImGuiInputEventMouseButton",
ImGuiInputEventMousePos="struct ImGuiInputEventMousePos",
ImGuiInputEventMouseViewport="struct ImGuiInputEventMouseViewport",
ImGuiInputEventMouseWheel="struct ImGuiInputEventMouseWheel",
ImGuiInputEventText="struct ImGuiInputEventText",
ImGuiInputFlags="int",
@@ -121,6 +129,7 @@ local t={
ImGuiPayload="struct ImGuiPayload",
ImGuiPlatformIO="struct ImGuiPlatformIO",
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
ImGuiPlatformMonitor="struct ImGuiPlatformMonitor",
ImGuiPopupData="struct ImGuiPopupData",
ImGuiPopupFlags="int",
ImGuiPtrOrIndex="struct ImGuiPtrOrIndex",
@@ -179,6 +188,9 @@ local t={
ImGuiViewportFlags="int",
ImGuiViewportP="struct ImGuiViewportP",
ImGuiWindow="struct ImGuiWindow",
ImGuiWindowBgClickFlags="int",
ImGuiWindowClass="struct ImGuiWindowClass",
ImGuiWindowDockStyle="struct ImGuiWindowDockStyle",
ImGuiWindowFlags="int",
ImGuiWindowRefreshFlags="int",
ImGuiWindowSettings="struct ImGuiWindowSettings",

View File

@@ -35,3 +35,7 @@
#ifdef IMGUI_HAS_TEXTURES
#pragma message(CIMGUI_DEFSTRING(IMGUI_HAS_TEXTURES))
#endif
#ifdef ImTextureID_Invalid
#pragma message(CIMGUI_DEFSTRING(ImTextureID_Invalid))
#endif

2
imgui

Submodule imgui updated: 9a5d5c45f5...eae6e96287

View File

@@ -34,6 +34,7 @@ int main(void)
display_size.x = 1920;
display_size.y = 1080;
io->DisplaySize = display_size;
printf("DisplaySice %f, %f\n", io->DisplaySize.x, io->DisplaySize.y);
io->DeltaTime = 1.0f / 60.0f;
igNewFrame();