Compare commits

..

18 Commits

Author SHA1 Message Date
sonoro1234
8de229087f constants work 2 2026-02-24 11:03:42 +01:00
sonoro1234
e41d6fb1e8 constants work 1 2026-02-24 10:23:36 +01:00
Victor Bombi
c0c044e22f Merge pull request #312 from jammy3855/jammy3855
SDL3 Renderer Example
2026-02-20 11:14:34 +01:00
jammy3855
2cb5b7d19b Minor adjustments 2026-02-19 23:32:33 -06:00
jammy3855
335ef09f52 Merge branch 'cimgui:docking_inter' into jammy3855 2026-02-19 21:45:18 -06:00
jammy3855
ee8fbaaff4 SDLRenderer3 example working 2026-02-19 21:44:03 -06:00
sonoro1234
1a15dc7bcd drop extern vardef declaration (implot3d) 2026-02-18 15:18:38 +01:00
sonoro1234
2a8012424d pull 1.92.6 docking and generate 2026-02-18 11:01:07 +01:00
jammy3855
77f726c6ca Started SDL3 Renderer example 2026-02-17 22:13:46 -06:00
sonoro1234
99f8065703 avoid static const vardef assign not number (implot) 2026-02-17 11:31:11 +01:00
sonoro1234
b801b08eee cpp2ffi: add deepcopy 2026-02-17 10:44:49 +01:00
sonoro1234
a890b9f594 avoid vardef = ImVec(...) happens in implot 2026-02-11 17:48:06 +01:00
sonoro1234
c56d1668b1 README.md: constructors more explained 2026-02-09 11:02:51 +01:00
sonoro1234
9dd992c22b cpp2ffi: change name_overloadsAlgo to capitalize only first character or type 2026-01-05 13:24:43 +01:00
sonoro1234
d94ad1b162 pull imgui 1.92.5 dock and generate 2025-11-20 18:30:46 +01:00
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
20 changed files with 6872 additions and 4768 deletions

View File

@@ -17,9 +17,9 @@ 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. * 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) * Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
#changes # changes
* 10/11/2025: Functions returning and taking as argument no POD structs is now doing a conversion internally to allow ARM64 compilation. * 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 # compilation
@@ -41,7 +41,7 @@ Notes:
* you will need LuaJIT (https://github.com/LuaJIT/LuaJIT.git better 2.1 branch) or precompiled for linux/macOS/windows in https://luapower.com/luajit/download * you will need LuaJIT (https://github.com/LuaJIT/LuaJIT.git better 2.1 branch) or precompiled for linux/macOS/windows in https://luapower.com/luajit/download
* you need to use also a C++ compiler for doing preprocessing: gcc (In windows MinGW-W64-builds for example), clang or cl (MSVC). (this repo was done with gcc) * you need to use also a C++ compiler for doing preprocessing: gcc (In windows MinGW-W64-builds for example), clang or cl (MSVC). (this repo was done with gcc)
* update `imgui` folder to the version you desire. * update `imgui` folder to the version you desire.
* edit `generator/generator.bat` on windows, or `generator/generator.sh` on linux, to choose between gcc, clang, or cl and to choose desired backends and whether imgui_internal is generated or not, comments are generated or not and if constructors are generated also with versions performing just initialization of structs provided by yourself (_Construct is added to the constructor names) * edit `generator/generator.bat` on windows, or `generator/generator.sh` on linux, to choose between gcc, clang, or cl and to choose desired backends and whether imgui_internal is generated or not, comments are generated or not and if constructors are generated also with versions performing just initialization of structs provided by yourself (uses IM_PLACEMENT_NEW and _Construct is added to the constructor names)
* the defaults of generator are gcc as compiler, imgui_internal included and sdl, glfw, vulkan, opengl2 and opengl3 as backends. * the defaults of generator are gcc as compiler, imgui_internal included and sdl, glfw, vulkan, opengl2 and opengl3 as backends.
* edit config_generator.lua for adding includes needed by your chosen backends (vulkan needs that). * edit config_generator.lua for adding includes needed by your chosen backends (vulkan needs that).
* Run generator.bat or generator.sh with gcc, clang or cl and LuaJIT on your PATH. * Run generator.bat or generator.sh with gcc, clang or cl and LuaJIT on your PATH.
@@ -70,7 +70,7 @@ Notes:
* manual : will be true if this function is hand-written (not generated) * 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) * skipped : will be true if this function is not generated (and not hand-written)
* isvararg : is set if some argument is a vararg * isvararg : is set if some argument is a vararg
* constructor : is set if the function is a constructor for a class. * constructor : is set if the function is a constructor for a class. (another destructor function with _destroy postfix will be created)
* destructor : is set if the function is a destructor for a class but not just a default destructor. * destructor : is set if the function is a destructor for a class but not just a default destructor.
* realdestructor : is set if the function is a destructor for a class * realdestructor : is set if the function is a destructor for a class
* templated : is set if the function belongs to a templated class (ImVector) * templated : is set if the function belongs to a templated class (ImVector)
@@ -91,6 +91,7 @@ Notes:
* size : the number of array elements (when it is an array) * size : the number of array elements (when it is an array)
* bitfield : the bitfield width (in case it is a bitfield) * 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 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 # 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` * 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`

View File

@@ -0,0 +1,36 @@
cmake_minimum_required(VERSION 3.30)
project(cimgui_sdlrenderer3 LANGUAGES C CXX)
set(CMAKE_C_STANDARD 11)
include(FetchContent)
FetchContent_Declare(
sdl3
GIT_REPOSITORY https://github.com/libsdl-org/SDL.git
GIT_TAG release-3.4.0
#GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
)
set(SDL_TEST_LIBRARY OFF CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(sdl3)
include(../cmake/GenerateCimguiBindings.cmake)
set(inclulist ${sdl3_SOURCE_DIR}/include)
GenerateCimguiBindings(cimgui_with_backend sdl3 sdlrenderer3 inclulist)
target_link_libraries(cimgui_with_backend PRIVATE SDL3::SDL3)
add_executable(${PROJECT_NAME}
main.c
)
target_link_libraries(${PROJECT_NAME} PRIVATE SDL3::SDL3 cimgui_with_backend)
target_compile_definitions(
${PROJECT_NAME}
PRIVATE
CIMGUI_DEFINE_ENUMS_AND_STRUCTS=1
CIMGUI_USE_SDL3=1
CIMGUI_USE_SDLRENDERER3=1
)

View File

@@ -0,0 +1,16 @@
# SDLRenderer3
This example takes from `example_sdlgpu3`. We need to generate bindings for SDLRenderer3 backend because they are not native to `cimgui`. Then you can add the compiled library for linking in your application.
For the generation phase from cmake you need LuaJIT to be present.
## Building
From the build directory of your choice:
`cmake path_to_example_sdlgpu3`
Then simply run:
`make`

View File

@@ -0,0 +1,158 @@
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <SDL3/SDL.h>
#include <cimgui.h>
#include <cimgui_impl.h>
#define igGetIO igGetIO_Nil
int main() {
// Setup SDL library
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_GAMEPAD)) {
fprintf(stderr, "Failed to init video! %s", SDL_GetError());
return 1;
};
// Setup window and renderer
float main_scale = SDL_GetDisplayContentScale(SDL_GetPrimaryDisplay());
SDL_WindowFlags window_flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN | SDL_WINDOW_HIGH_PIXEL_DENSITY;
SDL_Window* window = NULL;
SDL_Renderer* renderer = NULL;
if (!SDL_CreateWindowAndRenderer("Dear ImGui SDL3 Renderer example", (int)(1280 * main_scale), (int)(720 * main_scale), window_flags, &window, &renderer))
{
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
return -1;
}
SDL_SetWindowPosition(window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
SDL_ShowWindow(window);
// Setup Dear ImGui context
igCreateContext(NULL);
ImGuiIO* io = igGetIO(); (void)io;
io->ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
io->ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
// Setup Dear ImGui style
igStyleColorsDark(NULL);
//igStyleColorsLight(NULL);
// Setup scaling
ImGuiStyle* style = igGetStyle();
ImGuiStyle_ScaleAllSizes(style, main_scale);
style->FontScaleDpi = main_scale; // Set initial font scale. (using io.ConfigDpiScaleFonts=true makes this unnecessary. We leave both here for documentation purpose)
io->ConfigDpiScaleFonts = true; // [Experimental] Automatically overwrite style.FontScaleDpi in Begin() when Monitor DPI changes. This will scale fonts but _NOT_ scale sizes/padding for now.
io->ConfigDpiScaleViewports = true; // [Experimental] Scale Dear ImGui and Platform Windows when Monitor DPI changes.
// Setup Platform/Renderer backends
ImGui_ImplSDL3_InitForSDLRenderer(window, renderer);
ImGui_ImplSDLRenderer3_Init(renderer);
// Our state
bool show_demo_window = true;
bool show_another_window = false;
ImVec4 clear_color;
clear_color.x = 0.45f;
clear_color.y = 0.55f;
clear_color.z = 0.60f;
clear_color.w = 1.00f;
// Main loop
bool done = false;
while (!done)
{
// Poll and handle events (inputs, window resize, etc.)
// You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs.
// - When io.WantCaptureMouse is true, do not dispatch mouse input data to your main application, or clear/overwrite your copy of the mouse data.
// - When io.WantCaptureKeyboard is true, do not dispatch keyboard input data to your main application, or clear/overwrite your copy of the keyboard data.
// Generally you may always pass all inputs to dear imgui, and hide them from your application based on those two flags.
// [If using SDL_MAIN_USE_CALLBACKS: call ImGui_ImplSDL3_ProcessEvent() from your SDL_AppEvent() function]
SDL_Event event;
while (SDL_PollEvent(&event))
{
ImGui_ImplSDL3_ProcessEvent(&event);
if (event.type == SDL_EVENT_QUIT)
done = true;
if (event.type == SDL_EVENT_WINDOW_CLOSE_REQUESTED && event.window.windowID == SDL_GetWindowID(window))
done = true;
}
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppIterate() function]
if (SDL_GetWindowFlags(window) & SDL_WINDOW_MINIMIZED)
{
SDL_Delay(10);
continue;
}
// Setup Dear ImGui frame
SDL_SetRenderDrawColorFloat(renderer, clear_color.x, clear_color.y, clear_color.z, clear_color.w);
SDL_RenderClear(renderer);
ImGui_ImplSDLRenderer3_NewFrame();
ImGui_ImplSDL3_NewFrame();
igNewFrame();
// 1. Show the big demo window (Most of the sample code is in igShowDemoWindow()! You can browse its code to learn more about Dear ImGui!).
if (show_demo_window)
igShowDemoWindow(&show_demo_window);
// 2. Show a simple window that we create ourselves. We use a Begin/End pair to create a named window.
{
static float f = 0.0f;
static int counter = 0;
igBegin("Hello, world!", NULL, 0); // Create a window called "Hello, world!" and append into it.
igText("This is some useful text."); // Display some text (you can use a format strings too)
igCheckbox("Demo Window", &show_demo_window); // Edit bools storing our window open/close state
igCheckbox("Another Window", &show_another_window);
igSliderFloat("float", &f, 0.0f, 1.0f, "%.3f", 0); // Edit 1 float using a slider from 0.0f to 1.0f
igColorEdit4("clear color", (float*)&clear_color, 0); // Edit 3 floats representing a color
ImVec2 buttonSize;
buttonSize.x = 0;
buttonSize.y = 0;
if (igButton("Button", buttonSize)) // Buttons return true when clicked (most widgets return true when edited/activated)
counter++;
igSameLine(0.0f, -1.0f);
igText("counter = %d", counter);
igText("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io->Framerate, io->Framerate);
igEnd();
}
// 3. Show another simple window.
if (show_another_window)
{
igBegin("Another Window", &show_another_window, 0); // Pass a pointer to our bool variable (the window will have a closing button that will clear the bool when clicked)
igText("Hello from another window!");
ImVec2 buttonSize;
buttonSize.x = 0; buttonSize.y = 0;
if (igButton("Close Me", buttonSize))
show_another_window = false;
igEnd();
}
// Rendering
igRender();
ImDrawData* draw_data = igGetDrawData();
const bool is_minimized = (draw_data->DisplaySize.x <= 0.0f || draw_data->DisplaySize.y <= 0.0f);
ImGui_ImplSDLRenderer3_RenderDrawData(draw_data, renderer);
SDL_RenderPresent(renderer);
}
// Cleanup
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppQuit() function]
ImGui_ImplSDL3_Shutdown();
ImGui_ImplSDLRenderer3_Shutdown();
igDestroyContext(NULL);
SDL_DestroyRenderer(renderer);
SDL_DestroyWindow(window);
SDL_Quit();
return 0;
}

View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.92.4" 19240 from Dear ImGui https://github.com/ocornut/imgui //based on imgui.h file version "1.92.6" 19261 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api //with imgui_internal.h api
//with imgui_freetype.h api //with imgui_freetype.h api
//docking branch //docking branch
@@ -1654,6 +1654,10 @@ CIMGUI_API ImVec2_c igGetItemRectSize()
{ {
return ConvertFromCPP_ImVec2(ImGui::GetItemRectSize()); return ConvertFromCPP_ImVec2(ImGui::GetItemRectSize());
} }
CIMGUI_API ImGuiItemFlags igGetItemFlags()
{
return ImGui::GetItemFlags();
}
CIMGUI_API ImGuiViewport* igGetMainViewport() CIMGUI_API ImGuiViewport* igGetMainViewport()
{ {
return ImGui::GetMainViewport(); return ImGui::GetMainViewport();
@@ -1911,9 +1915,9 @@ CIMGUI_API void igDestroyPlatformWindows()
{ {
return ImGui::DestroyPlatformWindows(); return ImGui::DestroyPlatformWindows();
} }
CIMGUI_API ImGuiViewport* igFindViewportByID(ImGuiID id) CIMGUI_API ImGuiViewport* igFindViewportByID(ImGuiID viewport_id)
{ {
return ImGui::FindViewportByID(id); return ImGui::FindViewportByID(viewport_id);
} }
CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle) CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle)
{ {
@@ -2039,6 +2043,10 @@ CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData*
{ {
return self->SelectAll(); return self->SelectAll();
} }
CIMGUI_API void ImGuiInputTextCallbackData_SetSelection(ImGuiInputTextCallbackData* self,int s,int e)
{
return self->SetSelection(s,e);
}
CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self) CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self)
{ {
return self->ClearSelection(); return self->ClearSelection();
@@ -2843,6 +2851,14 @@ CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConf
{ {
return self->AddFontDefault(font_cfg); return self->AddFontDefault(font_cfg);
} }
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultVector(ImFontAtlas* self,const ImFontConfig* font_cfg)
{
return self->AddFontDefaultVector(font_cfg);
}
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultBitmap(ImFontAtlas* self,const ImFontConfig* font_cfg)
{
return self->AddFontDefaultBitmap(font_cfg);
}
CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges) CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges)
{ {
return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges); return self->AddFontFromFileTTF(filename,size_pixels,font_cfg,glyph_ranges);
@@ -3222,9 +3238,13 @@ CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWcha
{ {
return ImTextCountUtf8BytesFromStr(in_text,in_text_end); return ImTextCountUtf8BytesFromStr(in_text,in_text_end);
} }
CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_text_curr) CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_p)
{ {
return ImTextFindPreviousUtf8Codepoint(in_text_start,in_text_curr); return ImTextFindPreviousUtf8Codepoint(in_text_start,in_p);
}
CIMGUI_API const char* igImTextFindValidUtf8CodepointEnd(const char* in_text_start,const char* in_text_end,const char* in_p)
{
return ImTextFindValidUtf8CodepointEnd(in_text_start,in_text_end,in_p);
} }
CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end) CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end)
{ {
@@ -3242,6 +3262,22 @@ CIMGUI_API const char* igImTextCalcWordWrapNextLineStart(const char* text,const
{ {
return ImTextCalcWordWrapNextLineStart(text,text_end,flags); return ImTextCalcWordWrapNextLineStart(text,text_end,flags);
} }
CIMGUI_API void igImTextInitClassifiers()
{
return ImTextInitClassifiers();
}
CIMGUI_API void igImTextClassifierClear(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class)
{
return ImTextClassifierClear(bits,codepoint_min,codepoint_end,char_class);
}
CIMGUI_API void igImTextClassifierSetCharClass(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,unsigned int c)
{
return ImTextClassifierSetCharClass(bits,codepoint_min,codepoint_end,char_class,c);
}
CIMGUI_API void igImTextClassifierSetCharClassFromStr(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,const char* s)
{
return ImTextClassifierSetCharClassFromStr(bits,codepoint_min,codepoint_end,char_class,s);
}
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode) CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode)
{ {
return ImFileOpen(filename,mode); return ImFileOpen(filename,mode);
@@ -3594,10 +3630,6 @@ CIMGUI_API void ImRect_ClipWithFull(ImRect* self,const ImRect_c r)
{ {
return self->ClipWithFull(ConvertToCPP_ImRect(r)); return self->ClipWithFull(ConvertToCPP_ImRect(r));
} }
CIMGUI_API void ImRect_Floor(ImRect* self)
{
return self->Floor();
}
CIMGUI_API bool ImRect_IsInverted(ImRect* self) CIMGUI_API bool ImRect_IsInverted(ImRect* self)
{ {
return self->IsInverted(); return self->IsInverted();
@@ -3814,6 +3846,10 @@ CIMGUI_API int ImGuiInputTextState_GetSelectionEnd(ImGuiInputTextState* self)
{ {
return self->GetSelectionEnd(); return self->GetSelectionEnd();
} }
CIMGUI_API void ImGuiInputTextState_SetSelection(ImGuiInputTextState* self,int start,int end)
{
return self->SetSelection(start,end);
}
CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self) CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self)
{ {
return self->SelectAll(); return self->SelectAll();
@@ -4154,6 +4190,14 @@ CIMGUI_API void ImGuiStackLevelInfo_destroy(ImGuiStackLevelInfo* self)
{ {
IM_DELETE(self); IM_DELETE(self);
} }
CIMGUI_API ImGuiDebugItemPathQuery* ImGuiDebugItemPathQuery_ImGuiDebugItemPathQuery(void)
{
return IM_NEW(ImGuiDebugItemPathQuery)();
}
CIMGUI_API void ImGuiDebugItemPathQuery_destroy(ImGuiDebugItemPathQuery* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiIDStackTool* ImGuiIDStackTool_ImGuiIDStackTool(void) CIMGUI_API ImGuiIDStackTool* ImGuiIDStackTool_ImGuiIDStackTool(void)
{ {
return IM_NEW(ImGuiIDStackTool)(); return IM_NEW(ImGuiIDStackTool)();
@@ -4294,6 +4338,10 @@ CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx)
{ {
return &ImGui::GetPlatformIO(ctx); return &ImGui::GetPlatformIO(ctx);
} }
CIMGUI_API float igGetScale()
{
return ImGui::GetScale();
}
CIMGUI_API ImGuiWindow* igGetCurrentWindowRead() CIMGUI_API ImGuiWindow* igGetCurrentWindowRead()
{ {
return ImGui::GetCurrentWindowRead(); return ImGui::GetCurrentWindowRead();
@@ -4326,6 +4374,10 @@ CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_par
{ {
return ImGui::IsWindowChildOf(window,potential_parent,popup_hierarchy,dock_hierarchy); return ImGui::IsWindowChildOf(window,potential_parent,popup_hierarchy,dock_hierarchy);
} }
CIMGUI_API bool igIsWindowInBeginStack(ImGuiWindow* window)
{
return ImGui::IsWindowInBeginStack(window);
}
CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent) CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent)
{ {
return ImGui::IsWindowWithinBeginStackOf(window,potential_parent); return ImGui::IsWindowWithinBeginStackOf(window,potential_parent);
@@ -4478,6 +4530,22 @@ CIMGUI_API void igShutdown()
{ {
return ImGui::Shutdown(); return ImGui::Shutdown();
} }
CIMGUI_API void igSetContextName(ImGuiContext* ctx,const char* name)
{
return ImGui::SetContextName(ctx,name);
}
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* ctx,const ImGuiContextHook* hook)
{
return ImGui::AddContextHook(ctx,hook);
}
CIMGUI_API void igRemoveContextHook(ImGuiContext* ctx,ImGuiID hook_to_remove)
{
return ImGui::RemoveContextHook(ctx,hook_to_remove);
}
CIMGUI_API void igCallContextHooks(ImGuiContext* ctx,ImGuiContextHookType type)
{
return ImGui::CallContextHooks(ctx,type);
}
CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs) CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs)
{ {
return ImGui::UpdateInputEvents(trickle_fast_inputs); return ImGui::UpdateInputEvents(trickle_fast_inputs);
@@ -4510,18 +4578,6 @@ CIMGUI_API void igUpdateMouseMovingWindowEndFrame()
{ {
return ImGui::UpdateMouseMovingWindowEndFrame(); return ImGui::UpdateMouseMovingWindowEndFrame();
} }
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* context,const ImGuiContextHook* hook)
{
return ImGui::AddContextHook(context,hook);
}
CIMGUI_API void igRemoveContextHook(ImGuiContext* context,ImGuiID hook_to_remove)
{
return ImGui::RemoveContextHook(context,hook_to_remove);
}
CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType type)
{
return ImGui::CallContextHooks(context,type);
}
CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2_c old_pos,const ImVec2_c new_pos,const ImVec2_c old_size,const ImVec2_c new_size) CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2_c old_pos,const ImVec2_c new_pos,const ImVec2_c old_size,const ImVec2_c new_size)
{ {
return ImGui::TranslateWindowsInViewport(viewport,ConvertToCPP_ImVec2(old_pos),ConvertToCPP_ImVec2(new_pos),ConvertToCPP_ImVec2(old_size),ConvertToCPP_ImVec2(new_size)); return ImGui::TranslateWindowsInViewport(viewport,ConvertToCPP_ImVec2(old_pos),ConvertToCPP_ImVec2(new_pos),ConvertToCPP_ImVec2(old_size),ConvertToCPP_ImVec2(new_size));
@@ -4634,10 +4690,6 @@ CIMGUI_API ImGuiItemStatusFlags igGetItemStatusFlags()
{ {
return ImGui::GetItemStatusFlags(); return ImGui::GetItemStatusFlags();
} }
CIMGUI_API ImGuiItemFlags igGetItemFlags()
{
return ImGui::GetItemFlags();
}
CIMGUI_API ImGuiID igGetActiveID() CIMGUI_API ImGuiID igGetActiveID()
{ {
return ImGui::GetActiveID(); return ImGui::GetActiveID();
@@ -4818,6 +4870,10 @@ CIMGUI_API ImVec2_c igFindBestWindowPosForPopupEx(const ImVec2_c ref_pos,const I
{ {
return ConvertFromCPP_ImVec2(ImGui::FindBestWindowPosForPopupEx(ConvertToCPP_ImVec2(ref_pos),ConvertToCPP_ImVec2(size),last_dir,ConvertToCPP_ImRect(r_outer),ConvertToCPP_ImRect(r_avoid),policy)); return ConvertFromCPP_ImVec2(ImGui::FindBestWindowPosForPopupEx(ConvertToCPP_ImVec2(ref_pos),ConvertToCPP_ImVec2(size),last_dir,ConvertToCPP_ImRect(r_outer),ConvertToCPP_ImRect(r_avoid),policy));
} }
CIMGUI_API ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags)
{
return ImGui::GetMouseButtonFromPopupFlags(flags);
}
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags) CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)
{ {
return ImGui::BeginTooltipEx(tooltip_flags,extra_window_flags); return ImGui::BeginTooltipEx(tooltip_flags,extra_window_flags);
@@ -5486,6 +5542,10 @@ CIMGUI_API ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no)
{ {
return ImGui::TableGetInstanceID(table,instance_no); return ImGui::TableGetInstanceID(table,instance_no);
} }
CIMGUI_API void igTableFixDisplayOrder(ImGuiTable* table)
{
return ImGui::TableFixDisplayOrder(table);
}
CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table) CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table)
{ {
return ImGui::TableSortSpecsSanitize(table); return ImGui::TableSortSpecsSanitize(table);
@@ -5546,6 +5606,10 @@ CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table)
{ {
return ImGui::TableSetColumnWidthAutoAll(table); return ImGui::TableSetColumnWidthAutoAll(table);
} }
CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order)
{
return ImGui::TableSetColumnDisplayOrder(table,column_n,dst_order);
}
CIMGUI_API void igTableRemove(ImGuiTable* table) CIMGUI_API void igTableRemove(ImGuiTable* table)
{ {
return ImGui::TableRemove(table); return ImGui::TableRemove(table);
@@ -5714,6 +5778,10 @@ CIMGUI_API void igRenderFrameBorder(ImVec2_c p_min,ImVec2_c p_max,float rounding
{ {
return ImGui::RenderFrameBorder(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),rounding); return ImGui::RenderFrameBorder(ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),rounding);
} }
CIMGUI_API void igRenderColorComponentMarker(const ImRect_c bb,ImU32 col,float rounding)
{
return ImGui::RenderColorComponentMarker(ConvertToCPP_ImRect(bb),col,rounding);
}
CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,float grid_step,ImVec2_c grid_off,float rounding,ImDrawFlags flags) CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,float grid_step,ImVec2_c grid_off,float rounding,ImDrawFlags flags)
{ {
return ImGui::RenderColorRectWithAlphaCheckerboard(draw_list,ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),fill_col,grid_step,ConvertToCPP_ImVec2(grid_off),rounding,flags); return ImGui::RenderColorRectWithAlphaCheckerboard(draw_list,ConvertToCPP_ImVec2(p_min),ConvertToCPP_ImVec2(p_max),fill_col,grid_step,ConvertToCPP_ImVec2(grid_off),rounding,flags);
@@ -5750,9 +5818,9 @@ CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2_c p_min,float
{ {
return ImGui::RenderArrowDockMenu(draw_list,ConvertToCPP_ImVec2(p_min),sz,col); return ImGui::RenderArrowDockMenu(draw_list,ConvertToCPP_ImVec2(p_min),sz,col);
} }
CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding) CIMGUI_API void igRenderRectFilledInRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float fill_x0,float fill_x1,float rounding)
{ {
return ImGui::RenderRectFilledRangeH(draw_list,ConvertToCPP_ImRect(rect),col,x_start_norm,x_end_norm,rounding); return ImGui::RenderRectFilledInRangeH(draw_list,ConvertToCPP_ImRect(rect),col,fill_x0,fill_x1,rounding);
} }
CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect_c outer,const ImRect_c inner,ImU32 col,float rounding) CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect_c outer,const ImRect_c inner,ImU32 col,float rounding)
{ {
@@ -5959,6 +6027,10 @@ CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFla
{ {
return ImGui::ColorPickerOptionsPopup(ref_col,flags); return ImGui::ColorPickerOptionsPopup(ref_col,flags);
} }
CIMGUI_API void igSetNextItemColorMarker(ImU32 col)
{
return ImGui::SetNextItemColorMarker(col);
}
CIMGUI_API int igPlotEx(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2_c size_arg) CIMGUI_API int igPlotEx(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2_c size_arg)
{ {
return ImGui::PlotEx(plot_type,label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,ConvertToCPP_ImVec2(size_arg)); return ImGui::PlotEx(plot_type,label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,ConvertToCPP_ImVec2(size_arg));
@@ -6067,6 +6139,10 @@ CIMGUI_API void igShowFontAtlas(ImFontAtlas* atlas)
{ {
return ImGui::ShowFontAtlas(atlas); return ImGui::ShowFontAtlas(atlas);
} }
CIMGUI_API ImU64 igDebugTextureIDToU64(ImTextureID tex_id)
{
return ImGui::DebugTextureIDToU64(tex_id);
}
CIMGUI_API void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end) CIMGUI_API void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end)
{ {
return ImGui::DebugHookIdInfo(id,data_type,data_id,data_id_end); return ImGui::DebugHookIdInfo(id,data_type,data_id,data_id_end);
@@ -6211,6 +6287,10 @@ CIMGUI_API void igImFontAtlasBuildSetupFontLoader(ImFontAtlas* atlas,const ImFon
{ {
return ImFontAtlasBuildSetupFontLoader(atlas,font_loader); return ImFontAtlasBuildSetupFontLoader(atlas,font_loader);
} }
CIMGUI_API void igImFontAtlasBuildNotifySetFont(ImFontAtlas* atlas,ImFont* old_font,ImFont* new_font)
{
return ImFontAtlasBuildNotifySetFont(atlas,old_font,new_font);
}
CIMGUI_API void igImFontAtlasBuildUpdatePointers(ImFontAtlas* atlas) CIMGUI_API void igImFontAtlasBuildUpdatePointers(ImFontAtlas* atlas)
{ {
return ImFontAtlasBuildUpdatePointers(atlas); return ImFontAtlasBuildUpdatePointers(atlas);
@@ -6283,6 +6363,10 @@ CIMGUI_API void igImFontAtlasFontDestroyOutput(ImFontAtlas* atlas,ImFont* font)
{ {
return ImFontAtlasFontDestroyOutput(atlas,font); return ImFontAtlasFontDestroyOutput(atlas,font);
} }
CIMGUI_API void igImFontAtlasFontRebuildOutput(ImFontAtlas* atlas,ImFont* font)
{
return ImFontAtlasFontRebuildOutput(atlas,font);
}
CIMGUI_API void igImFontAtlasFontDiscardBakes(ImFontAtlas* atlas,ImFont* font,int unused_frames) CIMGUI_API void igImFontAtlasFontDiscardBakes(ImFontAtlas* atlas,ImFont* font,int unused_frames)
{ {
return ImFontAtlasFontDiscardBakes(atlas,font,unused_frames); return ImFontAtlasFontDiscardBakes(atlas,font,unused_frames);

161
cimgui.h
View File

@@ -1,5 +1,5 @@
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
//based on imgui.h file version "1.92.4" 19240 from Dear ImGui https://github.com/ocornut/imgui //based on imgui.h file version "1.92.6" 19261 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api //with imgui_internal.h api
//with imgui_freetype.h api //with imgui_freetype.h api
//docking branch //docking branch
@@ -324,6 +324,7 @@ typedef enum {
ImGuiItemFlags_ButtonRepeat = 1 << 3, ImGuiItemFlags_ButtonRepeat = 1 << 3,
ImGuiItemFlags_AutoClosePopups = 1 << 4, ImGuiItemFlags_AutoClosePopups = 1 << 4,
ImGuiItemFlags_AllowDuplicateId = 1 << 5, ImGuiItemFlags_AllowDuplicateId = 1 << 5,
ImGuiItemFlags_Disabled = 1 << 6,
}ImGuiItemFlags_; }ImGuiItemFlags_;
typedef enum { typedef enum {
ImGuiInputTextFlags_None = 0, ImGuiInputTextFlags_None = 0,
@@ -379,17 +380,18 @@ typedef enum {
}ImGuiTreeNodeFlags_; }ImGuiTreeNodeFlags_;
typedef enum { typedef enum {
ImGuiPopupFlags_None = 0, ImGuiPopupFlags_None = 0,
ImGuiPopupFlags_MouseButtonLeft = 0, ImGuiPopupFlags_MouseButtonLeft = 1 << 2,
ImGuiPopupFlags_MouseButtonRight = 1, ImGuiPopupFlags_MouseButtonRight = 2 << 2,
ImGuiPopupFlags_MouseButtonMiddle = 2, ImGuiPopupFlags_MouseButtonMiddle = 3 << 2,
ImGuiPopupFlags_MouseButtonMask_ = 0x1F,
ImGuiPopupFlags_MouseButtonDefault_ = 1,
ImGuiPopupFlags_NoReopen = 1 << 5, ImGuiPopupFlags_NoReopen = 1 << 5,
ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 7, ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 7,
ImGuiPopupFlags_NoOpenOverItems = 1 << 8, ImGuiPopupFlags_NoOpenOverItems = 1 << 8,
ImGuiPopupFlags_AnyPopupId = 1 << 10, ImGuiPopupFlags_AnyPopupId = 1 << 10,
ImGuiPopupFlags_AnyPopupLevel = 1 << 11, ImGuiPopupFlags_AnyPopupLevel = 1 << 11,
ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel, ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel,
ImGuiPopupFlags_MouseButtonShift_ = 2,
ImGuiPopupFlags_MouseButtonMask_ = 0x0C,
ImGuiPopupFlags_InvalidMask_ = 0x03,
}ImGuiPopupFlags_; }ImGuiPopupFlags_;
typedef enum { typedef enum {
ImGuiSelectableFlags_None = 0, ImGuiSelectableFlags_None = 0,
@@ -495,6 +497,7 @@ typedef enum {
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10, ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10,
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11, ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11,
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12,
ImGuiDragDropFlags_AcceptDrawAsHovered = 1 << 13,
ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect, ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect,
}ImGuiDragDropFlags_; }ImGuiDragDropFlags_;
typedef enum { typedef enum {
@@ -786,6 +789,7 @@ typedef enum {
ImGuiCol_TextSelectedBg, ImGuiCol_TextSelectedBg,
ImGuiCol_TreeLines, ImGuiCol_TreeLines,
ImGuiCol_DragDropTarget, ImGuiCol_DragDropTarget,
ImGuiCol_DragDropTargetBg,
ImGuiCol_UnsavedMarker, ImGuiCol_UnsavedMarker,
ImGuiCol_NavCursor, ImGuiCol_NavCursor,
ImGuiCol_NavWindowingHighlight, ImGuiCol_NavWindowingHighlight,
@@ -817,6 +821,7 @@ typedef enum {
ImGuiStyleVar_ScrollbarPadding, ImGuiStyleVar_ScrollbarPadding,
ImGuiStyleVar_GrabMinSize, ImGuiStyleVar_GrabMinSize,
ImGuiStyleVar_GrabRounding, ImGuiStyleVar_GrabRounding,
ImGuiStyleVar_ImageRounding,
ImGuiStyleVar_ImageBorderSize, ImGuiStyleVar_ImageBorderSize,
ImGuiStyleVar_TabRounding, ImGuiStyleVar_TabRounding,
ImGuiStyleVar_TabBorderSize, ImGuiStyleVar_TabBorderSize,
@@ -856,10 +861,11 @@ typedef enum {
ImGuiColorEditFlags_NoSidePreview = 1 << 8, ImGuiColorEditFlags_NoSidePreview = 1 << 8,
ImGuiColorEditFlags_NoDragDrop = 1 << 9, ImGuiColorEditFlags_NoDragDrop = 1 << 9,
ImGuiColorEditFlags_NoBorder = 1 << 10, ImGuiColorEditFlags_NoBorder = 1 << 10,
ImGuiColorEditFlags_AlphaOpaque = 1 << 11, ImGuiColorEditFlags_NoColorMarkers = 1 << 11,
ImGuiColorEditFlags_AlphaNoBg = 1 << 12, ImGuiColorEditFlags_AlphaOpaque = 1 << 12,
ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 13, ImGuiColorEditFlags_AlphaNoBg = 1 << 13,
ImGuiColorEditFlags_AlphaBar = 1 << 16, ImGuiColorEditFlags_AlphaPreviewHalf= 1 << 14,
ImGuiColorEditFlags_AlphaBar = 1 << 18,
ImGuiColorEditFlags_HDR = 1 << 19, ImGuiColorEditFlags_HDR = 1 << 19,
ImGuiColorEditFlags_DisplayRGB = 1 << 20, ImGuiColorEditFlags_DisplayRGB = 1 << 20,
ImGuiColorEditFlags_DisplayHSV = 1 << 21, ImGuiColorEditFlags_DisplayHSV = 1 << 21,
@@ -886,6 +892,7 @@ typedef enum {
ImGuiSliderFlags_ClampOnInput = 1 << 9, ImGuiSliderFlags_ClampOnInput = 1 << 9,
ImGuiSliderFlags_ClampZeroRange = 1 << 10, ImGuiSliderFlags_ClampZeroRange = 1 << 10,
ImGuiSliderFlags_NoSpeedTweaks = 1 << 11, ImGuiSliderFlags_NoSpeedTweaks = 1 << 11,
ImGuiSliderFlags_ColorMarkers = 1 << 12,
ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange, ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange,
ImGuiSliderFlags_InvalidMask_ = 0x7000000F, ImGuiSliderFlags_InvalidMask_ = 0x7000000F,
}ImGuiSliderFlags_; }ImGuiSliderFlags_;
@@ -1048,6 +1055,7 @@ struct ImGuiStyle
float GrabMinSize; float GrabMinSize;
float GrabRounding; float GrabRounding;
float LogSliderDeadzone; float LogSliderDeadzone;
float ImageRounding;
float ImageBorderSize; float ImageBorderSize;
float TabRounding; float TabRounding;
float TabBorderSize; float TabBorderSize;
@@ -1062,6 +1070,10 @@ struct ImGuiStyle
ImGuiTreeNodeFlags TreeLinesFlags; ImGuiTreeNodeFlags TreeLinesFlags;
float TreeLinesSize; float TreeLinesSize;
float TreeLinesRounding; float TreeLinesRounding;
float DragDropTargetRounding;
float DragDropTargetBorderSize;
float DragDropTargetPadding;
float ColorMarkerSize;
ImGuiDir ColorButtonPosition; ImGuiDir ColorButtonPosition;
ImVec2_c ButtonTextAlign; ImVec2_c ButtonTextAlign;
ImVec2_c SelectableTextAlign; ImVec2_c SelectableTextAlign;
@@ -1118,6 +1130,7 @@ struct ImGuiIO
bool ConfigNavCursorVisibleAuto; bool ConfigNavCursorVisibleAuto;
bool ConfigNavCursorVisibleAlways; bool ConfigNavCursorVisibleAlways;
bool ConfigDockingNoSplit; bool ConfigDockingNoSplit;
bool ConfigDockingNoDockingOver;
bool ConfigDockingWithShift; bool ConfigDockingWithShift;
bool ConfigDockingAlwaysTabBar; bool ConfigDockingAlwaysTabBar;
bool ConfigDockingTransparentPayload; bool ConfigDockingTransparentPayload;
@@ -1216,12 +1229,14 @@ struct ImGuiInputTextCallbackData
ImGuiInputTextFlags EventFlag; ImGuiInputTextFlags EventFlag;
ImGuiInputTextFlags Flags; ImGuiInputTextFlags Flags;
void* UserData; void* UserData;
ImWchar EventChar; ImGuiID ID;
ImGuiKey EventKey; ImGuiKey EventKey;
ImWchar EventChar;
bool EventActivated;
bool BufDirty;
char* Buf; char* Buf;
int BufTextLen; int BufTextLen;
int BufSize; int BufSize;
bool BufDirty;
int CursorPos; int CursorPos;
int SelectionStart; int SelectionStart;
int SelectionEnd; int SelectionEnd;
@@ -1331,6 +1346,7 @@ typedef enum {
ImGuiMultiSelectFlags_SelectOnClick = 1 << 13, ImGuiMultiSelectFlags_SelectOnClick = 1 << 13,
ImGuiMultiSelectFlags_SelectOnClickRelease = 1 << 14, ImGuiMultiSelectFlags_SelectOnClickRelease = 1 << 14,
ImGuiMultiSelectFlags_NavWrapX = 1 << 16, ImGuiMultiSelectFlags_NavWrapX = 1 << 16,
ImGuiMultiSelectFlags_NoSelectOnRightClick = 1 << 17,
}ImGuiMultiSelectFlags_; }ImGuiMultiSelectFlags_;
typedef struct ImVector_ImGuiSelectionRequest {int Size;int Capacity;ImGuiSelectionRequest* Data;} ImVector_ImGuiSelectionRequest; typedef struct ImVector_ImGuiSelectionRequest {int Size;int Capacity;ImGuiSelectionRequest* Data;} ImVector_ImGuiSelectionRequest;
@@ -1528,7 +1544,6 @@ struct ImFontConfig
bool FontDataOwnedByAtlas; bool FontDataOwnedByAtlas;
bool MergeMode; bool MergeMode;
bool PixelSnapH; bool PixelSnapH;
bool PixelSnapV;
ImS8 OversampleH; ImS8 OversampleH;
ImS8 OversampleV; ImS8 OversampleV;
ImWchar EllipsisChar; ImWchar EllipsisChar;
@@ -1543,6 +1558,7 @@ struct ImFontConfig
unsigned int FontLoaderFlags; unsigned int FontLoaderFlags;
float RasterizerMultiply; float RasterizerMultiply;
float RasterizerDensity; float RasterizerDensity;
float ExtraSizeScale;
ImFontFlags Flags; ImFontFlags Flags;
ImFont* DstFont; ImFont* DstFont;
const ImFontLoader* FontLoader; const ImFontLoader* FontLoader;
@@ -1639,7 +1655,7 @@ struct ImFontBaked
unsigned int LoadNoRenderOnLayout:1; unsigned int LoadNoRenderOnLayout:1;
int LastUsedFrame; int LastUsedFrame;
ImGuiID BakedId; ImGuiID BakedId;
ImFont* ContainerFont; ImFont* OwnerFont;
void* FontLoaderDatas; void* FontLoaderDatas;
}; };
typedef enum { typedef enum {
@@ -1653,7 +1669,7 @@ typedef struct ImVector_ImFontConfigPtr {int Size;int Capacity;ImFontConfig** Da
struct ImFont struct ImFont
{ {
ImFontBaked* LastBaked; ImFontBaked* LastBaked;
ImFontAtlas* ContainerAtlas; ImFontAtlas* OwnerAtlas;
ImFontFlags Flags; ImFontFlags Flags;
float CurrentRasterizerDensity; float CurrentRasterizerDensity;
ImGuiID FontId; ImGuiID FontId;
@@ -1836,16 +1852,19 @@ typedef int ImGuiSeparatorFlags;
typedef int ImGuiTextFlags; typedef int ImGuiTextFlags;
typedef int ImGuiTooltipFlags; typedef int ImGuiTooltipFlags;
typedef int ImGuiTypingSelectFlags; typedef int ImGuiTypingSelectFlags;
typedef int ImGuiWindowBgClickFlags;
typedef int ImGuiWindowRefreshFlags; typedef int ImGuiWindowRefreshFlags;
typedef ImS16 ImGuiTableColumnIdx; typedef ImS16 ImGuiTableColumnIdx;
typedef ImU16 ImGuiTableDrawChannelIdx; typedef ImU16 ImGuiTableDrawChannelIdx;
extern ImGuiContext* GImGui;
typedef enum { typedef enum {
ImDrawTextFlags_None = 0, ImDrawTextFlags_None = 0,
ImDrawTextFlags_CpuFineClip = 1 << 0, ImDrawTextFlags_CpuFineClip = 1 << 0,
ImDrawTextFlags_WrapKeepBlanks = 1 << 1, ImDrawTextFlags_WrapKeepBlanks = 1 << 1,
ImDrawTextFlags_StopOnNewLine = 1 << 2, ImDrawTextFlags_StopOnNewLine = 1 << 2,
}ImDrawTextFlags_; }ImDrawTextFlags_;
typedef enum {
ImWcharClass_Blank, ImWcharClass_Punct, ImWcharClass_Other
}ImWcharClass;
typedef FILE* ImFileHandle; typedef FILE* ImFileHandle;
typedef struct ImVec1 ImVec1; typedef struct ImVec1 ImVec1;
struct ImVec1 struct ImVec1
@@ -1945,7 +1964,6 @@ typedef enum {
ImGuiDataType_ID, ImGuiDataType_ID,
}ImGuiDataTypePrivate_; }ImGuiDataTypePrivate_;
typedef enum { typedef enum {
ImGuiItemFlags_Disabled = 1 << 10,
ImGuiItemFlags_ReadOnly = 1 << 11, ImGuiItemFlags_ReadOnly = 1 << 11,
ImGuiItemFlags_MixedValue = 1 << 12, ImGuiItemFlags_MixedValue = 1 << 12,
ImGuiItemFlags_NoWindowHoverableCheck = 1 << 13, ImGuiItemFlags_NoWindowHoverableCheck = 1 << 13,
@@ -2086,6 +2104,7 @@ struct ImGuiGroupData
ImVec2_c BackupCurrLineSize; ImVec2_c BackupCurrLineSize;
float BackupCurrLineTextBaseOffset; float BackupCurrLineTextBaseOffset;
ImGuiID BackupActiveIdIsAlive; ImGuiID BackupActiveIdIsAlive;
bool BackupActiveIdHasBeenEditedThisFrame;
bool BackupDeactivatedIdIsAlive; bool BackupDeactivatedIdIsAlive;
bool BackupHoveredIdIsAlive; bool BackupHoveredIdIsAlive;
bool BackupIsSameLine; bool BackupIsSameLine;
@@ -2140,6 +2159,10 @@ typedef enum {
ImGuiWindowRefreshFlags_RefreshOnHover = 1 << 1, ImGuiWindowRefreshFlags_RefreshOnHover = 1 << 1,
ImGuiWindowRefreshFlags_RefreshOnFocus = 1 << 2, ImGuiWindowRefreshFlags_RefreshOnFocus = 1 << 2,
}ImGuiWindowRefreshFlags_; }ImGuiWindowRefreshFlags_;
typedef enum {
ImGuiWindowBgClickFlags_None = 0,
ImGuiWindowBgClickFlags_Move = 1 << 0,
}ImGuiWindowBgClickFlags_;
typedef enum { typedef enum {
ImGuiNextWindowDataFlags_None = 0, ImGuiNextWindowDataFlags_None = 0,
ImGuiNextWindowDataFlags_HasPos = 1 << 0, ImGuiNextWindowDataFlags_HasPos = 1 << 0,
@@ -2190,6 +2213,7 @@ typedef enum {
ImGuiNextItemDataFlags_HasShortcut = 1 << 2, ImGuiNextItemDataFlags_HasShortcut = 1 << 2,
ImGuiNextItemDataFlags_HasRefVal = 1 << 3, ImGuiNextItemDataFlags_HasRefVal = 1 << 3,
ImGuiNextItemDataFlags_HasStorageID = 1 << 4, ImGuiNextItemDataFlags_HasStorageID = 1 << 4,
ImGuiNextItemDataFlags_HasColorMarker = 1 << 5,
}ImGuiNextItemDataFlags_; }ImGuiNextItemDataFlags_;
struct ImGuiNextItemData struct ImGuiNextItemData
{ {
@@ -2204,6 +2228,7 @@ struct ImGuiNextItemData
ImU8 OpenCond; ImU8 OpenCond;
ImGuiDataTypeStorage RefVal; ImGuiDataTypeStorage RefVal;
ImGuiID StorageId; ImGuiID StorageId;
ImU32 ColorMarker;
}; };
struct ImGuiLastItemData struct ImGuiLastItemData
{ {
@@ -2285,7 +2310,7 @@ struct ImGuiPopupData
ImVec2_c OpenPopupPos; ImVec2_c OpenPopupPos;
ImVec2_c OpenMousePos; ImVec2_c OpenMousePos;
}; };
typedef struct ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN {ImU32 Storage[(ImGuiKey_NamedKey_COUNT+31)>>5];} ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN; typedef struct ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN {ImU32 Data[(ImGuiKey_NamedKey_COUNT+31)>>5];} ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN;
typedef ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN ImBitArrayForNamedKeys; typedef ImBitArray_ImGuiKey_NamedKey_COUNT__lessImGuiKey_NamedKey_BEGIN ImBitArrayForNamedKeys;
typedef enum { typedef enum {
@@ -2689,6 +2714,7 @@ typedef enum {
ImGuiWindowDockStyleCol_TabDimmed, ImGuiWindowDockStyleCol_TabDimmed,
ImGuiWindowDockStyleCol_TabDimmedSelected, ImGuiWindowDockStyleCol_TabDimmedSelected,
ImGuiWindowDockStyleCol_TabDimmedSelectedOverline, ImGuiWindowDockStyleCol_TabDimmedSelectedOverline,
ImGuiWindowDockStyleCol_UnsavedMarker,
ImGuiWindowDockStyleCol_COUNT ImGuiWindowDockStyleCol_COUNT
}ImGuiWindowDockStyleCol; }ImGuiWindowDockStyleCol;
struct ImGuiWindowDockStyle struct ImGuiWindowDockStyle
@@ -2798,7 +2824,8 @@ typedef enum {
ImGuiDebugLogFlags_EventViewport = 1 << 11, ImGuiDebugLogFlags_EventViewport = 1 << 11,
ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport, ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport,
ImGuiDebugLogFlags_OutputToTTY = 1 << 20, ImGuiDebugLogFlags_OutputToTTY = 1 << 20,
ImGuiDebugLogFlags_OutputToTestEngine = 1 << 21, ImGuiDebugLogFlags_OutputToDebugger = 1 << 21,
ImGuiDebugLogFlags_OutputToTestEngine = 1 << 22,
}ImGuiDebugLogFlags_; }ImGuiDebugLogFlags_;
typedef struct ImGuiDebugAllocEntry ImGuiDebugAllocEntry; typedef struct ImGuiDebugAllocEntry ImGuiDebugAllocEntry;
struct ImGuiDebugAllocEntry struct ImGuiDebugAllocEntry
@@ -2842,21 +2869,26 @@ struct ImGuiStackLevelInfo
ImS8 DataType; ImS8 DataType;
int DescOffset; int DescOffset;
}; };
typedef struct ImGuiIDStackTool ImGuiIDStackTool; typedef struct ImGuiDebugItemPathQuery ImGuiDebugItemPathQuery;
typedef struct ImVector_ImGuiStackLevelInfo {int Size;int Capacity;ImGuiStackLevelInfo* Data;} ImVector_ImGuiStackLevelInfo; typedef struct ImVector_ImGuiStackLevelInfo {int Size;int Capacity;ImGuiStackLevelInfo* Data;} ImVector_ImGuiStackLevelInfo;
struct ImGuiDebugItemPathQuery
{
ImGuiID MainID;
bool Active;
bool Complete;
ImS8 Step;
ImVector_ImGuiStackLevelInfo Results;
ImGuiTextBuffer ResultsDescBuf;
ImGuiTextBuffer ResultPathBuf;
};
typedef struct ImGuiIDStackTool ImGuiIDStackTool;
struct ImGuiIDStackTool struct ImGuiIDStackTool
{ {
int LastActiveFrame;
int StackLevel;
ImGuiID QueryMainId;
ImVector_ImGuiStackLevelInfo Results;
bool QueryHookActive;
bool OptHexEncodeNonAsciiChars; bool OptHexEncodeNonAsciiChars;
bool OptCopyToClipboardOnCtrlC; bool OptCopyToClipboardOnCtrlC;
int LastActiveFrame;
float CopyToClipboardLastTime; float CopyToClipboardLastTime;
ImGuiTextBuffer ResultPathsBuf;
ImGuiTextBuffer ResultTempBuf;
}; };
typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook); typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook);
typedef enum { ImGuiContextHookType_NewFramePre, ImGuiContextHookType_NewFramePost, ImGuiContextHookType_EndFramePre, ImGuiContextHookType_EndFramePost, ImGuiContextHookType_RenderPre, ImGuiContextHookType_RenderPost, ImGuiContextHookType_Shutdown, ImGuiContextHookType_PendingRemoval_ }ImGuiContextHookType; typedef enum { ImGuiContextHookType_NewFramePre, ImGuiContextHookType_NewFramePost, ImGuiContextHookType_EndFramePre, ImGuiContextHookType_EndFramePost, ImGuiContextHookType_RenderPre, ImGuiContextHookType_RenderPost, ImGuiContextHookType_Shutdown, ImGuiContextHookType_PendingRemoval_ }ImGuiContextHookType;
@@ -2929,6 +2961,15 @@ typedef struct ImVector_ImGuiContextHook {int Size;int Capacity;ImGuiContextHook
struct ImGuiContext struct ImGuiContext
{ {
bool Initialized; bool Initialized;
bool WithinFrameScope;
bool WithinFrameScopeWithImplicitWindow;
bool TestEngineHookItems;
int FrameCount;
int FrameCountEnded;
int FrameCountPlatformEnded;
int FrameCountRendered;
double Time;
char ContextName[16];
ImGuiIO IO; ImGuiIO IO;
ImGuiPlatformIO PlatformIO; ImGuiPlatformIO PlatformIO;
ImGuiStyle Style; ImGuiStyle Style;
@@ -2943,18 +2984,8 @@ struct ImGuiContext
float FontRasterizerDensity; float FontRasterizerDensity;
float CurrentDpiScale; float CurrentDpiScale;
ImDrawListSharedData DrawListSharedData; ImDrawListSharedData DrawListSharedData;
double Time;
int FrameCount;
int FrameCountEnded;
int FrameCountPlatformEnded;
int FrameCountRendered;
ImGuiID WithinEndChildID; ImGuiID WithinEndChildID;
bool WithinFrameScope;
bool WithinFrameScopeWithImplicitWindow;
bool GcCompactAll;
bool TestEngineHookItems;
void* TestEngine; void* TestEngine;
char ContextName[16];
ImVector_ImGuiInputEvent InputEventsQueue; ImVector_ImGuiInputEvent InputEventsQueue;
ImVector_ImGuiInputEvent InputEventsTrail; ImVector_ImGuiInputEvent InputEventsTrail;
ImGuiMouseSource InputEventsNextMouseSource; ImGuiMouseSource InputEventsNextMouseSource;
@@ -2999,11 +3030,11 @@ struct ImGuiContext
bool ActiveIdHasBeenEditedBefore; bool ActiveIdHasBeenEditedBefore;
bool ActiveIdHasBeenEditedThisFrame; bool ActiveIdHasBeenEditedThisFrame;
bool ActiveIdFromShortcut; bool ActiveIdFromShortcut;
ImS8 ActiveIdMouseButton;
ImGuiID ActiveIdDisabledId; ImGuiID ActiveIdDisabledId;
int ActiveIdMouseButton : 8;
ImVec2_c ActiveIdClickOffset; ImVec2_c ActiveIdClickOffset;
ImGuiWindow* ActiveIdWindow;
ImGuiInputSource ActiveIdSource; ImGuiInputSource ActiveIdSource;
ImGuiWindow* ActiveIdWindow;
ImGuiID ActiveIdPreviousFrame; ImGuiID ActiveIdPreviousFrame;
ImGuiDeactivatedItemData DeactivatedItemData; ImGuiDeactivatedItemData DeactivatedItemData;
ImGuiDataTypeStorage ActiveIdValueOnActivation; ImGuiDataTypeStorage ActiveIdValueOnActivation;
@@ -3025,6 +3056,7 @@ struct ImGuiContext
ImGuiLastItemData LastItemData; ImGuiLastItemData LastItemData;
ImGuiNextWindowData NextWindowData; ImGuiNextWindowData NextWindowData;
bool DebugShowGroupRects; bool DebugShowGroupRects;
bool GcCompactAll;
ImGuiCol DebugFlashStyleColorIdx; ImGuiCol DebugFlashStyleColorIdx;
ImVector_ImGuiColorMod ColorStack; ImVector_ImGuiColorMod ColorStack;
ImVector_ImGuiStyleMod StyleVarStack; ImVector_ImGuiStyleMod StyleVarStack;
@@ -3093,6 +3125,7 @@ struct ImGuiContext
ImGuiKeyChord NavJustMovedToKeyMods; ImGuiKeyChord NavJustMovedToKeyMods;
bool NavJustMovedToIsTabbing; bool NavJustMovedToIsTabbing;
bool NavJustMovedToHasSelectionData; bool NavJustMovedToHasSelectionData;
bool ConfigNavEnableTabbing;
bool ConfigNavWindowingWithGamepad; bool ConfigNavWindowingWithGamepad;
ImGuiKeyChord ConfigNavWindowingKeyNext; ImGuiKeyChord ConfigNavWindowingKeyNext;
ImGuiKeyChord ConfigNavWindowingKeyPrev; ImGuiKeyChord ConfigNavWindowingKeyPrev;
@@ -3118,7 +3151,8 @@ struct ImGuiContext
ImRect_c DragDropTargetClipRect; ImRect_c DragDropTargetClipRect;
ImGuiID DragDropTargetId; ImGuiID DragDropTargetId;
ImGuiID DragDropTargetFullViewport; ImGuiID DragDropTargetFullViewport;
ImGuiDragDropFlags DragDropAcceptFlags; ImGuiDragDropFlags DragDropAcceptFlagsCurr;
ImGuiDragDropFlags DragDropAcceptFlagsPrev;
float DragDropAcceptIdCurrRectSurface; float DragDropAcceptIdCurrRectSurface;
ImGuiID DragDropAcceptIdCurr; ImGuiID DragDropAcceptIdCurr;
ImGuiID DragDropAcceptIdPrev; ImGuiID DragDropAcceptIdPrev;
@@ -3202,6 +3236,7 @@ struct ImGuiContext
ImGuiID HookIdNext; ImGuiID HookIdNext;
const char* LocalizationTable[ImGuiLocKey_COUNT]; const char* LocalizationTable[ImGuiLocKey_COUNT];
bool LogEnabled; bool LogEnabled;
bool LogLineFirstItem;
ImGuiLogFlags LogFlags; ImGuiLogFlags LogFlags;
ImGuiWindow* LogWindow; ImGuiWindow* LogWindow;
ImFileHandle LogFile; ImFileHandle LogFile;
@@ -3209,7 +3244,6 @@ struct ImGuiContext
const char* LogNextPrefix; const char* LogNextPrefix;
const char* LogNextSuffix; const char* LogNextSuffix;
float LogLinePosY; float LogLinePosY;
bool LogLineFirstItem;
int LogDepthRef; int LogDepthRef;
int LogDepthToExpand; int LogDepthToExpand;
int LogDepthToExpandDefault; int LogDepthToExpandDefault;
@@ -3237,6 +3271,7 @@ struct ImGuiContext
float DebugFlashStyleColorTime; float DebugFlashStyleColorTime;
ImVec4_c DebugFlashStyleColorBackup; ImVec4_c DebugFlashStyleColorBackup;
ImGuiMetricsConfig DebugMetricsConfig; ImGuiMetricsConfig DebugMetricsConfig;
ImGuiDebugItemPathQuery DebugItemPathQuery;
ImGuiIDStackTool DebugIDStackTool; ImGuiIDStackTool DebugIDStackTool;
ImGuiDebugAllocInfo DebugAllocInfo; ImGuiDebugAllocInfo DebugAllocInfo;
ImGuiDockNode* DebugHoveredDockNode; ImGuiDockNode* DebugHoveredDockNode;
@@ -3291,6 +3326,7 @@ struct ImGuiWindowTempData
ImGuiItemStatusFlags DockTabItemStatusFlags; ImGuiItemStatusFlags DockTabItemStatusFlags;
ImRect_c DockTabItemRect; ImRect_c DockTabItemRect;
float ItemWidth; float ItemWidth;
float ItemWidthDefault;
float TextWrapPos; float TextWrapPos;
ImVector_float ItemWidthStack; ImVector_float ItemWidthStack;
ImVector_float TextWrapPosStack; ImVector_float TextWrapPosStack;
@@ -3356,13 +3392,14 @@ struct ImGuiWindow
short BeginOrderWithinParent; short BeginOrderWithinParent;
short BeginOrderWithinContext; short BeginOrderWithinContext;
short FocusOrder; short FocusOrder;
ImGuiDir AutoPosLastDirection;
ImS8 AutoFitFramesX, AutoFitFramesY; ImS8 AutoFitFramesX, AutoFitFramesY;
bool AutoFitOnlyGrows; bool AutoFitOnlyGrows;
ImGuiDir AutoPosLastDirection;
ImS8 HiddenFramesCanSkipItems; ImS8 HiddenFramesCanSkipItems;
ImS8 HiddenFramesCannotSkipItems; ImS8 HiddenFramesCannotSkipItems;
ImS8 HiddenFramesForRenderOnly; ImS8 HiddenFramesForRenderOnly;
ImS8 DisableInputsFrames; ImS8 DisableInputsFrames;
ImGuiWindowBgClickFlags BgClickFlags : 8;
ImGuiCond SetWindowPosAllowFlags : 8; ImGuiCond SetWindowPosAllowFlags : 8;
ImGuiCond SetWindowSizeAllowFlags : 8; ImGuiCond SetWindowSizeAllowFlags : 8;
ImGuiCond SetWindowCollapsedAllowFlags : 8; ImGuiCond SetWindowCollapsedAllowFlags : 8;
@@ -3383,7 +3420,6 @@ struct ImGuiWindow
int LastFrameActive; int LastFrameActive;
int LastFrameJustFocused; int LastFrameJustFocused;
float LastTimeActive; float LastTimeActive;
float ItemWidthDefault;
ImGuiStorage StateStorage; ImGuiStorage StateStorage;
ImVector_ImGuiOldColumns ColumnsStorage; ImVector_ImGuiOldColumns ColumnsStorage;
float FontWindowScale; float FontWindowScale;
@@ -3456,6 +3492,7 @@ struct ImGuiTabBar
ImGuiID ID; ImGuiID ID;
ImGuiID SelectedTabId; ImGuiID SelectedTabId;
ImGuiID NextSelectedTabId; ImGuiID NextSelectedTabId;
ImGuiID NextScrollToTabId;
ImGuiID VisibleTabId; ImGuiID VisibleTabId;
int CurrFrameVisible; int CurrFrameVisible;
int PrevFrameVisible; int PrevFrameVisible;
@@ -3684,6 +3721,7 @@ typedef struct ImVector_ImGuiTableHeaderData {int Size;int Capacity;ImGuiTableHe
struct ImGuiTableTempData struct ImGuiTableTempData
{ {
ImGuiID WindowID;
int TableIndex; int TableIndex;
float LastTimeActive; float LastTimeActive;
float AngledHeadersExtraWidth; float AngledHeadersExtraWidth;
@@ -4333,6 +4371,7 @@ CIMGUI_API ImGuiID igGetItemID(void);
CIMGUI_API ImVec2_c igGetItemRectMin(void); CIMGUI_API ImVec2_c igGetItemRectMin(void);
CIMGUI_API ImVec2_c igGetItemRectMax(void); CIMGUI_API ImVec2_c igGetItemRectMax(void);
CIMGUI_API ImVec2_c igGetItemRectSize(void); CIMGUI_API ImVec2_c igGetItemRectSize(void);
CIMGUI_API ImGuiItemFlags igGetItemFlags(void);
CIMGUI_API ImGuiViewport* igGetMainViewport(void); CIMGUI_API ImGuiViewport* igGetMainViewport(void);
CIMGUI_API ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport); CIMGUI_API ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport);
CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport); CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport);
@@ -4398,7 +4437,7 @@ CIMGUI_API void igMemFree(void* ptr);
CIMGUI_API void igUpdatePlatformWindows(void); CIMGUI_API void igUpdatePlatformWindows(void);
CIMGUI_API void igRenderPlatformWindowsDefault(void* platform_render_arg,void* renderer_render_arg); CIMGUI_API void igRenderPlatformWindowsDefault(void* platform_render_arg,void* renderer_render_arg);
CIMGUI_API void igDestroyPlatformWindows(void); CIMGUI_API void igDestroyPlatformWindows(void);
CIMGUI_API ImGuiViewport* igFindViewportByID(ImGuiID id); CIMGUI_API ImGuiViewport* igFindViewportByID(ImGuiID viewport_id);
CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle); CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle);
CIMGUI_API ImGuiTableSortSpecs* ImGuiTableSortSpecs_ImGuiTableSortSpecs(void); CIMGUI_API ImGuiTableSortSpecs* ImGuiTableSortSpecs_ImGuiTableSortSpecs(void);
CIMGUI_API void ImGuiTableSortSpecs_destroy(ImGuiTableSortSpecs* self); CIMGUI_API void ImGuiTableSortSpecs_destroy(ImGuiTableSortSpecs* self);
@@ -4430,6 +4469,7 @@ CIMGUI_API void ImGuiInputTextCallbackData_destroy(ImGuiInputTextCallbackData* s
CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count); CIMGUI_API void ImGuiInputTextCallbackData_DeleteChars(ImGuiInputTextCallbackData* self,int pos,int bytes_count);
CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end); CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackData* self,int pos,const char* text,const char* text_end);
CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* self); CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* self);
CIMGUI_API void ImGuiInputTextCallbackData_SetSelection(ImGuiInputTextCallbackData* self,int s,int e);
CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self); CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self);
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self); CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self);
CIMGUI_API ImGuiWindowClass* ImGuiWindowClass_ImGuiWindowClass(void); CIMGUI_API ImGuiWindowClass* ImGuiWindowClass_ImGuiWindowClass(void);
@@ -4631,6 +4671,8 @@ CIMGUI_API ImFontAtlas* ImFontAtlas_ImFontAtlas(void);
CIMGUI_API void ImFontAtlas_destroy(ImFontAtlas* self); CIMGUI_API void ImFontAtlas_destroy(ImFontAtlas* self);
CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFont(ImFontAtlas* self,const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg); CIMGUI_API ImFont* ImFontAtlas_AddFontDefault(ImFontAtlas* self,const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultVector(ImFontAtlas* self,const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontDefaultBitmap(ImFontAtlas* self,const ImFontConfig* font_cfg);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); CIMGUI_API ImFont* ImFontAtlas_AddFontFromFileTTF(ImFontAtlas* self,const char* filename,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryTTF(ImFontAtlas* self,void* font_data,int font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges); CIMGUI_API ImFont* ImFontAtlas_AddFontFromMemoryCompressedTTF(ImFontAtlas* self,const void* compressed_font_data,int compressed_font_data_size,float size_pixels,const ImFontConfig* font_cfg,const ImWchar* glyph_ranges);
@@ -4727,11 +4769,16 @@ CIMGUI_API int igImTextStrFromUtf8(ImWchar* out_buf,int out_buf_size,const char*
CIMGUI_API int igImTextCountCharsFromUtf8(const char* in_text,const char* in_text_end); CIMGUI_API int igImTextCountCharsFromUtf8(const char* in_text,const char* in_text_end);
CIMGUI_API int igImTextCountUtf8BytesFromChar(const char* in_text,const char* in_text_end); CIMGUI_API int igImTextCountUtf8BytesFromChar(const char* in_text,const char* in_text_end);
CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWchar* in_text_end); CIMGUI_API int igImTextCountUtf8BytesFromStr(const ImWchar* in_text,const ImWchar* in_text_end);
CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_text_curr); CIMGUI_API const char* igImTextFindPreviousUtf8Codepoint(const char* in_text_start,const char* in_p);
CIMGUI_API const char* igImTextFindValidUtf8CodepointEnd(const char* in_text_start,const char* in_text_end,const char* in_p);
CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end); CIMGUI_API int igImTextCountLines(const char* in_text,const char* in_text_end);
CIMGUI_API ImVec2_c igImFontCalcTextSizeEx(ImFont* font,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end_display,const char* text_end,const char** out_remaining,ImVec2_c* out_offset,ImDrawTextFlags flags); CIMGUI_API ImVec2_c igImFontCalcTextSizeEx(ImFont* font,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end_display,const char* text_end,const char** out_remaining,ImVec2_c* out_offset,ImDrawTextFlags flags);
CIMGUI_API const char* igImFontCalcWordWrapPositionEx(ImFont* font,float size,const char* text,const char* text_end,float wrap_width,ImDrawTextFlags flags); CIMGUI_API const char* igImFontCalcWordWrapPositionEx(ImFont* font,float size,const char* text,const char* text_end,float wrap_width,ImDrawTextFlags flags);
CIMGUI_API const char* igImTextCalcWordWrapNextLineStart(const char* text,const char* text_end,ImDrawTextFlags flags); CIMGUI_API const char* igImTextCalcWordWrapNextLineStart(const char* text,const char* text_end,ImDrawTextFlags flags);
CIMGUI_API void igImTextInitClassifiers(void);
CIMGUI_API void igImTextClassifierClear(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class);
CIMGUI_API void igImTextClassifierSetCharClass(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,unsigned int c);
CIMGUI_API void igImTextClassifierSetCharClassFromStr(ImU32* bits,unsigned int codepoint_min,unsigned int codepoint_end,ImWcharClass char_class,const char* s);
CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode); CIMGUI_API ImFileHandle igImFileOpen(const char* filename,const char* mode);
CIMGUI_API bool igImFileClose(ImFileHandle file); CIMGUI_API bool igImFileClose(ImFileHandle file);
CIMGUI_API ImU64 igImFileGetSize(ImFileHandle file); CIMGUI_API ImU64 igImFileGetSize(ImFileHandle file);
@@ -4820,7 +4867,6 @@ CIMGUI_API void ImRect_TranslateX(ImRect* self,float dx);
CIMGUI_API void ImRect_TranslateY(ImRect* self,float dy); CIMGUI_API void ImRect_TranslateY(ImRect* self,float dy);
CIMGUI_API void ImRect_ClipWith(ImRect* self,const ImRect_c r); CIMGUI_API void ImRect_ClipWith(ImRect* self,const ImRect_c r);
CIMGUI_API void ImRect_ClipWithFull(ImRect* self,const ImRect_c r); CIMGUI_API void ImRect_ClipWithFull(ImRect* self,const ImRect_c r);
CIMGUI_API void ImRect_Floor(ImRect* self);
CIMGUI_API bool ImRect_IsInverted(ImRect* self); CIMGUI_API bool ImRect_IsInverted(ImRect* self);
CIMGUI_API ImVec4_c ImRect_ToVec4(ImRect* self); CIMGUI_API ImVec4_c ImRect_ToVec4(ImRect* self);
CIMGUI_API const ImVec4_c* ImRect_AsVec4(ImRect* self); CIMGUI_API const ImVec4_c* ImRect_AsVec4(ImRect* self);
@@ -4875,6 +4921,7 @@ CIMGUI_API void ImGuiInputTextState_ClearSelection(ImGuiInputTextState* self);
CIMGUI_API int ImGuiInputTextState_GetCursorPos(ImGuiInputTextState* self); CIMGUI_API int ImGuiInputTextState_GetCursorPos(ImGuiInputTextState* self);
CIMGUI_API int ImGuiInputTextState_GetSelectionStart(ImGuiInputTextState* self); CIMGUI_API int ImGuiInputTextState_GetSelectionStart(ImGuiInputTextState* self);
CIMGUI_API int ImGuiInputTextState_GetSelectionEnd(ImGuiInputTextState* self); CIMGUI_API int ImGuiInputTextState_GetSelectionEnd(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_SetSelection(ImGuiInputTextState* self,int start,int end);
CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self); CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_ReloadUserBufAndSelectAll(ImGuiInputTextState* self); CIMGUI_API void ImGuiInputTextState_ReloadUserBufAndSelectAll(ImGuiInputTextState* self);
CIMGUI_API void ImGuiInputTextState_ReloadUserBufAndKeepSelection(ImGuiInputTextState* self); CIMGUI_API void ImGuiInputTextState_ReloadUserBufAndKeepSelection(ImGuiInputTextState* self);
@@ -4960,6 +5007,8 @@ CIMGUI_API ImGuiDebugAllocInfo* ImGuiDebugAllocInfo_ImGuiDebugAllocInfo(void);
CIMGUI_API void ImGuiDebugAllocInfo_destroy(ImGuiDebugAllocInfo* self); CIMGUI_API void ImGuiDebugAllocInfo_destroy(ImGuiDebugAllocInfo* self);
CIMGUI_API ImGuiStackLevelInfo* ImGuiStackLevelInfo_ImGuiStackLevelInfo(void); CIMGUI_API ImGuiStackLevelInfo* ImGuiStackLevelInfo_ImGuiStackLevelInfo(void);
CIMGUI_API void ImGuiStackLevelInfo_destroy(ImGuiStackLevelInfo* self); CIMGUI_API void ImGuiStackLevelInfo_destroy(ImGuiStackLevelInfo* self);
CIMGUI_API ImGuiDebugItemPathQuery* ImGuiDebugItemPathQuery_ImGuiDebugItemPathQuery(void);
CIMGUI_API void ImGuiDebugItemPathQuery_destroy(ImGuiDebugItemPathQuery* self);
CIMGUI_API ImGuiIDStackTool* ImGuiIDStackTool_ImGuiIDStackTool(void); CIMGUI_API ImGuiIDStackTool* ImGuiIDStackTool_ImGuiIDStackTool(void);
CIMGUI_API void ImGuiIDStackTool_destroy(ImGuiIDStackTool* self); CIMGUI_API void ImGuiIDStackTool_destroy(ImGuiIDStackTool* self);
CIMGUI_API ImGuiContextHook* ImGuiContextHook_ImGuiContextHook(void); CIMGUI_API ImGuiContextHook* ImGuiContextHook_ImGuiContextHook(void);
@@ -4995,6 +5044,7 @@ CIMGUI_API void ImGuiTableSettings_destroy(ImGuiTableSettings* self);
CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiTableSettings* self); CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiTableSettings* self);
CIMGUI_API ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx); CIMGUI_API ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx);
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx); CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx);
CIMGUI_API float igGetScale(void);
CIMGUI_API ImGuiWindow* igGetCurrentWindowRead(void); CIMGUI_API ImGuiWindow* igGetCurrentWindowRead(void);
CIMGUI_API ImGuiWindow* igGetCurrentWindow(void); CIMGUI_API ImGuiWindow* igGetCurrentWindow(void);
CIMGUI_API ImGuiWindow* igFindWindowByID(ImGuiID id); CIMGUI_API ImGuiWindow* igFindWindowByID(ImGuiID id);
@@ -5003,6 +5053,7 @@ CIMGUI_API void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindow
CIMGUI_API void igUpdateWindowSkipRefresh(ImGuiWindow* window); CIMGUI_API void igUpdateWindowSkipRefresh(ImGuiWindow* window);
CIMGUI_API ImVec2_c igCalcWindowNextAutoFitSize(ImGuiWindow* window); CIMGUI_API ImVec2_c igCalcWindowNextAutoFitSize(ImGuiWindow* window);
CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy); CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy);
CIMGUI_API bool igIsWindowInBeginStack(ImGuiWindow* window);
CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent); CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent);
CIMGUI_API bool igIsWindowAbove(ImGuiWindow* potential_above,ImGuiWindow* potential_below); CIMGUI_API bool igIsWindowAbove(ImGuiWindow* potential_above,ImGuiWindow* potential_below);
CIMGUI_API bool igIsWindowNavFocusable(ImGuiWindow* window); CIMGUI_API bool igIsWindowNavFocusable(ImGuiWindow* window);
@@ -5041,6 +5092,10 @@ CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window);
CIMGUI_API void igAddDrawListToDrawDataEx(ImDrawData* draw_data,ImVector_ImDrawListPtr* out_list,ImDrawList* draw_list); CIMGUI_API void igAddDrawListToDrawDataEx(ImDrawData* draw_data,ImVector_ImDrawListPtr* out_list,ImDrawList* draw_list);
CIMGUI_API void igInitialize(void); CIMGUI_API void igInitialize(void);
CIMGUI_API void igShutdown(void); CIMGUI_API void igShutdown(void);
CIMGUI_API void igSetContextName(ImGuiContext* ctx,const char* name);
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* ctx,const ImGuiContextHook* hook);
CIMGUI_API void igRemoveContextHook(ImGuiContext* ctx,ImGuiID hook_to_remove);
CIMGUI_API void igCallContextHooks(ImGuiContext* ctx,ImGuiContextHookType type);
CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs); CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs);
CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(const ImVec2_c mouse_pos); CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(const ImVec2_c mouse_pos);
CIMGUI_API void igFindHoveredWindowEx(const ImVec2_c pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window); CIMGUI_API void igFindHoveredWindowEx(const ImVec2_c pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window);
@@ -5049,9 +5104,6 @@ CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode
CIMGUI_API void igStopMouseMovingWindow(void); CIMGUI_API void igStopMouseMovingWindow(void);
CIMGUI_API void igUpdateMouseMovingWindowNewFrame(void); CIMGUI_API void igUpdateMouseMovingWindowNewFrame(void);
CIMGUI_API void igUpdateMouseMovingWindowEndFrame(void); CIMGUI_API void igUpdateMouseMovingWindowEndFrame(void);
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* context,const ImGuiContextHook* hook);
CIMGUI_API void igRemoveContextHook(ImGuiContext* context,ImGuiID hook_to_remove);
CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType type);
CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2_c old_pos,const ImVec2_c new_pos,const ImVec2_c old_size,const ImVec2_c new_size); CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2_c old_pos,const ImVec2_c new_pos,const ImVec2_c old_size,const ImVec2_c new_size);
CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale); CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale);
CIMGUI_API void igDestroyPlatformWindow(ImGuiViewportP* viewport); CIMGUI_API void igDestroyPlatformWindow(ImGuiViewportP* viewport);
@@ -5080,7 +5132,6 @@ CIMGUI_API void igScrollToRect(ImGuiWindow* window,const ImRect_c rect,ImGuiScro
CIMGUI_API ImVec2_c igScrollToRectEx(ImGuiWindow* window,const ImRect_c rect,ImGuiScrollFlags flags); CIMGUI_API ImVec2_c igScrollToRectEx(ImGuiWindow* window,const ImRect_c rect,ImGuiScrollFlags flags);
CIMGUI_API void igScrollToBringRectIntoView(ImGuiWindow* window,const ImRect_c rect); CIMGUI_API void igScrollToBringRectIntoView(ImGuiWindow* window,const ImRect_c rect);
CIMGUI_API ImGuiItemStatusFlags igGetItemStatusFlags(void); CIMGUI_API ImGuiItemStatusFlags igGetItemStatusFlags(void);
CIMGUI_API ImGuiItemFlags igGetItemFlags(void);
CIMGUI_API ImGuiID igGetActiveID(void); CIMGUI_API ImGuiID igGetActiveID(void);
CIMGUI_API ImGuiID igGetFocusID(void); CIMGUI_API ImGuiID igGetFocusID(void);
CIMGUI_API void igSetActiveID(ImGuiID id,ImGuiWindow* window); CIMGUI_API void igSetActiveID(ImGuiID id,ImGuiWindow* window);
@@ -5126,6 +5177,7 @@ CIMGUI_API ImGuiWindow* igGetTopMostAndVisiblePopupModal(void);
CIMGUI_API ImGuiWindow* igFindBlockingModal(ImGuiWindow* window); CIMGUI_API ImGuiWindow* igFindBlockingModal(ImGuiWindow* window);
CIMGUI_API ImVec2_c igFindBestWindowPosForPopup(ImGuiWindow* window); CIMGUI_API ImVec2_c igFindBestWindowPosForPopup(ImGuiWindow* window);
CIMGUI_API ImVec2_c igFindBestWindowPosForPopupEx(const ImVec2_c ref_pos,const ImVec2_c size,ImGuiDir* last_dir,const ImRect_c r_outer,const ImRect_c r_avoid,ImGuiPopupPositionPolicy policy); CIMGUI_API ImVec2_c igFindBestWindowPosForPopupEx(const ImVec2_c ref_pos,const ImVec2_c size,ImGuiDir* last_dir,const ImRect_c r_outer,const ImRect_c r_avoid,ImGuiPopupPositionPolicy policy);
CIMGUI_API ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags);
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags); CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags);
CIMGUI_API bool igBeginTooltipHidden(void); CIMGUI_API bool igBeginTooltipHidden(void);
CIMGUI_API bool igBeginViewportSideBar(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags); CIMGUI_API bool igBeginViewportSideBar(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags);
@@ -5293,6 +5345,7 @@ CIMGUI_API bool igTableBeginContextMenuPopup(ImGuiTable* table);
CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table); CIMGUI_API void igTableMergeDrawChannels(ImGuiTable* table);
CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no); CIMGUI_API ImGuiTableInstanceData* igTableGetInstanceData(ImGuiTable* table,int instance_no);
CIMGUI_API ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no); CIMGUI_API ImGuiID igTableGetInstanceID(ImGuiTable* table,int instance_no);
CIMGUI_API void igTableFixDisplayOrder(ImGuiTable* table);
CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table); CIMGUI_API void igTableSortSpecsSanitize(ImGuiTable* table);
CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table); CIMGUI_API void igTableSortSpecsBuild(ImGuiTable* table);
CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column); CIMGUI_API ImGuiSortDirection igTableGetColumnNextSortDirection(ImGuiTableColumn* column);
@@ -5308,6 +5361,7 @@ CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int i
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n); CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n);
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n); CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table); CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table);
CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
CIMGUI_API void igTableRemove(ImGuiTable* table); CIMGUI_API void igTableRemove(ImGuiTable* table);
CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table); CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table);
CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table); CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table);
@@ -5350,6 +5404,7 @@ CIMGUI_API void igRenderTextClippedEx(ImDrawList* draw_list,const ImVec2_c pos_m
CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2_c pos_min,const ImVec2_c pos_max,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2_c* text_size_if_known); CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2_c pos_min,const ImVec2_c pos_max,float ellipsis_max_x,const char* text,const char* text_end,const ImVec2_c* text_size_if_known);
CIMGUI_API void igRenderFrame(ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,bool borders,float rounding); CIMGUI_API void igRenderFrame(ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,bool borders,float rounding);
CIMGUI_API void igRenderFrameBorder(ImVec2_c p_min,ImVec2_c p_max,float rounding); CIMGUI_API void igRenderFrameBorder(ImVec2_c p_min,ImVec2_c p_max,float rounding);
CIMGUI_API void igRenderColorComponentMarker(const ImRect_c bb,ImU32 col,float rounding);
CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,float grid_step,ImVec2_c grid_off,float rounding,ImDrawFlags flags); CIMGUI_API void igRenderColorRectWithAlphaCheckerboard(ImDrawList* draw_list,ImVec2_c p_min,ImVec2_c p_max,ImU32 fill_col,float grid_step,ImVec2_c grid_off,float rounding,ImDrawFlags flags);
CIMGUI_API void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags); CIMGUI_API void igRenderNavCursor(const ImRect_c bb,ImGuiID id,ImGuiNavRenderCursorFlags flags);
CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end); CIMGUI_API const char* igFindRenderedTextEnd(const char* text,const char* text_end);
@@ -5359,7 +5414,7 @@ CIMGUI_API void igRenderBullet(ImDrawList* draw_list,ImVec2_c pos,ImU32 col);
CIMGUI_API void igRenderCheckMark(ImDrawList* draw_list,ImVec2_c pos,ImU32 col,float sz); CIMGUI_API void igRenderCheckMark(ImDrawList* draw_list,ImVec2_c pos,ImU32 col,float sz);
CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2_c pos,ImVec2_c half_sz,ImGuiDir direction,ImU32 col); CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2_c pos,ImVec2_c half_sz,ImGuiDir direction,ImU32 col);
CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2_c p_min,float sz,ImU32 col); CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2_c p_min,float sz,ImU32 col);
CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding); CIMGUI_API void igRenderRectFilledInRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float fill_x0,float fill_x1,float rounding);
CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect_c outer,const ImRect_c inner,ImU32 col,float rounding); CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect_c outer,const ImRect_c inner,ImU32 col,float rounding);
CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect_c r_in,const ImRect_c r_outer,float threshold); CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect_c r_in,const ImRect_c r_outer,float threshold);
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags); CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags);
@@ -5412,6 +5467,7 @@ CIMGUI_API bool igIsItemActiveAsInputText(void);
CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags); CIMGUI_API void igColorTooltip(const char* text,const float* col,ImGuiColorEditFlags flags);
CIMGUI_API void igColorEditOptionsPopup(const float* col,ImGuiColorEditFlags flags); CIMGUI_API void igColorEditOptionsPopup(const float* col,ImGuiColorEditFlags flags);
CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFlags flags); CIMGUI_API void igColorPickerOptionsPopup(const float* ref_col,ImGuiColorEditFlags flags);
CIMGUI_API void igSetNextItemColorMarker(ImU32 col);
CIMGUI_API int igPlotEx(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2_c size_arg); CIMGUI_API int igPlotEx(ImGuiPlotType plot_type,const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,const ImVec2_c size_arg);
CIMGUI_API void igShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2_c gradient_p0,ImVec2_c gradient_p1,ImU32 col0,ImU32 col1); CIMGUI_API void igShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,ImVec2_c gradient_p0,ImVec2_c gradient_p1,ImU32 col0,ImU32 col1);
CIMGUI_API void igShadeVertsLinearUV(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2_c a,const ImVec2_c b,const ImVec2_c uv_a,const ImVec2_c uv_b,bool clamp); CIMGUI_API void igShadeVertsLinearUV(ImDrawList* draw_list,int vert_start_idx,int vert_end_idx,const ImVec2_c a,const ImVec2_c b,const ImVec2_c uv_a,const ImVec2_c uv_b,bool clamp);
@@ -5439,6 +5495,7 @@ CIMGUI_API void igDebugBreakClearData(void);
CIMGUI_API bool igDebugBreakButton(const char* label,const char* description_of_location); CIMGUI_API bool igDebugBreakButton(const char* label,const char* description_of_location);
CIMGUI_API void igDebugBreakButtonTooltip(bool keyboard_only,const char* description_of_location); CIMGUI_API void igDebugBreakButtonTooltip(bool keyboard_only,const char* description_of_location);
CIMGUI_API void igShowFontAtlas(ImFontAtlas* atlas); CIMGUI_API void igShowFontAtlas(ImFontAtlas* atlas);
CIMGUI_API ImU64 igDebugTextureIDToU64(ImTextureID tex_id);
CIMGUI_API void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end); CIMGUI_API void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end);
CIMGUI_API void igDebugNodeColumns(ImGuiOldColumns* columns); CIMGUI_API void igDebugNodeColumns(ImGuiOldColumns* columns);
CIMGUI_API void igDebugNodeDockNode(ImGuiDockNode* node,const char* label); CIMGUI_API void igDebugNodeDockNode(ImGuiDockNode* node,const char* label);
@@ -5475,6 +5532,7 @@ CIMGUI_API void igImFontAtlasBuildInit(ImFontAtlas* atlas);
CIMGUI_API void igImFontAtlasBuildDestroy(ImFontAtlas* atlas); CIMGUI_API void igImFontAtlasBuildDestroy(ImFontAtlas* atlas);
CIMGUI_API void igImFontAtlasBuildMain(ImFontAtlas* atlas); CIMGUI_API void igImFontAtlasBuildMain(ImFontAtlas* atlas);
CIMGUI_API void igImFontAtlasBuildSetupFontLoader(ImFontAtlas* atlas,const ImFontLoader* font_loader); CIMGUI_API void igImFontAtlasBuildSetupFontLoader(ImFontAtlas* atlas,const ImFontLoader* font_loader);
CIMGUI_API void igImFontAtlasBuildNotifySetFont(ImFontAtlas* atlas,ImFont* old_font,ImFont* new_font);
CIMGUI_API void igImFontAtlasBuildUpdatePointers(ImFontAtlas* atlas); CIMGUI_API void igImFontAtlasBuildUpdatePointers(ImFontAtlas* atlas);
CIMGUI_API void igImFontAtlasBuildRenderBitmapFromString(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char); CIMGUI_API void igImFontAtlasBuildRenderBitmapFromString(ImFontAtlas* atlas,int x,int y,int w,int h,const char* in_str,char in_marker_char);
CIMGUI_API void igImFontAtlasBuildClear(ImFontAtlas* atlas); CIMGUI_API void igImFontAtlasBuildClear(ImFontAtlas* atlas);
@@ -5493,6 +5551,7 @@ CIMGUI_API void igImFontAtlasFontSourceAddToFont(ImFontAtlas* atlas,ImFont* font
CIMGUI_API void igImFontAtlasFontDestroySourceData(ImFontAtlas* atlas,ImFontConfig* src); CIMGUI_API void igImFontAtlasFontDestroySourceData(ImFontAtlas* atlas,ImFontConfig* src);
CIMGUI_API bool igImFontAtlasFontInitOutput(ImFontAtlas* atlas,ImFont* font); CIMGUI_API bool igImFontAtlasFontInitOutput(ImFontAtlas* atlas,ImFont* font);
CIMGUI_API void igImFontAtlasFontDestroyOutput(ImFontAtlas* atlas,ImFont* font); CIMGUI_API void igImFontAtlasFontDestroyOutput(ImFontAtlas* atlas,ImFont* font);
CIMGUI_API void igImFontAtlasFontRebuildOutput(ImFontAtlas* atlas,ImFont* font);
CIMGUI_API void igImFontAtlasFontDiscardBakes(ImFontAtlas* atlas,ImFont* font,int unused_frames); CIMGUI_API void igImFontAtlasFontDiscardBakes(ImFontAtlas* atlas,ImFont* font,int unused_frames);
CIMGUI_API ImGuiID igImFontAtlasBakedGetId(ImGuiID font_id,float baked_size,float rasterizer_density); CIMGUI_API ImGuiID igImFontAtlasBakedGetId(ImGuiID font_id,float baked_size,float rasterizer_density);
CIMGUI_API ImFontBaked* igImFontAtlasBakedGetOrAdd(ImFontAtlas* atlas,ImFont* font,float font_size,float font_rasterizer_density); CIMGUI_API ImFontBaked* igImFontAtlasBakedGetOrAdd(ImFontAtlas* atlas,ImFont* font,float font_size,float font_rasterizer_density);

View File

@@ -60,6 +60,7 @@ struct SDL_Renderer;
struct _SDL_GameController; struct _SDL_GameController;
typedef union SDL_Event SDL_Event; typedef union SDL_Event SDL_Event;
typedef enum { ImGui_ImplSDL2_GamepadMode_AutoFirst, ImGui_ImplSDL2_GamepadMode_AutoAll, ImGui_ImplSDL2_GamepadMode_Manual }ImGui_ImplSDL2_GamepadMode; typedef enum { ImGui_ImplSDL2_GamepadMode_AutoFirst, ImGui_ImplSDL2_GamepadMode_AutoAll, ImGui_ImplSDL2_GamepadMode_Manual }ImGui_ImplSDL2_GamepadMode;
typedef enum { ImGui_ImplSDL2_MouseCaptureMode_Enabled, ImGui_ImplSDL2_MouseCaptureMode_EnabledAfterDrag, ImGui_ImplSDL2_MouseCaptureMode_Disabled }ImGui_ImplSDL2_MouseCaptureMode;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index); CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForDisplay(int display_index);
CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window); CIMGUI_API float ImGui_ImplSDL2_GetContentScaleForWindow(SDL_Window* window);
@@ -72,6 +73,7 @@ CIMGUI_API bool ImGui_ImplSDL2_InitForVulkan(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL2_NewFrame(void); CIMGUI_API void ImGui_ImplSDL2_NewFrame(void);
CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event); CIMGUI_API bool ImGui_ImplSDL2_ProcessEvent(const SDL_Event* event);
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_SetGamepadMode(ImGui_ImplSDL2_GamepadMode mode,struct _SDL_GameController** manual_gamepads_array,int manual_gamepads_count);
CIMGUI_API void ImGui_ImplSDL2_SetMouseCaptureMode(ImGui_ImplSDL2_MouseCaptureMode mode);
CIMGUI_API void ImGui_ImplSDL2_Shutdown(void); CIMGUI_API void ImGui_ImplSDL2_Shutdown(void);
#endif #endif
@@ -86,6 +88,7 @@ struct SDL_Renderer;
struct SDL_Gamepad; struct SDL_Gamepad;
typedef union SDL_Event SDL_Event; typedef union SDL_Event SDL_Event;
typedef enum { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual }ImGui_ImplSDL3_GamepadMode; typedef enum { ImGui_ImplSDL3_GamepadMode_AutoFirst, ImGui_ImplSDL3_GamepadMode_AutoAll, ImGui_ImplSDL3_GamepadMode_Manual }ImGui_ImplSDL3_GamepadMode;
typedef enum { ImGui_ImplSDL3_MouseCaptureMode_Enabled, ImGui_ImplSDL3_MouseCaptureMode_EnabledAfterDrag, ImGui_ImplSDL3_MouseCaptureMode_Disabled }ImGui_ImplSDL3_MouseCaptureMode;
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS #endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
CIMGUI_API bool ImGui_ImplSDL3_InitForD3D(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_InitForMetal(SDL_Window* window);
@@ -97,6 +100,7 @@ CIMGUI_API bool ImGui_ImplSDL3_InitForVulkan(SDL_Window* window);
CIMGUI_API void ImGui_ImplSDL3_NewFrame(void); CIMGUI_API void ImGui_ImplSDL3_NewFrame(void);
CIMGUI_API bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event); 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_SetGamepadMode(ImGui_ImplSDL3_GamepadMode mode,SDL_Gamepad** manual_gamepads_array,int manual_gamepads_count);
CIMGUI_API void ImGui_ImplSDL3_SetMouseCaptureMode(ImGui_ImplSDL3_MouseCaptureMode mode);
CIMGUI_API void ImGui_ImplSDL3_Shutdown(void); CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
#endif #endif
@@ -167,16 +171,16 @@ typedef struct ImVector_ImGui_ImplVulkanH_FrameSemaphores {int Size;int Capacity
struct ImGui_ImplVulkanH_Window struct ImGui_ImplVulkanH_Window
{ {
int Width; bool UseDynamicRendering;
int Height;
VkSwapchainKHR Swapchain;
VkSurfaceKHR Surface; VkSurfaceKHR Surface;
VkSurfaceFormatKHR SurfaceFormat; VkSurfaceFormatKHR SurfaceFormat;
VkPresentModeKHR PresentMode; VkPresentModeKHR PresentMode;
VkRenderPass RenderPass; VkAttachmentDescription AttachmentDesc;
bool UseDynamicRendering;
bool ClearEnable;
VkClearValue ClearValue; VkClearValue ClearValue;
int Width;
int Height;
VkSwapchainKHR Swapchain;
VkRenderPass RenderPass;
uint32_t FrameIndex; uint32_t FrameIndex;
uint32_t ImageCount; uint32_t ImageCount;
uint32_t SemaphoreCount; uint32_t SemaphoreCount;

View File

@@ -76,6 +76,25 @@ function M.prtable(...)
print("\n") print("\n")
end end
end end
local function deepcopy(object)
local lookup_table = {}
local function _copy(object)
--assert(object~=REST)
if type(object) ~= "table" then
return object
elseif lookup_table[object] then
return lookup_table[object]
end
local new_table = {}
lookup_table[object] = new_table
for index, value in pairs(object) do
new_table[_copy(index)] = _copy(value)
end
return setmetatable(new_table, getmetatable(object))
end
return _copy(object)
end
M.deepcopy = deepcopy
local function str_split(str, pat) local function str_split(str, pat)
local t = {} local t = {}
local fpat = "(.-)" .. pat local fpat = "(.-)" .. pat
@@ -529,7 +548,7 @@ local function name_overloadsAlgo(v)
for i=1,#v do for i=1,#v do
if not done[i] then if not done[i] then
bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l]) bb[i] = bb[i]..(aa[i][l]=="nil" and "" or aa[i][l])
cc[i][l] = aa[i][l] table.insert(cc[i], (aa[i][l]=="nil" and "" or aa[i][l]))
end end
end end
end end
@@ -544,7 +563,7 @@ local function name_overloadsAlgo(v)
end end
end end
--avoid empty postfix which will be reserved to generic --avoid empty postfix which will be reserved to generic
for i,v in ipairs(bb) do if v=="" then bb[i]="Nil" end end for i,v in ipairs(bb) do if v=="" then bb[i]="Nil"; table.insert(cc[i],"Nil") end end
return aa,bb,cc return aa,bb,cc
end end
M.name_overloadsAlgo = name_overloadsAlgo M.name_overloadsAlgo = name_overloadsAlgo
@@ -560,15 +579,26 @@ local function typetoStr(typ)
typ = typ:gsub("const%s","")--"c") typ = typ:gsub("const%s","")--"c")
typ = typ:gsub("%s+","_") typ = typ:gsub("%s+","_")
typ = typ:gsub("charPtr","Str") typ = typ:gsub("charPtr","Str")
typ = typ:gsub("int","Int") typ = typ:gsub("^int","Int")
typ = typ:gsub("^nil","Nil")
typ = typ:gsub("bool","Bool") typ = typ:gsub("bool","Bool")
typ = typ:gsub("float","Float") typ = typ:gsub("float","Float")
typ = typ:gsub("uInt","Uint") typ = typ:gsub("u[Ii]nt","Uint")
typ = typ:gsub("ImGui","") typ = typ:gsub("ImGui","")
--typ = typ:gsub("ImStr","STR") --typ = typ:gsub("ImStr","STR")
typ = typ:gsub("Im","") typ = typ:gsub("Im","")
typ = typ:gsub("[<>]","") typ = typ:gsub("[<>]","")
return "_"..typ return typ
-- return "_"..typ
end
local function typetoStrpat(pat,post,typsc)
local str = ""
for i,v in ipairs(pat) do
str = str..typetoStr(v)
end
--local str2 = typetoStr(post)
--if str~=str2 then print(1,str,2,str2);M.prtable(typesc,post,pat);error"DEBUG" end
return str
end end
--used to clean signature in function ptr argument --used to clean signature in function ptr argument
local function clean_names_from_signature(self,signat) local function clean_names_from_signature(self,signat)
@@ -1256,14 +1286,15 @@ local function get_nonPODused(FP)
local all_type_nP = {} local all_type_nP = {}
for k,v in pairs(typeargs) do for k,v in pairs(typeargs) do
local k2 = k:gsub("const ","") local k2 = k:gsub("const ","")
all_type_nP[k2] = true all_type_nP[k2] = nonPOD[k2]--true
end end
for k,v in pairs(typeargs_ret) do for k,v in pairs(typeargs_ret) do
local k2 = k:gsub("const ","") local k2 = k:gsub("const ","")
all_type_nP[k2] = true all_type_nP[k2] = nonPOD[k2]--true
end end
FP.nP_used = all_type_nP FP.nP_used = all_type_nP
--M.prtable("FP.nP_used",FP.nP_used) --M.prtable("FP.nP_used",FP.nP_used)
FP.structs_and_enums_table.nonPOD_used = FP.nP_used
FP.nP_args = typeargs FP.nP_args = typeargs
FP.nP_ret = typeargs_ret FP.nP_ret = typeargs_ret
--genConversions(FP) --genConversions(FP)
@@ -1593,6 +1624,7 @@ function M.Parser()
--try to guess a compiler error --try to guess a compiler error
assert(not errstr:match" error") assert(not errstr:match" error")
os.remove(errfile) os.remove(errfile)
self.constants = defines
return defines return defines
end end
function par:do_parse() function par:do_parse()
@@ -2034,6 +2066,17 @@ function M.Parser()
print("--skip enum forward declaration:",it2) print("--skip enum forward declaration:",it2)
it2 = "" it2 = ""
end end
--only vardef assign with number
local assig = it2:match("static const [^=]*=([^;]*);")
--print("it2",it2,"assig",assig,tonumber(assig))
if assig and not tonumber(assig) then
print("--skip = vardef declaration:",it2)
it2 = ""
end
if it2:match("%s*extern") then
print("--skip extern vardef declaration:",it2)
it2 = ""
end
end end
--table.insert(outtabpre,it2) --table.insert(outtabpre,it2)
--table.insert(outtab,it2) --table.insert(outtab,it2)
@@ -2320,6 +2363,15 @@ function M.Parser()
print(it.item) print(it.item)
end end
end end
elseif it.re_name == "vardef_re" then
local it2 = it.item:gsub("constexpr","static const")
if it2:match"static const" then
local name, assig = it2:match("static const %s*.+%s+([%w_]+)%s*=%s*([^;]*);")
--print(it2,name,assig)
if name and assig then
self.constants[name] = assig
end
end
end end
elseif it.re_name == "enum_re" then elseif it.re_name == "enum_re" then
enums_for_table(it, outtab, enumsordered) enums_for_table(it, outtab, enumsordered)
@@ -2444,7 +2496,7 @@ function M.Parser()
--print(k,#v) --print(k,#v)
table.insert(strt,string.format("%s\t%d",k,#v)) table.insert(strt,string.format("%s\t%d",k,#v))
local typesc,post,pat = name_overloadsAlgo(v) local typesc,post,pat = name_overloadsAlgo(v)
-- if k=="igImLerp" then -- if k=="ImPlot_PlotLine" then
-- print"----------------------" -- print"----------------------"
-- M.prtable(v) -- M.prtable(v)
-- M.prtable(typesc) -- M.prtable(typesc)
@@ -2454,7 +2506,7 @@ function M.Parser()
-- end -- end
for i,t in ipairs(v) do for i,t in ipairs(v) do
--take overloaded name from manual table or algorythm --take overloaded name from manual table or algorythm
t.ov_cimguiname = self.getCname_overload(t.stname,t.funcname,t.signature,t.namespace) or k..typetoStr(post[i]) t.ov_cimguiname = self.getCname_overload(t.stname,t.funcname,t.signature,t.namespace) or k.."_"..typetoStrpat(pat[i],post[i],typesc)
--check ... --check ...
if( t.ov_cimguiname:match"%.%.%.") then if( t.ov_cimguiname:match"%.%.%.") then
print("... in ov",t.ov_cimguiname) print("... in ov",t.ov_cimguiname)
@@ -2875,7 +2927,8 @@ local function location(file,locpathT,defines,COMPILER,keepemptylines)
if name and val then if name and val then
--while defines[val] do val = defines[val] end --while defines[val] do val = defines[val] end
--if val:match(number_re) or val:match(hex_re) then --if val:match(number_re) or val:match(hex_re) then
table.insert(defines,{name , val}) --table.insert(defines,{name , val})
defines[name] = val
--end --end
end end
end end
@@ -3009,7 +3062,7 @@ local function func_implementation(FP)
assert(def) assert(def)
local custom local custom
if FP.custom_implementation then if FP.custom_implementation then
custom = FP.custom_implementation(outtab, def) custom = FP.custom_implementation(outtab, def, FP)
end end
local manual = FP.get_manuals(def) local manual = FP.get_manuals(def)
if not custom and not manual and not def.templated and not FP.get_skipped(def) then if not custom and not manual and not def.templated and not FP.get_skipped(def) then

View File

@@ -39,10 +39,10 @@ if FREETYPE_GENERATION then
end end
if COMPILER == "gcc" or COMPILER == "clang" or COMPILER == "zig cc" then if COMPILER == "gcc" or COMPILER == "clang" or COMPILER == "zig cc" then
CPRE = COMPILER..[[ -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS CPRE = COMPILER..[[ -E -dD -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
CTEST = COMPILER.." --version" CTEST = COMPILER.." --version"
elseif COMPILER == "cl" then elseif COMPILER == "cl" then
CPRE = COMPILER..[[ /E /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS CPRE = COMPILER..[[ /E /d1PP /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
CTEST = COMPILER CTEST = COMPILER
else else
print("Working without compiler ") print("Working without compiler ")
@@ -398,7 +398,7 @@ local function parseImGuiHeader(header,names)
parser.custom_function_post = custom_function_post parser.custom_function_post = custom_function_post
parser.header_text_insert = header_text_insert parser.header_text_insert = header_text_insert
local defines = parser:take_lines(CPRE..header,names,COMPILER) local defines = parser:take_lines(CPRE..header,names,COMPILER)
--cpp2ffi.prtable("defines",defines)
return parser return parser
end end
--generation --generation
@@ -437,10 +437,11 @@ local structs_and_enums_table = parser1.structs_and_enums_table
structs_and_enums_table.templated_structs = parser1.templated_structs structs_and_enums_table.templated_structs = parser1.templated_structs
structs_and_enums_table.typenames = parser1.typenames structs_and_enums_table.typenames = parser1.typenames
structs_and_enums_table.templates_done = parser1.templates_done 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/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict)) save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
save_data("./output/constants.lua",serializeTableF(parser1.constants))
----------save fundefs in definitions.lua for using in bindings ----------save fundefs in definitions.lua for using in bindings
--DefsByStruct(pFP) --DefsByStruct(pFP)
set_defines(parser1.defsT) set_defines(parser1.defsT)
@@ -555,6 +556,7 @@ save_data("./output/definitions.json",json.encode(json_prepare(parser1.defsT),{d
--structs_and_enums_table.templates_done = nil --structs_and_enums_table.templates_done = nil
save_data("./output/structs_and_enums.json",json.encode(structs_and_enums_table)) save_data("./output/structs_and_enums.json",json.encode(structs_and_enums_table))
save_data("./output/typedefs_dict.json",json.encode(parser1.typedefs_dict)) save_data("./output/typedefs_dict.json",json.encode(parser1.typedefs_dict))
save_data("./output/constants.json",json.encode(parser1.constants))
if parser2 then if parser2 then
save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}})) save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}}))
end end

View File

@@ -0,0 +1,124 @@
{
"DOCKING_HOST_DRAW_CHANNEL_BG": "0",
"DOCKING_HOST_DRAW_CHANNEL_FG": "1",
"IMGUI_CHECKVERSION()": "ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))",
"IMGUI_DEBUG_LOG(...)": "ImGui::DebugLog(__VA_ARGS__)",
"IMGUI_DEBUG_LOG_ACTIVEID(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_CLIPPER(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_DOCKING(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_ERROR(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0)",
"IMGUI_DEBUG_LOG_FOCUS(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_FONT(...)": "do { ImGuiContext* g2 = GImGui; if (g2 && g2->DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_INPUTROUTING(...)": "do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_IO(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_NAV(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_POPUP(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_SELECTION(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_LOG_VIEWPORT(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
"IMGUI_DEBUG_PRINTF(_FMT,...)": "printf(_FMT, __VA_ARGS__)",
"IMGUI_FONT_SIZE_MAX": "(512.0f)",
"IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE": "(128.0f)",
"IMGUI_PAYLOAD_TYPE_COLOR_3F": "\"_COL3F\"",
"IMGUI_PAYLOAD_TYPE_COLOR_4F": "\"_COL4F\"",
"IMGUI_PAYLOAD_TYPE_WINDOW": "\"_IMWINDOW\"",
"IMGUI_TABLE_MAX_COLUMNS": "512",
"IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)": "((void)0)",
"IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)": "((void)g)",
"IMGUI_VERSION": "\"1.92.6\"",
"IMGUI_VERSION_NUM": "19261",
"IMGUI_WINDOW_HARD_MIN_SIZE": "4.0f",
"IMSTB_TEXTEDIT_CHARTYPE": "char",
"IMSTB_TEXTEDIT_GETWIDTH_NEWLINE": "(-1.0f)",
"IMSTB_TEXTEDIT_STRING": "ImGuiInputTextState",
"IMSTB_TEXTEDIT_UNDOCHARCOUNT": "999",
"IMSTB_TEXTEDIT_UNDOSTATECOUNT": "99",
"IM_ALLOC(_SIZE)": "ImGui::MemAlloc(_SIZE)",
"IM_ARRAYSIZE": "IM_COUNTOF",
"IM_ASSERT(_EXPR)": "assert(_EXPR)",
"IM_ASSERT_USER_ERROR(_EXPR,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } } while (0)",
"IM_ASSERT_USER_ERROR_RET(_EXPR,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return; } } while (0)",
"IM_ASSERT_USER_ERROR_RETV(_EXPR,_RETV,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return _RETV; } } while (0)",
"IM_BITARRAY_CLEARBIT(_ARRAY,_N)": "((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31))))",
"IM_BITARRAY_TESTBIT(_ARRAY,_N)": "((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0)",
"IM_COL32(R,G,B,A)": "(((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))",
"IM_COL32_A_MASK": "0xFF000000",
"IM_COL32_A_SHIFT": "24",
"IM_COL32_BLACK": "IM_COL32(0,0,0,255)",
"IM_COL32_BLACK_TRANS": "IM_COL32(0,0,0,0)",
"IM_COL32_B_SHIFT": "16",
"IM_COL32_DISABLE": "IM_COL32(0,0,0,1)",
"IM_COL32_G_SHIFT": "8",
"IM_COL32_R_SHIFT": "0",
"IM_COL32_WHITE": "IM_COL32(255,255,255,255)",
"IM_COUNTOF(_ARR)": "((int)(sizeof(_ARR) / sizeof(*(_ARR))))",
"IM_DEBUG_BREAK()": "__asm__ volatile(\"int3;nop\")",
"IM_DRAWLIST_ARCFAST_SAMPLE_MAX": "IM_DRAWLIST_ARCFAST_TABLE_SIZE",
"IM_DRAWLIST_ARCFAST_TABLE_SIZE": "48",
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR)": "ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX)",
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD)": "((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD))",
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR)": "((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))))",
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX": "512",
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN": "4",
"IM_DRAWLIST_TEX_LINES_WIDTH_MAX": "(32)",
"IM_F32_TO_INT8_SAT(_VAL)": "((int)(ImSaturate(_VAL) * 255.0f + 0.5f))",
"IM_F32_TO_INT8_UNBOUND(_VAL)": "((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f)))",
"IM_FMTARGS(FMT)": "__attribute__((format(gnu_printf, FMT, FMT+1)))",
"IM_FMTLIST(FMT)": "__attribute__((format(gnu_printf, FMT, 0)))",
"IM_FREE(_PTR)": "ImGui::MemFree(_PTR)",
"IM_MEMALIGN(_OFF,_ALIGN)": "(((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1))",
"IM_NEW(_TYPE)": "new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE",
"IM_NEWLINE": "\"\\r\\n\"",
"IM_PI": "3.14159265358979323846f",
"IM_PLACEMENT_NEW(_PTR)": "new(ImNewWrapper(), _PTR)",
"IM_PRIX64": "\"llX\"",
"IM_PRId64": "\"lld\"",
"IM_PRIu64": "\"llu\"",
"IM_ROUND(_VAL)": "((float)(int)((_VAL) + 0.5f))",
"IM_ROUNDUP_TO_EVEN(_V)": "((((_V) + 1) / 2) * 2)",
"IM_STATIC_ASSERT(_COND)": "static_assert(_COND, \"\")",
"IM_STRINGIFY(_EXPR)": "IM_STRINGIFY_HELPER(_EXPR)",
"IM_STRINGIFY_HELPER(_EXPR)": "#_EXPR",
"IM_TABSIZE": "(4)",
"IM_TRUNC(_VAL)": "((float)(int)(_VAL))",
"IM_UNICODE_CODEPOINT_INVALID": "0xFFFD",
"IM_UNICODE_CODEPOINT_MAX": "0xFFFF",
"IM_UNUSED(_VAR)": "((void)(_VAR))",
"ImAcos(X)": "acosf(X)",
"ImAtan2(Y,X)": "atan2f((Y), (X))",
"ImAtof(STR)": "atof(STR)",
"ImCeil(X)": "ceilf(X)",
"ImCos(X)": "cosf(X)",
"ImDrawCallback_ResetRenderState": "(ImDrawCallback)(-8)",
"ImFabs(X)": "fabsf(X)",
"ImFmod(X,Y)": "fmodf((X), (Y))",
"ImFontAtlasRectId_GenerationMask_": "(0x3FF00000)",
"ImFontAtlasRectId_GenerationShift_": "(20)",
"ImFontAtlasRectId_IndexMask_": "(0x0007FFFF)",
"ImFontAtlasRectId_Invalid": "-1",
"ImGuiKeyOwner_Any": "((ImGuiID)0)",
"ImGuiKeyOwner_NoOwner": "((ImGuiID)-1)",
"ImGuiKey_Aliases_BEGIN": "(ImGuiKey_Mouse_BEGIN)",
"ImGuiKey_Aliases_END": "(ImGuiKey_Mouse_END)",
"ImGuiKey_Gamepad_BEGIN": "(ImGuiKey_GamepadStart)",
"ImGuiKey_Gamepad_END": "(ImGuiKey_GamepadRStickDown + 1)",
"ImGuiKey_Keyboard_BEGIN": "(ImGuiKey_NamedKey_BEGIN)",
"ImGuiKey_Keyboard_END": "(ImGuiKey_GamepadStart)",
"ImGuiKey_LegacyNativeKey_BEGIN": "0",
"ImGuiKey_LegacyNativeKey_END": "512",
"ImGuiKey_Mouse_BEGIN": "(ImGuiKey_MouseLeft)",
"ImGuiKey_Mouse_END": "(ImGuiKey_MouseWheelY + 1)",
"ImGuiKey_NavGamepadActivate": "(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown)",
"ImGuiKey_NavGamepadCancel": "(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight)",
"ImGuiKey_NavGamepadInput": "ImGuiKey_GamepadFaceUp",
"ImGuiKey_NavGamepadMenu": "ImGuiKey_GamepadFaceLeft",
"ImGuiKey_NavGamepadTweakFast": "ImGuiKey_GamepadR1",
"ImGuiKey_NavGamepadTweakSlow": "ImGuiKey_GamepadL1",
"ImGuiKey_NavKeyboardTweakFast": "ImGuiMod_Shift",
"ImGuiKey_NavKeyboardTweakSlow": "ImGuiMod_Ctrl",
"ImGuiSelectionUserData_Invalid": "((ImGuiSelectionUserData)-1)",
"ImMemchr": "memchr",
"ImSin(X)": "sinf(X)",
"ImSqrt(X)": "sqrtf(X)",
"ImStrlen": "strlen",
"ImTextureID_Invalid": "((ImTextureID)0)"
}

View File

@@ -0,0 +1,124 @@
local t={
DOCKING_HOST_DRAW_CHANNEL_BG="0",
DOCKING_HOST_DRAW_CHANNEL_FG="1",
["IMGUI_CHECKVERSION()"]="ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))",
["IMGUI_DEBUG_LOG(...)"]="ImGui::DebugLog(__VA_ARGS__)",
["IMGUI_DEBUG_LOG_ACTIVEID(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_CLIPPER(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_DOCKING(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_ERROR(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0)",
["IMGUI_DEBUG_LOG_FOCUS(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_FONT(...)"]="do { ImGuiContext* g2 = GImGui; if (g2 && g2->DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_INPUTROUTING(...)"]="do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_IO(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_NAV(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_POPUP(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_SELECTION(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_LOG_VIEWPORT(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
["IMGUI_DEBUG_PRINTF(_FMT,...)"]="printf(_FMT, __VA_ARGS__)",
IMGUI_FONT_SIZE_MAX="(512.0f)",
IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE="(128.0f)",
IMGUI_PAYLOAD_TYPE_COLOR_3F="\"_COL3F\"",
IMGUI_PAYLOAD_TYPE_COLOR_4F="\"_COL4F\"",
IMGUI_PAYLOAD_TYPE_WINDOW="\"_IMWINDOW\"",
IMGUI_TABLE_MAX_COLUMNS="512",
["IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)"]="((void)0)",
["IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)"]="((void)g)",
IMGUI_VERSION="\"1.92.6\"",
IMGUI_VERSION_NUM="19261",
IMGUI_WINDOW_HARD_MIN_SIZE="4.0f",
IMSTB_TEXTEDIT_CHARTYPE="char",
IMSTB_TEXTEDIT_GETWIDTH_NEWLINE="(-1.0f)",
IMSTB_TEXTEDIT_STRING="ImGuiInputTextState",
IMSTB_TEXTEDIT_UNDOCHARCOUNT="999",
IMSTB_TEXTEDIT_UNDOSTATECOUNT="99",
["IM_ALLOC(_SIZE)"]="ImGui::MemAlloc(_SIZE)",
IM_ARRAYSIZE="IM_COUNTOF",
["IM_ASSERT(_EXPR)"]="assert(_EXPR)",
["IM_ASSERT_USER_ERROR(_EXPR,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } } while (0)",
["IM_ASSERT_USER_ERROR_RET(_EXPR,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return; } } while (0)",
["IM_ASSERT_USER_ERROR_RETV(_EXPR,_RETV,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return _RETV; } } while (0)",
["IM_BITARRAY_CLEARBIT(_ARRAY,_N)"]="((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31))))",
["IM_BITARRAY_TESTBIT(_ARRAY,_N)"]="((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0)",
["IM_COL32(R,G,B,A)"]="(((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))",
IM_COL32_A_MASK="0xFF000000",
IM_COL32_A_SHIFT="24",
IM_COL32_BLACK="IM_COL32(0,0,0,255)",
IM_COL32_BLACK_TRANS="IM_COL32(0,0,0,0)",
IM_COL32_B_SHIFT="16",
IM_COL32_DISABLE="IM_COL32(0,0,0,1)",
IM_COL32_G_SHIFT="8",
IM_COL32_R_SHIFT="0",
IM_COL32_WHITE="IM_COL32(255,255,255,255)",
["IM_COUNTOF(_ARR)"]="((int)(sizeof(_ARR) / sizeof(*(_ARR))))",
["IM_DEBUG_BREAK()"]="__asm__ volatile(\"int3;nop\")",
IM_DRAWLIST_ARCFAST_SAMPLE_MAX="IM_DRAWLIST_ARCFAST_TABLE_SIZE",
IM_DRAWLIST_ARCFAST_TABLE_SIZE="48",
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR)"]="ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX)",
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD)"]="((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD))",
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR)"]="((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))))",
IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX="512",
IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN="4",
IM_DRAWLIST_TEX_LINES_WIDTH_MAX="(32)",
["IM_F32_TO_INT8_SAT(_VAL)"]="((int)(ImSaturate(_VAL) * 255.0f + 0.5f))",
["IM_F32_TO_INT8_UNBOUND(_VAL)"]="((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f)))",
["IM_FMTARGS(FMT)"]="__attribute__((format(gnu_printf, FMT, FMT+1)))",
["IM_FMTLIST(FMT)"]="__attribute__((format(gnu_printf, FMT, 0)))",
["IM_FREE(_PTR)"]="ImGui::MemFree(_PTR)",
["IM_MEMALIGN(_OFF,_ALIGN)"]="(((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1))",
["IM_NEW(_TYPE)"]="new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE",
IM_NEWLINE="\"\\r\\n\"",
IM_PI="3.14159265358979323846f",
["IM_PLACEMENT_NEW(_PTR)"]="new(ImNewWrapper(), _PTR)",
IM_PRIX64="\"llX\"",
IM_PRId64="\"lld\"",
IM_PRIu64="\"llu\"",
["IM_ROUND(_VAL)"]="((float)(int)((_VAL) + 0.5f))",
["IM_ROUNDUP_TO_EVEN(_V)"]="((((_V) + 1) / 2) * 2)",
["IM_STATIC_ASSERT(_COND)"]="static_assert(_COND, \"\")",
["IM_STRINGIFY(_EXPR)"]="IM_STRINGIFY_HELPER(_EXPR)",
["IM_STRINGIFY_HELPER(_EXPR)"]="#_EXPR",
IM_TABSIZE="(4)",
["IM_TRUNC(_VAL)"]="((float)(int)(_VAL))",
IM_UNICODE_CODEPOINT_INVALID="0xFFFD",
IM_UNICODE_CODEPOINT_MAX="0xFFFF",
["IM_UNUSED(_VAR)"]="((void)(_VAR))",
["ImAcos(X)"]="acosf(X)",
["ImAtan2(Y,X)"]="atan2f((Y), (X))",
["ImAtof(STR)"]="atof(STR)",
["ImCeil(X)"]="ceilf(X)",
["ImCos(X)"]="cosf(X)",
ImDrawCallback_ResetRenderState="(ImDrawCallback)(-8)",
["ImFabs(X)"]="fabsf(X)",
["ImFmod(X,Y)"]="fmodf((X), (Y))",
ImFontAtlasRectId_GenerationMask_="(0x3FF00000)",
ImFontAtlasRectId_GenerationShift_="(20)",
ImFontAtlasRectId_IndexMask_="(0x0007FFFF)",
ImFontAtlasRectId_Invalid="-1",
ImGuiKeyOwner_Any="((ImGuiID)0)",
ImGuiKeyOwner_NoOwner="((ImGuiID)-1)",
ImGuiKey_Aliases_BEGIN="(ImGuiKey_Mouse_BEGIN)",
ImGuiKey_Aliases_END="(ImGuiKey_Mouse_END)",
ImGuiKey_Gamepad_BEGIN="(ImGuiKey_GamepadStart)",
ImGuiKey_Gamepad_END="(ImGuiKey_GamepadRStickDown + 1)",
ImGuiKey_Keyboard_BEGIN="(ImGuiKey_NamedKey_BEGIN)",
ImGuiKey_Keyboard_END="(ImGuiKey_GamepadStart)",
ImGuiKey_LegacyNativeKey_BEGIN="0",
ImGuiKey_LegacyNativeKey_END="512",
ImGuiKey_Mouse_BEGIN="(ImGuiKey_MouseLeft)",
ImGuiKey_Mouse_END="(ImGuiKey_MouseWheelY + 1)",
ImGuiKey_NavGamepadActivate="(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown)",
ImGuiKey_NavGamepadCancel="(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight)",
ImGuiKey_NavGamepadInput="ImGuiKey_GamepadFaceUp",
ImGuiKey_NavGamepadMenu="ImGuiKey_GamepadFaceLeft",
ImGuiKey_NavGamepadTweakFast="ImGuiKey_GamepadR1",
ImGuiKey_NavGamepadTweakSlow="ImGuiKey_GamepadL1",
ImGuiKey_NavKeyboardTweakFast="ImGuiMod_Shift",
ImGuiKey_NavKeyboardTweakSlow="ImGuiMod_Ctrl",
ImGuiSelectionUserData_Invalid="((ImGuiSelectionUserData)-1)",
ImMemchr="memchr",
["ImSin(X)"]="sinf(X)",
["ImSqrt(X)"]="sqrtf(X)",
ImStrlen="strlen",
ImTextureID_Invalid="((ImTextureID)0)"}
return t

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1000,6 +1000,28 @@
"stname": "" "stname": ""
} }
], ],
"ImGui_ImplSDL2_SetMouseCaptureMode": [
{
"args": "(ImGui_ImplSDL2_MouseCaptureMode mode)",
"argsT": [
{
"name": "mode",
"type": "ImGui_ImplSDL2_MouseCaptureMode"
}
],
"argsoriginal": "(ImGui_ImplSDL2_MouseCaptureMode mode)",
"call_args": "(mode)",
"call_args_old": "(mode)",
"cimguiname": "ImGui_ImplSDL2_SetMouseCaptureMode",
"defaults": {},
"funcname": "ImGui_ImplSDL2_SetMouseCaptureMode",
"location": "imgui_impl_sdl2:59",
"ov_cimguiname": "ImGui_ImplSDL2_SetMouseCaptureMode",
"ret": "void",
"signature": "(ImGui_ImplSDL2_MouseCaptureMode)",
"stname": ""
}
],
"ImGui_ImplSDL2_Shutdown": [ "ImGui_ImplSDL2_Shutdown": [
{ {
"args": "()", "args": "()",
@@ -1251,6 +1273,28 @@
"stname": "" "stname": ""
} }
], ],
"ImGui_ImplSDL3_SetMouseCaptureMode": [
{
"args": "(ImGui_ImplSDL3_MouseCaptureMode mode)",
"argsT": [
{
"name": "mode",
"type": "ImGui_ImplSDL3_MouseCaptureMode"
}
],
"argsoriginal": "(ImGui_ImplSDL3_MouseCaptureMode mode)",
"call_args": "(mode)",
"call_args_old": "(mode)",
"cimguiname": "ImGui_ImplSDL3_SetMouseCaptureMode",
"defaults": {},
"funcname": "ImGui_ImplSDL3_SetMouseCaptureMode",
"location": "imgui_impl_sdl3:55",
"ov_cimguiname": "ImGui_ImplSDL3_SetMouseCaptureMode",
"ret": "void",
"signature": "(ImGui_ImplSDL3_MouseCaptureMode)",
"stname": ""
}
],
"ImGui_ImplSDL3_Shutdown": [ "ImGui_ImplSDL3_Shutdown": [
{ {
"args": "()", "args": "()",
@@ -1319,7 +1363,7 @@
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow", "cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow", "funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"location": "imgui_impl_vulkan:193", "location": "imgui_impl_vulkan:207",
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow", "ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
"ret": "void", "ret": "void",
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)", "signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
@@ -1353,7 +1397,7 @@
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow", "cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_DestroyWindow", "funcname": "ImGui_ImplVulkanH_DestroyWindow",
"location": "imgui_impl_vulkan:194", "location": "imgui_impl_vulkan:208",
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow", "ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
"ret": "void", "ret": "void",
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)", "signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1375,7 +1419,7 @@
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", "cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", "funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"location": "imgui_impl_vulkan:199", "location": "imgui_impl_vulkan:213",
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", "ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
"ret": "int", "ret": "int",
"signature": "(VkPresentModeKHR)", "signature": "(VkPresentModeKHR)",
@@ -1397,7 +1441,7 @@
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport", "cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport", "funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"location": "imgui_impl_vulkan:200", "location": "imgui_impl_vulkan:214",
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport", "ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
"ret": "ImGui_ImplVulkanH_Window*", "ret": "ImGui_ImplVulkanH_Window*",
"signature": "(ImGuiViewport*)", "signature": "(ImGuiViewport*)",
@@ -1419,7 +1463,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice", "cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice", "funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"location": "imgui_impl_vulkan:197", "location": "imgui_impl_vulkan:211",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice", "ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
"ret": "VkPhysicalDevice", "ret": "VkPhysicalDevice",
"signature": "(VkInstance)", "signature": "(VkInstance)",
@@ -1453,7 +1497,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode", "cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectPresentMode", "funcname": "ImGui_ImplVulkanH_SelectPresentMode",
"location": "imgui_impl_vulkan:196", "location": "imgui_impl_vulkan:210",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode", "ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
"ret": "VkPresentModeKHR", "ret": "VkPresentModeKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)", "signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1475,7 +1519,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex", "cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex", "funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"location": "imgui_impl_vulkan:198", "location": "imgui_impl_vulkan:212",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex", "ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
"ret": "uint32_t", "ret": "uint32_t",
"signature": "(VkPhysicalDevice)", "signature": "(VkPhysicalDevice)",
@@ -1513,7 +1557,7 @@
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat", "cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat", "funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"location": "imgui_impl_vulkan:195", "location": "imgui_impl_vulkan:209",
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat", "ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
"ret": "VkSurfaceFormatKHR", "ret": "VkSurfaceFormatKHR",
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)", "signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1531,7 +1575,7 @@
"constructor": true, "constructor": true,
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkanH_Window", "funcname": "ImGui_ImplVulkanH_Window",
"location": "imgui_impl_vulkan:242", "location": "imgui_impl_vulkan:259",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window", "ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
"signature": "()", "signature": "()",
"stname": "ImGui_ImplVulkanH_Window" "stname": "ImGui_ImplVulkanH_Window"
@@ -1550,7 +1594,7 @@
"cimguiname": "ImGui_ImplVulkanH_Window_destroy", "cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"defaults": {}, "defaults": {},
"destructor": true, "destructor": true,
"location": "imgui_impl_vulkan:242", "location": "imgui_impl_vulkan:259",
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy", "ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
"ret": "void", "ret": "void",
"signature": "(ImGui_ImplVulkanH_Window*)", "signature": "(ImGui_ImplVulkanH_Window*)",
@@ -1580,7 +1624,7 @@
"cimguiname": "ImGui_ImplVulkan_AddTexture", "cimguiname": "ImGui_ImplVulkan_AddTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_AddTexture", "funcname": "ImGui_ImplVulkan_AddTexture",
"location": "imgui_impl_vulkan:150", "location": "imgui_impl_vulkan:165",
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture", "ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
"ret": "VkDescriptorSet", "ret": "VkDescriptorSet",
"signature": "(VkSampler,VkImageView,VkImageLayout)", "signature": "(VkSampler,VkImageView,VkImageLayout)",
@@ -1602,7 +1646,7 @@
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline", "cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_CreateMainPipeline", "funcname": "ImGui_ImplVulkan_CreateMainPipeline",
"location": "imgui_impl_vulkan:142", "location": "imgui_impl_vulkan:157",
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline", "ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
"ret": "void", "ret": "void",
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)", "signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
@@ -1624,7 +1668,7 @@
"cimguiname": "ImGui_ImplVulkan_Init", "cimguiname": "ImGui_ImplVulkan_Init",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_Init", "funcname": "ImGui_ImplVulkan_Init",
"location": "imgui_impl_vulkan:133", "location": "imgui_impl_vulkan:148",
"ov_cimguiname": "ImGui_ImplVulkan_Init", "ov_cimguiname": "ImGui_ImplVulkan_Init",
"ret": "bool", "ret": "bool",
"signature": "(ImGui_ImplVulkan_InitInfo*)", "signature": "(ImGui_ImplVulkan_InitInfo*)",
@@ -1656,7 +1700,7 @@
"user_data": "nullptr" "user_data": "nullptr"
}, },
"funcname": "ImGui_ImplVulkan_LoadFunctions", "funcname": "ImGui_ImplVulkan_LoadFunctions",
"location": "imgui_impl_vulkan:155", "location": "imgui_impl_vulkan:170",
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions", "ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
"ret": "bool", "ret": "bool",
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)", "signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1673,7 +1717,7 @@
"cimguiname": "ImGui_ImplVulkan_NewFrame", "cimguiname": "ImGui_ImplVulkan_NewFrame",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_NewFrame", "funcname": "ImGui_ImplVulkan_NewFrame",
"location": "imgui_impl_vulkan:135", "location": "imgui_impl_vulkan:150",
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame", "ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -1695,7 +1739,7 @@
"cimguiname": "ImGui_ImplVulkan_RemoveTexture", "cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_RemoveTexture", "funcname": "ImGui_ImplVulkan_RemoveTexture",
"location": "imgui_impl_vulkan:151", "location": "imgui_impl_vulkan:166",
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture", "ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
"ret": "void", "ret": "void",
"signature": "(VkDescriptorSet)", "signature": "(VkDescriptorSet)",
@@ -1727,7 +1771,7 @@
"pipeline": "0ULL" "pipeline": "0ULL"
}, },
"funcname": "ImGui_ImplVulkan_RenderDrawData", "funcname": "ImGui_ImplVulkan_RenderDrawData",
"location": "imgui_impl_vulkan:136", "location": "imgui_impl_vulkan:151",
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData", "ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
"ret": "void", "ret": "void",
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)", "signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1749,7 +1793,7 @@
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount", "cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_SetMinImageCount", "funcname": "ImGui_ImplVulkan_SetMinImageCount",
"location": "imgui_impl_vulkan:137", "location": "imgui_impl_vulkan:152",
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount", "ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
"ret": "void", "ret": "void",
"signature": "(uint32_t)", "signature": "(uint32_t)",
@@ -1766,7 +1810,7 @@
"cimguiname": "ImGui_ImplVulkan_Shutdown", "cimguiname": "ImGui_ImplVulkan_Shutdown",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_Shutdown", "funcname": "ImGui_ImplVulkan_Shutdown",
"location": "imgui_impl_vulkan:134", "location": "imgui_impl_vulkan:149",
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown", "ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
"ret": "void", "ret": "void",
"signature": "()", "signature": "()",
@@ -1788,7 +1832,7 @@
"cimguiname": "ImGui_ImplVulkan_UpdateTexture", "cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"defaults": {}, "defaults": {},
"funcname": "ImGui_ImplVulkan_UpdateTexture", "funcname": "ImGui_ImplVulkan_UpdateTexture",
"location": "imgui_impl_vulkan:145", "location": "imgui_impl_vulkan:160",
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture", "ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
"ret": "void", "ret": "void",
"signature": "(ImTextureData*)", "signature": "(ImTextureData*)",

View File

@@ -868,6 +868,25 @@ local t={
signature="(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)", signature="(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
stname=""}, stname=""},
["(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)"]=nil}, ["(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)"]=nil},
ImGui_ImplSDL2_SetMouseCaptureMode={
[1]={
args="(ImGui_ImplSDL2_MouseCaptureMode mode)",
argsT={
[1]={
name="mode",
type="ImGui_ImplSDL2_MouseCaptureMode"}},
argsoriginal="(ImGui_ImplSDL2_MouseCaptureMode mode)",
call_args="(mode)",
call_args_old="(mode)",
cimguiname="ImGui_ImplSDL2_SetMouseCaptureMode",
defaults={},
funcname="ImGui_ImplSDL2_SetMouseCaptureMode",
location="imgui_impl_sdl2:59",
ov_cimguiname="ImGui_ImplSDL2_SetMouseCaptureMode",
ret="void",
signature="(ImGui_ImplSDL2_MouseCaptureMode)",
stname=""},
["(ImGui_ImplSDL2_MouseCaptureMode)"]=nil},
ImGui_ImplSDL2_Shutdown={ ImGui_ImplSDL2_Shutdown={
[1]={ [1]={
args="()", args="()",
@@ -1085,6 +1104,25 @@ local t={
signature="(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)", signature="(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
stname=""}, stname=""},
["(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"]=nil}, ["(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"]=nil},
ImGui_ImplSDL3_SetMouseCaptureMode={
[1]={
args="(ImGui_ImplSDL3_MouseCaptureMode mode)",
argsT={
[1]={
name="mode",
type="ImGui_ImplSDL3_MouseCaptureMode"}},
argsoriginal="(ImGui_ImplSDL3_MouseCaptureMode mode)",
call_args="(mode)",
call_args_old="(mode)",
cimguiname="ImGui_ImplSDL3_SetMouseCaptureMode",
defaults={},
funcname="ImGui_ImplSDL3_SetMouseCaptureMode",
location="imgui_impl_sdl3:55",
ov_cimguiname="ImGui_ImplSDL3_SetMouseCaptureMode",
ret="void",
signature="(ImGui_ImplSDL3_MouseCaptureMode)",
stname=""},
["(ImGui_ImplSDL3_MouseCaptureMode)"]=nil},
ImGui_ImplSDL3_Shutdown={ ImGui_ImplSDL3_Shutdown={
[1]={ [1]={
args="()", args="()",
@@ -1141,7 +1179,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow", cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow", funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
location="imgui_impl_vulkan:193", location="imgui_impl_vulkan:207",
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow", ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
ret="void", ret="void",
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)", signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
@@ -1169,7 +1207,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_DestroyWindow", cimguiname="ImGui_ImplVulkanH_DestroyWindow",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_DestroyWindow", funcname="ImGui_ImplVulkanH_DestroyWindow",
location="imgui_impl_vulkan:194", location="imgui_impl_vulkan:208",
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow", ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
ret="void", ret="void",
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)", signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
@@ -1188,7 +1226,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
location="imgui_impl_vulkan:199", location="imgui_impl_vulkan:213",
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode", ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
ret="int", ret="int",
signature="(VkPresentModeKHR)", signature="(VkPresentModeKHR)",
@@ -1207,7 +1245,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport", cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport", funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
location="imgui_impl_vulkan:200", location="imgui_impl_vulkan:214",
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport", ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
ret="ImGui_ImplVulkanH_Window*", ret="ImGui_ImplVulkanH_Window*",
signature="(ImGuiViewport*)", signature="(ImGuiViewport*)",
@@ -1226,7 +1264,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice", cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice", funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
location="imgui_impl_vulkan:197", location="imgui_impl_vulkan:211",
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice", ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
ret="VkPhysicalDevice", ret="VkPhysicalDevice",
signature="(VkInstance)", signature="(VkInstance)",
@@ -1254,7 +1292,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectPresentMode", cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectPresentMode", funcname="ImGui_ImplVulkanH_SelectPresentMode",
location="imgui_impl_vulkan:196", location="imgui_impl_vulkan:210",
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode", ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
ret="VkPresentModeKHR", ret="VkPresentModeKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)", signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
@@ -1273,7 +1311,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex", cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex", funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
location="imgui_impl_vulkan:198", location="imgui_impl_vulkan:212",
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex", ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
ret="uint32_t", ret="uint32_t",
signature="(VkPhysicalDevice)", signature="(VkPhysicalDevice)",
@@ -1304,7 +1342,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat", cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat", funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
location="imgui_impl_vulkan:195", location="imgui_impl_vulkan:209",
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat", ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
ret="VkSurfaceFormatKHR", ret="VkSurfaceFormatKHR",
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)", signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
@@ -1321,7 +1359,7 @@ local t={
constructor=true, constructor=true,
defaults={}, defaults={},
funcname="ImGui_ImplVulkanH_Window", funcname="ImGui_ImplVulkanH_Window",
location="imgui_impl_vulkan:242", location="imgui_impl_vulkan:259",
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window", ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
signature="()", signature="()",
stname="ImGui_ImplVulkanH_Window"}, stname="ImGui_ImplVulkanH_Window"},
@@ -1337,7 +1375,7 @@ local t={
cimguiname="ImGui_ImplVulkanH_Window_destroy", cimguiname="ImGui_ImplVulkanH_Window_destroy",
defaults={}, defaults={},
destructor=true, destructor=true,
location="imgui_impl_vulkan:242", location="imgui_impl_vulkan:259",
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy", ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
ret="void", ret="void",
signature="(ImGui_ImplVulkanH_Window*)", signature="(ImGui_ImplVulkanH_Window*)",
@@ -1362,7 +1400,7 @@ local t={
cimguiname="ImGui_ImplVulkan_AddTexture", cimguiname="ImGui_ImplVulkan_AddTexture",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_AddTexture", funcname="ImGui_ImplVulkan_AddTexture",
location="imgui_impl_vulkan:150", location="imgui_impl_vulkan:165",
ov_cimguiname="ImGui_ImplVulkan_AddTexture", ov_cimguiname="ImGui_ImplVulkan_AddTexture",
ret="VkDescriptorSet", ret="VkDescriptorSet",
signature="(VkSampler,VkImageView,VkImageLayout)", signature="(VkSampler,VkImageView,VkImageLayout)",
@@ -1381,7 +1419,7 @@ local t={
cimguiname="ImGui_ImplVulkan_CreateMainPipeline", cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_CreateMainPipeline", funcname="ImGui_ImplVulkan_CreateMainPipeline",
location="imgui_impl_vulkan:142", location="imgui_impl_vulkan:157",
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline", ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
ret="void", ret="void",
signature="(const ImGui_ImplVulkan_PipelineInfo*)", signature="(const ImGui_ImplVulkan_PipelineInfo*)",
@@ -1400,7 +1438,7 @@ local t={
cimguiname="ImGui_ImplVulkan_Init", cimguiname="ImGui_ImplVulkan_Init",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_Init", funcname="ImGui_ImplVulkan_Init",
location="imgui_impl_vulkan:133", location="imgui_impl_vulkan:148",
ov_cimguiname="ImGui_ImplVulkan_Init", ov_cimguiname="ImGui_ImplVulkan_Init",
ret="bool", ret="bool",
signature="(ImGui_ImplVulkan_InitInfo*)", signature="(ImGui_ImplVulkan_InitInfo*)",
@@ -1426,7 +1464,7 @@ local t={
defaults={ defaults={
user_data="nullptr"}, user_data="nullptr"},
funcname="ImGui_ImplVulkan_LoadFunctions", funcname="ImGui_ImplVulkan_LoadFunctions",
location="imgui_impl_vulkan:155", location="imgui_impl_vulkan:170",
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions", ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
ret="bool", ret="bool",
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)", signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
@@ -1442,7 +1480,7 @@ local t={
cimguiname="ImGui_ImplVulkan_NewFrame", cimguiname="ImGui_ImplVulkan_NewFrame",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_NewFrame", funcname="ImGui_ImplVulkan_NewFrame",
location="imgui_impl_vulkan:135", location="imgui_impl_vulkan:150",
ov_cimguiname="ImGui_ImplVulkan_NewFrame", ov_cimguiname="ImGui_ImplVulkan_NewFrame",
ret="void", ret="void",
signature="()", signature="()",
@@ -1461,7 +1499,7 @@ local t={
cimguiname="ImGui_ImplVulkan_RemoveTexture", cimguiname="ImGui_ImplVulkan_RemoveTexture",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_RemoveTexture", funcname="ImGui_ImplVulkan_RemoveTexture",
location="imgui_impl_vulkan:151", location="imgui_impl_vulkan:166",
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture", ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
ret="void", ret="void",
signature="(VkDescriptorSet)", signature="(VkDescriptorSet)",
@@ -1487,7 +1525,7 @@ local t={
defaults={ defaults={
pipeline="0ULL"}, pipeline="0ULL"},
funcname="ImGui_ImplVulkan_RenderDrawData", funcname="ImGui_ImplVulkan_RenderDrawData",
location="imgui_impl_vulkan:136", location="imgui_impl_vulkan:151",
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData", ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
ret="void", ret="void",
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)", signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
@@ -1506,7 +1544,7 @@ local t={
cimguiname="ImGui_ImplVulkan_SetMinImageCount", cimguiname="ImGui_ImplVulkan_SetMinImageCount",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_SetMinImageCount", funcname="ImGui_ImplVulkan_SetMinImageCount",
location="imgui_impl_vulkan:137", location="imgui_impl_vulkan:152",
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount", ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
ret="void", ret="void",
signature="(uint32_t)", signature="(uint32_t)",
@@ -1522,7 +1560,7 @@ local t={
cimguiname="ImGui_ImplVulkan_Shutdown", cimguiname="ImGui_ImplVulkan_Shutdown",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_Shutdown", funcname="ImGui_ImplVulkan_Shutdown",
location="imgui_impl_vulkan:134", location="imgui_impl_vulkan:149",
ov_cimguiname="ImGui_ImplVulkan_Shutdown", ov_cimguiname="ImGui_ImplVulkan_Shutdown",
ret="void", ret="void",
signature="()", signature="()",
@@ -1541,7 +1579,7 @@ local t={
cimguiname="ImGui_ImplVulkan_UpdateTexture", cimguiname="ImGui_ImplVulkan_UpdateTexture",
defaults={}, defaults={},
funcname="ImGui_ImplVulkan_UpdateTexture", funcname="ImGui_ImplVulkan_UpdateTexture",
location="imgui_impl_vulkan:145", location="imgui_impl_vulkan:160",
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture", ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
ret="void", ret="void",
signature="(ImTextureData*)", signature="(ImTextureData*)",
@@ -1591,6 +1629,7 @@ t.ImGui_ImplSDL2_InitForVulkan["(SDL_Window*)"]=t.ImGui_ImplSDL2_InitForVulkan[1
t.ImGui_ImplSDL2_NewFrame["()"]=t.ImGui_ImplSDL2_NewFrame[1] t.ImGui_ImplSDL2_NewFrame["()"]=t.ImGui_ImplSDL2_NewFrame[1]
t.ImGui_ImplSDL2_ProcessEvent["(const SDL_Event*)"]=t.ImGui_ImplSDL2_ProcessEvent[1] t.ImGui_ImplSDL2_ProcessEvent["(const SDL_Event*)"]=t.ImGui_ImplSDL2_ProcessEvent[1]
t.ImGui_ImplSDL2_SetGamepadMode["(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)"]=t.ImGui_ImplSDL2_SetGamepadMode[1] t.ImGui_ImplSDL2_SetGamepadMode["(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)"]=t.ImGui_ImplSDL2_SetGamepadMode[1]
t.ImGui_ImplSDL2_SetMouseCaptureMode["(ImGui_ImplSDL2_MouseCaptureMode)"]=t.ImGui_ImplSDL2_SetMouseCaptureMode[1]
t.ImGui_ImplSDL2_Shutdown["()"]=t.ImGui_ImplSDL2_Shutdown[1] t.ImGui_ImplSDL2_Shutdown["()"]=t.ImGui_ImplSDL2_Shutdown[1]
t.ImGui_ImplSDL3_InitForD3D["(SDL_Window*)"]=t.ImGui_ImplSDL3_InitForD3D[1] t.ImGui_ImplSDL3_InitForD3D["(SDL_Window*)"]=t.ImGui_ImplSDL3_InitForD3D[1]
t.ImGui_ImplSDL3_InitForMetal["(SDL_Window*)"]=t.ImGui_ImplSDL3_InitForMetal[1] t.ImGui_ImplSDL3_InitForMetal["(SDL_Window*)"]=t.ImGui_ImplSDL3_InitForMetal[1]
@@ -1602,6 +1641,7 @@ t.ImGui_ImplSDL3_InitForVulkan["(SDL_Window*)"]=t.ImGui_ImplSDL3_InitForVulkan[1
t.ImGui_ImplSDL3_NewFrame["()"]=t.ImGui_ImplSDL3_NewFrame[1] t.ImGui_ImplSDL3_NewFrame["()"]=t.ImGui_ImplSDL3_NewFrame[1]
t.ImGui_ImplSDL3_ProcessEvent["(const SDL_Event*)"]=t.ImGui_ImplSDL3_ProcessEvent[1] t.ImGui_ImplSDL3_ProcessEvent["(const SDL_Event*)"]=t.ImGui_ImplSDL3_ProcessEvent[1]
t.ImGui_ImplSDL3_SetGamepadMode["(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"]=t.ImGui_ImplSDL3_SetGamepadMode[1] t.ImGui_ImplSDL3_SetGamepadMode["(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)"]=t.ImGui_ImplSDL3_SetGamepadMode[1]
t.ImGui_ImplSDL3_SetMouseCaptureMode["(ImGui_ImplSDL3_MouseCaptureMode)"]=t.ImGui_ImplSDL3_SetMouseCaptureMode[1]
t.ImGui_ImplSDL3_Shutdown["()"]=t.ImGui_ImplSDL3_Shutdown[1] 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_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_DestroyWindow["(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)"]=t.ImGui_ImplVulkanH_DestroyWindow[1]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -55,6 +55,7 @@
"ImGuiDeactivatedItemData": "struct ImGuiDeactivatedItemData", "ImGuiDeactivatedItemData": "struct ImGuiDeactivatedItemData",
"ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry", "ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry",
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo", "ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
"ImGuiDebugItemPathQuery": "struct ImGuiDebugItemPathQuery",
"ImGuiDebugLogFlags": "int", "ImGuiDebugLogFlags": "int",
"ImGuiDockContext": "struct ImGuiDockContext", "ImGuiDockContext": "struct ImGuiDockContext",
"ImGuiDockNode": "struct ImGuiDockNode", "ImGuiDockNode": "struct ImGuiDockNode",
@@ -187,6 +188,7 @@
"ImGuiViewportFlags": "int", "ImGuiViewportFlags": "int",
"ImGuiViewportP": "struct ImGuiViewportP", "ImGuiViewportP": "struct ImGuiViewportP",
"ImGuiWindow": "struct ImGuiWindow", "ImGuiWindow": "struct ImGuiWindow",
"ImGuiWindowBgClickFlags": "int",
"ImGuiWindowClass": "struct ImGuiWindowClass", "ImGuiWindowClass": "struct ImGuiWindowClass",
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle", "ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
"ImGuiWindowFlags": "int", "ImGuiWindowFlags": "int",

View File

@@ -55,6 +55,7 @@ local t={
ImGuiDeactivatedItemData="struct ImGuiDeactivatedItemData", ImGuiDeactivatedItemData="struct ImGuiDeactivatedItemData",
ImGuiDebugAllocEntry="struct ImGuiDebugAllocEntry", ImGuiDebugAllocEntry="struct ImGuiDebugAllocEntry",
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo", ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
ImGuiDebugItemPathQuery="struct ImGuiDebugItemPathQuery",
ImGuiDebugLogFlags="int", ImGuiDebugLogFlags="int",
ImGuiDockContext="struct ImGuiDockContext", ImGuiDockContext="struct ImGuiDockContext",
ImGuiDockNode="struct ImGuiDockNode", ImGuiDockNode="struct ImGuiDockNode",
@@ -187,6 +188,7 @@ local t={
ImGuiViewportFlags="int", ImGuiViewportFlags="int",
ImGuiViewportP="struct ImGuiViewportP", ImGuiViewportP="struct ImGuiViewportP",
ImGuiWindow="struct ImGuiWindow", ImGuiWindow="struct ImGuiWindow",
ImGuiWindowBgClickFlags="int",
ImGuiWindowClass="struct ImGuiWindowClass", ImGuiWindowClass="struct ImGuiWindowClass",
ImGuiWindowDockStyle="struct ImGuiWindowDockStyle", ImGuiWindowDockStyle="struct ImGuiWindowDockStyle",
ImGuiWindowFlags="int", ImGuiWindowFlags="int",

2
imgui

Submodule imgui updated: e7d2d636af...2a1b69f057