mirror of
https://github.com/cimgui/cimgui.git
synced 2026-04-18 01:51:18 +01:00
Compare commits
33 Commits
docking_in
...
b6563e1b11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6563e1b11 | ||
|
|
bfd30140a9 | ||
|
|
649c38e150 | ||
|
|
bf4b240a51 | ||
|
|
3b6ca737bd | ||
|
|
6d0a376516 | ||
|
|
ce46a36843 | ||
|
|
cf8523f31f | ||
|
|
0b0a04de25 | ||
|
|
e9a4157067 | ||
|
|
d6b4ecda71 | ||
|
|
1427639147 | ||
|
|
e3b48a15f0 | ||
|
|
8ec6558ecc | ||
|
|
43429513a8 | ||
|
|
79e40b6657 | ||
|
|
833e9366de | ||
|
|
74902e7392 | ||
|
|
143c37b7ac | ||
|
|
7c79f59fa2 | ||
|
|
35fdbf393f | ||
|
|
bf02a1552e | ||
|
|
481cd32543 | ||
|
|
d222bc5a4e | ||
|
|
f0fb387921 | ||
|
|
c7133969db | ||
|
|
0821a31dfe | ||
|
|
9009dd72e9 | ||
|
|
b6e02f4131 | ||
|
|
b28023c3f6 | ||
|
|
1bb9cd7347 | ||
|
|
d24246adfd | ||
|
|
6dba58d90f |
@@ -11,7 +11,7 @@ History:
|
||||
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
|
||||
|
||||
Notes:
|
||||
* currently this wrapper is based on version [1.92.7 of Dear ImGui with internal api]
|
||||
* currently this wrapper is based on version [1.92.4 of Dear ImGui with internal api]
|
||||
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
|
||||
* if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project.
|
||||
* 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.
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
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
|
||||
)
|
||||
@@ -1,16 +0,0 @@
|
||||
# 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`
|
||||
|
||||
@@ -1,158 +0,0 @@
|
||||
#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;
|
||||
}
|
||||
427
cimgui.cpp
427
cimgui.cpp
@@ -1,8 +1,7 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.92.7" 19270 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.92.6" 19261 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
//docking branch
|
||||
|
||||
#include "./imgui/imgui.h"
|
||||
#include "./imgui/imgui_internal.h"
|
||||
@@ -281,10 +280,6 @@ CIMGUI_API ImDrawList* igGetWindowDrawList()
|
||||
{
|
||||
return ImGui::GetWindowDrawList();
|
||||
}
|
||||
CIMGUI_API float igGetWindowDpiScale()
|
||||
{
|
||||
return ImGui::GetWindowDpiScale();
|
||||
}
|
||||
CIMGUI_API ImVec2_c igGetWindowPos()
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(ImGui::GetWindowPos());
|
||||
@@ -301,10 +296,6 @@ CIMGUI_API float igGetWindowHeight()
|
||||
{
|
||||
return ImGui::GetWindowHeight();
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igGetWindowViewport()
|
||||
{
|
||||
return ImGui::GetWindowViewport();
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowPos(const ImVec2_c pos,ImGuiCond cond,const ImVec2_c pivot)
|
||||
{
|
||||
return ImGui::SetNextWindowPos(ConvertToCPP_ImVec2(pos),cond,ConvertToCPP_ImVec2(pivot));
|
||||
@@ -337,10 +328,6 @@ CIMGUI_API void igSetNextWindowBgAlpha(float alpha)
|
||||
{
|
||||
return ImGui::SetNextWindowBgAlpha(alpha);
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowViewport(ImGuiID viewport_id)
|
||||
{
|
||||
return ImGui::SetNextWindowViewport(viewport_id);
|
||||
}
|
||||
CIMGUI_API void igSetWindowPos_Vec2(const ImVec2_c pos,ImGuiCond cond)
|
||||
{
|
||||
return ImGui::SetWindowPos(ConvertToCPP_ImVec2(pos),cond);
|
||||
@@ -1139,10 +1126,6 @@ CIMGUI_API void igSetNextItemStorageID(ImGuiID storage_id)
|
||||
{
|
||||
return ImGui::SetNextItemStorageID(storage_id);
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeGetOpen(ImGuiID storage_id)
|
||||
{
|
||||
return ImGui::TreeNodeGetOpen(storage_id);
|
||||
}
|
||||
CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2_c size)
|
||||
{
|
||||
return ImGui::Selectable(label,selected,flags,ConvertToCPP_ImVec2(size));
|
||||
@@ -1469,30 +1452,6 @@ CIMGUI_API void igSetTabItemClosed(const char* tab_or_docked_window_label)
|
||||
{
|
||||
return ImGui::SetTabItemClosed(tab_or_docked_window_label);
|
||||
}
|
||||
CIMGUI_API ImGuiID igDockSpace(ImGuiID dockspace_id,const ImVec2_c size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
||||
{
|
||||
return ImGui::DockSpace(dockspace_id,ConvertToCPP_ImVec2(size),flags,window_class);
|
||||
}
|
||||
CIMGUI_API ImGuiID igDockSpaceOverViewport(ImGuiID dockspace_id,const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
||||
{
|
||||
return ImGui::DockSpaceOverViewport(dockspace_id,viewport,flags,window_class);
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond)
|
||||
{
|
||||
return ImGui::SetNextWindowDockID(dock_id,cond);
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowClass(const ImGuiWindowClass* window_class)
|
||||
{
|
||||
return ImGui::SetNextWindowClass(window_class);
|
||||
}
|
||||
CIMGUI_API ImGuiID igGetWindowDockID()
|
||||
{
|
||||
return ImGui::GetWindowDockID();
|
||||
}
|
||||
CIMGUI_API bool igIsWindowDocked()
|
||||
{
|
||||
return ImGui::IsWindowDocked();
|
||||
}
|
||||
CIMGUI_API void igLogToTTY(int auto_open_depth)
|
||||
{
|
||||
return ImGui::LogToTTY(auto_open_depth);
|
||||
@@ -1666,13 +1625,13 @@ CIMGUI_API ImGuiViewport* igGetMainViewport()
|
||||
{
|
||||
return ImGui::GetMainViewport();
|
||||
}
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport)
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_Nil()
|
||||
{
|
||||
return ImGui::GetBackgroundDrawList(viewport);
|
||||
return ImGui::GetBackgroundDrawList();
|
||||
}
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport)
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_Nil()
|
||||
{
|
||||
return ImGui::GetForegroundDrawList(viewport);
|
||||
return ImGui::GetForegroundDrawList();
|
||||
}
|
||||
CIMGUI_API bool igIsRectVisible_Nil(const ImVec2_c size)
|
||||
{
|
||||
@@ -1907,26 +1866,6 @@ CIMGUI_API void igMemFree(void* ptr)
|
||||
{
|
||||
return ImGui::MemFree(ptr);
|
||||
}
|
||||
CIMGUI_API void igUpdatePlatformWindows()
|
||||
{
|
||||
return ImGui::UpdatePlatformWindows();
|
||||
}
|
||||
CIMGUI_API void igRenderPlatformWindowsDefault(void* platform_render_arg,void* renderer_render_arg)
|
||||
{
|
||||
return ImGui::RenderPlatformWindowsDefault(platform_render_arg,renderer_render_arg);
|
||||
}
|
||||
CIMGUI_API void igDestroyPlatformWindows()
|
||||
{
|
||||
return ImGui::DestroyPlatformWindows();
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igFindViewportByID(ImGuiID viewport_id)
|
||||
{
|
||||
return ImGui::FindViewportByID(viewport_id);
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle)
|
||||
{
|
||||
return ImGui::FindViewportByPlatformHandle(platform_handle);
|
||||
}
|
||||
CIMGUI_API ImGuiTableSortSpecs* ImGuiTableSortSpecs_ImGuiTableSortSpecs(void)
|
||||
{
|
||||
return IM_NEW(ImGuiTableSortSpecs)();
|
||||
@@ -1979,10 +1918,6 @@ CIMGUI_API void ImGuiIO_AddMouseSourceEvent(ImGuiIO* self,ImGuiMouseSource sourc
|
||||
{
|
||||
return self->AddMouseSourceEvent(source);
|
||||
}
|
||||
CIMGUI_API void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self,ImGuiID id)
|
||||
{
|
||||
return self->AddMouseViewportEvent(id);
|
||||
}
|
||||
CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused)
|
||||
{
|
||||
return self->AddFocusEvent(focused);
|
||||
@@ -2059,14 +1994,6 @@ CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackDa
|
||||
{
|
||||
return self->HasSelection();
|
||||
}
|
||||
CIMGUI_API ImGuiWindowClass* ImGuiWindowClass_ImGuiWindowClass(void)
|
||||
{
|
||||
return IM_NEW(ImGuiWindowClass)();
|
||||
}
|
||||
CIMGUI_API void ImGuiWindowClass_destroy(ImGuiWindowClass* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiPayload* ImGuiPayload_ImGuiPayload(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPayload)();
|
||||
@@ -3019,10 +2946,6 @@ CIMGUI_API ImVec2_c ImGuiViewport_GetWorkCenter(ImGuiViewport* self)
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(self->GetWorkCenter());
|
||||
}
|
||||
CIMGUI_API const char* ImGuiViewport_GetDebugName(ImGuiViewport* self)
|
||||
{
|
||||
return self->GetDebugName();
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPlatformIO)();
|
||||
@@ -3039,14 +2962,6 @@ CIMGUI_API void ImGuiPlatformIO_ClearRendererHandlers(ImGuiPlatformIO* self)
|
||||
{
|
||||
return self->ClearRendererHandlers();
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPlatformMonitor)();
|
||||
}
|
||||
CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPlatformImeData)();
|
||||
@@ -3826,10 +3741,6 @@ CIMGUI_API float ImGuiInputTextState_GetPreferredOffsetX(ImGuiInputTextState* se
|
||||
{
|
||||
return self->GetPreferredOffsetX();
|
||||
}
|
||||
CIMGUI_API const char* ImGuiInputTextState_GetText(ImGuiInputTextState* self)
|
||||
{
|
||||
return self->GetText();
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextState_CursorAnimReset(ImGuiInputTextState* self)
|
||||
{
|
||||
return self->CursorAnimReset();
|
||||
@@ -4066,70 +3977,6 @@ CIMGUI_API void ImGuiMultiSelectState_destroy(ImGuiMultiSelectState* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* ImGuiDockNode_ImGuiDockNode(ImGuiID id)
|
||||
{
|
||||
return IM_NEW(ImGuiDockNode)(id);
|
||||
}
|
||||
CIMGUI_API void ImGuiDockNode_destroy(ImGuiDockNode* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsRootNode(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsRootNode();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsDockSpace(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsDockSpace();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsFloatingNode(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsFloatingNode();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsCentralNode(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsCentralNode();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsHiddenTabBar(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsHiddenTabBar();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsNoTabBar(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsNoTabBar();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsSplitNode(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsSplitNode();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsLeafNode(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsLeafNode();
|
||||
}
|
||||
CIMGUI_API bool ImGuiDockNode_IsEmpty(ImGuiDockNode* self)
|
||||
{
|
||||
return self->IsEmpty();
|
||||
}
|
||||
CIMGUI_API ImRect_c ImGuiDockNode_Rect(ImGuiDockNode* self)
|
||||
{
|
||||
return ConvertFromCPP_ImRect(self->Rect());
|
||||
}
|
||||
CIMGUI_API void ImGuiDockNode_SetLocalFlags(ImGuiDockNode* self,ImGuiDockNodeFlags flags)
|
||||
{
|
||||
return self->SetLocalFlags(flags);
|
||||
}
|
||||
CIMGUI_API void ImGuiDockNode_UpdateMergedFlags(ImGuiDockNode* self)
|
||||
{
|
||||
return self->UpdateMergedFlags();
|
||||
}
|
||||
CIMGUI_API ImGuiDockContext* ImGuiDockContext_ImGuiDockContext(void)
|
||||
{
|
||||
return IM_NEW(ImGuiDockContext)();
|
||||
}
|
||||
CIMGUI_API void ImGuiDockContext_destroy(ImGuiDockContext* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiViewportP* ImGuiViewportP_ImGuiViewportP(void)
|
||||
{
|
||||
return IM_NEW(ImGuiViewportP)();
|
||||
@@ -4138,10 +3985,6 @@ CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiViewportP_ClearRequestFlags(ImGuiViewportP* self)
|
||||
{
|
||||
return self->ClearRequestFlags();
|
||||
}
|
||||
CIMGUI_API ImVec2_c ImGuiViewportP_CalcWorkRectPos(ImGuiViewportP* self,const ImVec2_c inset_min)
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(self->CalcWorkRectPos(ConvertToCPP_ImVec2(inset_min)));
|
||||
@@ -4382,9 +4225,9 @@ CIMGUI_API ImVec2_c igCalcWindowNextAutoFitSize(ImGuiWindow* window)
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(ImGui::CalcWindowNextAutoFitSize(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)
|
||||
{
|
||||
return ImGui::IsWindowChildOf(window,potential_parent,popup_hierarchy,dock_hierarchy);
|
||||
return ImGui::IsWindowChildOf(window,potential_parent,popup_hierarchy);
|
||||
}
|
||||
CIMGUI_API bool igIsWindowInBeginStack(ImGuiWindow* window)
|
||||
{
|
||||
@@ -4530,6 +4373,14 @@ CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::GetForegroundDrawList(window);
|
||||
}
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_ViewportPtr(ImGuiViewport* viewport)
|
||||
{
|
||||
return ImGui::GetBackgroundDrawList(viewport);
|
||||
}
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport)
|
||||
{
|
||||
return ImGui::GetForegroundDrawList(viewport);
|
||||
}
|
||||
CIMGUI_API void igAddDrawListToDrawDataEx(ImDrawData* draw_data,ImVector_ImDrawListPtr* out_list,ImDrawList* draw_list)
|
||||
{
|
||||
return ImGui::AddDrawListToDrawDataEx(draw_data,out_list,draw_list);
|
||||
@@ -4574,10 +4425,6 @@ CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::StartMouseMovingWindow(window);
|
||||
}
|
||||
CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock)
|
||||
{
|
||||
return ImGui::StartMouseMovingWindowOrNode(window,node,undock);
|
||||
}
|
||||
CIMGUI_API void igStopMouseMovingWindow()
|
||||
{
|
||||
return ImGui::StopMouseMovingWindow();
|
||||
@@ -4590,34 +4437,18 @@ CIMGUI_API void igUpdateMouseMovingWindowEndFrame()
|
||||
{
|
||||
return ImGui::UpdateMouseMovingWindowEndFrame();
|
||||
}
|
||||
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 ImGuiViewport* igGetWindowViewport()
|
||||
{
|
||||
return ImGui::TranslateWindowsInViewport(viewport,ConvertToCPP_ImVec2(old_pos),ConvertToCPP_ImVec2(new_pos),ConvertToCPP_ImVec2(old_size),ConvertToCPP_ImVec2(new_size));
|
||||
return ImGui::GetWindowViewport();
|
||||
}
|
||||
CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale)
|
||||
{
|
||||
return ImGui::ScaleWindowsInViewport(viewport,scale);
|
||||
}
|
||||
CIMGUI_API void igDestroyPlatformWindow(ImGuiViewportP* viewport)
|
||||
{
|
||||
return ImGui::DestroyPlatformWindow(viewport);
|
||||
}
|
||||
CIMGUI_API void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport)
|
||||
{
|
||||
return ImGui::SetWindowViewport(window,viewport);
|
||||
}
|
||||
CIMGUI_API void igSetCurrentViewport(ImGuiWindow* window,ImGuiViewportP* viewport)
|
||||
{
|
||||
return ImGui::SetCurrentViewport(window,viewport);
|
||||
}
|
||||
CIMGUI_API const ImGuiPlatformMonitor* igGetViewportPlatformMonitor(ImGuiViewport* viewport)
|
||||
{
|
||||
return ImGui::GetViewportPlatformMonitor(viewport);
|
||||
}
|
||||
CIMGUI_API ImGuiViewportP* igFindHoveredViewportFromPlatformWindowStack(const ImVec2_c mouse_platform_pos)
|
||||
{
|
||||
return ImGui::FindHoveredViewportFromPlatformWindowStack(ConvertToCPP_ImVec2(mouse_platform_pos));
|
||||
}
|
||||
CIMGUI_API void igMarkIniSettingsDirty_Nil()
|
||||
{
|
||||
return ImGui::MarkIniSettingsDirty();
|
||||
@@ -4886,14 +4717,6 @@ CIMGUI_API ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags
|
||||
{
|
||||
return ImGui::GetMouseButtonFromPopupFlags(flags);
|
||||
}
|
||||
CIMGUI_API bool igIsPopupOpenRequestForItem(ImGuiPopupFlags flags,ImGuiID id)
|
||||
{
|
||||
return ImGui::IsPopupOpenRequestForItem(flags,id);
|
||||
}
|
||||
CIMGUI_API bool igIsPopupOpenRequestForWindow(ImGuiPopupFlags flags)
|
||||
{
|
||||
return ImGui::IsPopupOpenRequestForWindow(flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)
|
||||
{
|
||||
return ImGui::BeginTooltipEx(tooltip_flags,extra_window_flags);
|
||||
@@ -5162,174 +4985,6 @@ CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord
|
||||
{
|
||||
return ImGui::GetShortcutRoutingData(key_chord);
|
||||
}
|
||||
CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextInitialize(ctx);
|
||||
}
|
||||
CIMGUI_API void igDockContextShutdown(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextShutdown(ctx);
|
||||
}
|
||||
CIMGUI_API void igDockContextClearNodes(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs)
|
||||
{
|
||||
return ImGui::DockContextClearNodes(ctx,root_id,clear_settings_refs);
|
||||
}
|
||||
CIMGUI_API void igDockContextRebuildNodes(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextRebuildNodes(ctx);
|
||||
}
|
||||
CIMGUI_API void igDockContextNewFrameUpdateUndocking(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextNewFrameUpdateUndocking(ctx);
|
||||
}
|
||||
CIMGUI_API void igDockContextNewFrameUpdateDocking(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextNewFrameUpdateDocking(ctx);
|
||||
}
|
||||
CIMGUI_API void igDockContextEndFrame(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextEndFrame(ctx);
|
||||
}
|
||||
CIMGUI_API ImGuiID igDockContextGenNodeID(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::DockContextGenNodeID(ctx);
|
||||
}
|
||||
CIMGUI_API void igDockContextQueueDock(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer)
|
||||
{
|
||||
return ImGui::DockContextQueueDock(ctx,target,target_node,payload,split_dir,split_ratio,split_outer);
|
||||
}
|
||||
CIMGUI_API void igDockContextQueueUndockWindow(ImGuiContext* ctx,ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::DockContextQueueUndockWindow(ctx,window);
|
||||
}
|
||||
CIMGUI_API void igDockContextQueueUndockNode(ImGuiContext* ctx,ImGuiDockNode* node)
|
||||
{
|
||||
return ImGui::DockContextQueueUndockNode(ctx,node);
|
||||
}
|
||||
CIMGUI_API void igDockContextProcessUndockWindow(ImGuiContext* ctx,ImGuiWindow* window,bool clear_persistent_docking_ref)
|
||||
{
|
||||
return ImGui::DockContextProcessUndockWindow(ctx,window,clear_persistent_docking_ref);
|
||||
}
|
||||
CIMGUI_API void igDockContextProcessUndockNode(ImGuiContext* ctx,ImGuiDockNode* node)
|
||||
{
|
||||
return ImGui::DockContextProcessUndockNode(ctx,node);
|
||||
}
|
||||
CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2_c* out_pos)
|
||||
{
|
||||
return ImGui::DockContextCalcDropPosForDocking(target,target_node,payload_window,payload_node,split_dir,split_outer,reinterpret_cast<ImVec2*>(out_pos));
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* igDockContextFindNodeByID(ImGuiContext* ctx,ImGuiID id)
|
||||
{
|
||||
return ImGui::DockContextFindNodeByID(ctx,id);
|
||||
}
|
||||
CIMGUI_API void igDockNodeWindowMenuHandler_Default(ImGuiContext* ctx,ImGuiDockNode* node,ImGuiTabBar* tab_bar)
|
||||
{
|
||||
return ImGui::DockNodeWindowMenuHandler_Default(ctx,node,tab_bar);
|
||||
}
|
||||
CIMGUI_API bool igDockNodeBeginAmendTabBar(ImGuiDockNode* node)
|
||||
{
|
||||
return ImGui::DockNodeBeginAmendTabBar(node);
|
||||
}
|
||||
CIMGUI_API void igDockNodeEndAmendTabBar()
|
||||
{
|
||||
return ImGui::DockNodeEndAmendTabBar();
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* igDockNodeGetRootNode(ImGuiDockNode* node)
|
||||
{
|
||||
return ImGui::DockNodeGetRootNode(node);
|
||||
}
|
||||
CIMGUI_API bool igDockNodeIsInHierarchyOf(ImGuiDockNode* node,ImGuiDockNode* parent)
|
||||
{
|
||||
return ImGui::DockNodeIsInHierarchyOf(node,parent);
|
||||
}
|
||||
CIMGUI_API int igDockNodeGetDepth(const ImGuiDockNode* node)
|
||||
{
|
||||
return ImGui::DockNodeGetDepth(node);
|
||||
}
|
||||
CIMGUI_API ImGuiID igDockNodeGetWindowMenuButtonId(const ImGuiDockNode* node)
|
||||
{
|
||||
return ImGui::DockNodeGetWindowMenuButtonId(node);
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* igGetWindowDockNode()
|
||||
{
|
||||
return ImGui::GetWindowDockNode();
|
||||
}
|
||||
CIMGUI_API bool igGetWindowAlwaysWantOwnTabBar(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::GetWindowAlwaysWantOwnTabBar(window);
|
||||
}
|
||||
CIMGUI_API void igBeginDocked(ImGuiWindow* window,bool* p_open)
|
||||
{
|
||||
return ImGui::BeginDocked(window,p_open);
|
||||
}
|
||||
CIMGUI_API void igBeginDockableDragDropSource(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::BeginDockableDragDropSource(window);
|
||||
}
|
||||
CIMGUI_API void igBeginDockableDragDropTarget(ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::BeginDockableDragDropTarget(window);
|
||||
}
|
||||
CIMGUI_API void igSetWindowDock(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond)
|
||||
{
|
||||
return ImGui::SetWindowDock(window,dock_id,cond);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderDockWindow(const char* window_name,ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderDockWindow(window_name,node_id);
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* igDockBuilderGetNode(ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderGetNode(node_id);
|
||||
}
|
||||
CIMGUI_API ImGuiDockNode* igDockBuilderGetCentralNode(ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderGetCentralNode(node_id);
|
||||
}
|
||||
CIMGUI_API ImGuiID igDockBuilderAddNode(ImGuiID node_id,ImGuiDockNodeFlags flags)
|
||||
{
|
||||
return ImGui::DockBuilderAddNode(node_id,flags);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderRemoveNode(ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderRemoveNode(node_id);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderRemoveNodeDockedWindows(ImGuiID node_id,bool clear_settings_refs)
|
||||
{
|
||||
return ImGui::DockBuilderRemoveNodeDockedWindows(node_id,clear_settings_refs);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderRemoveNodeChildNodes(ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderRemoveNodeChildNodes(node_id);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderSetNodePos(ImGuiID node_id,ImVec2_c pos)
|
||||
{
|
||||
return ImGui::DockBuilderSetNodePos(node_id,ConvertToCPP_ImVec2(pos));
|
||||
}
|
||||
CIMGUI_API void igDockBuilderSetNodeSize(ImGuiID node_id,ImVec2_c size)
|
||||
{
|
||||
return ImGui::DockBuilderSetNodeSize(node_id,ConvertToCPP_ImVec2(size));
|
||||
}
|
||||
CIMGUI_API ImGuiID igDockBuilderSplitNode(ImGuiID node_id,ImGuiDir split_dir,float size_ratio_for_node_at_dir,ImGuiID* out_id_at_dir,ImGuiID* out_id_at_opposite_dir)
|
||||
{
|
||||
return ImGui::DockBuilderSplitNode(node_id,split_dir,size_ratio_for_node_at_dir,out_id_at_dir,out_id_at_opposite_dir);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderCopyDockSpace(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector_const_charPtr* in_window_remap_pairs)
|
||||
{
|
||||
return ImGui::DockBuilderCopyDockSpace(src_dockspace_id,dst_dockspace_id,in_window_remap_pairs);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderCopyNode(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector_ImGuiID* out_node_remap_pairs)
|
||||
{
|
||||
return ImGui::DockBuilderCopyNode(src_node_id,dst_node_id,out_node_remap_pairs);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderCopyWindowSettings(const char* src_name,const char* dst_name)
|
||||
{
|
||||
return ImGui::DockBuilderCopyWindowSettings(src_name,dst_name);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderFinish(ImGuiID node_id)
|
||||
{
|
||||
return ImGui::DockBuilderFinish(node_id);
|
||||
}
|
||||
CIMGUI_API void igPushFocusScope(ImGuiID id)
|
||||
{
|
||||
return ImGui::PushFocusScope(id);
|
||||
@@ -5630,10 +5285,6 @@ CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int
|
||||
{
|
||||
return ImGui::TableSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order)
|
||||
{
|
||||
return ImGui::TableQueueSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableRemove(table);
|
||||
@@ -5702,10 +5353,6 @@ CIMGUI_API ImGuiTabItem* igTabBarFindTabByOrder(ImGuiTabBar* tab_bar,int order)
|
||||
{
|
||||
return ImGui::TabBarFindTabByOrder(tab_bar,order);
|
||||
}
|
||||
CIMGUI_API ImGuiTabItem* igTabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBar* tab_bar)
|
||||
{
|
||||
return ImGui::TabBarFindMostRecentlySelectedTabForActiveWindow(tab_bar);
|
||||
}
|
||||
CIMGUI_API ImGuiTabItem* igTabBarGetCurrentTab(ImGuiTabBar* tab_bar)
|
||||
{
|
||||
return ImGui::TabBarGetCurrentTab(tab_bar);
|
||||
@@ -5718,10 +5365,6 @@ CIMGUI_API const char* igTabBarGetTabName(ImGuiTabBar* tab_bar,ImGuiTabItem* tab
|
||||
{
|
||||
return ImGui::TabBarGetTabName(tab_bar,tab);
|
||||
}
|
||||
CIMGUI_API void igTabBarAddTab(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window)
|
||||
{
|
||||
return ImGui::TabBarAddTab(tab_bar,tab_flags,window);
|
||||
}
|
||||
CIMGUI_API void igTabBarRemoveTab(ImGuiTabBar* tab_bar,ImGuiID tab_id)
|
||||
{
|
||||
return ImGui::TabBarRemoveTab(tab_bar,tab_id);
|
||||
@@ -5838,10 +5481,6 @@ CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2_c pos,ImVec
|
||||
{
|
||||
return ImGui::RenderArrowPointingAt(draw_list,ConvertToCPP_ImVec2(pos),ConvertToCPP_ImVec2(half_sz),direction,col);
|
||||
}
|
||||
CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2_c p_min,float sz,ImU32 col)
|
||||
{
|
||||
return ImGui::RenderArrowDockMenu(draw_list,ConvertToCPP_ImVec2(p_min),sz,col);
|
||||
}
|
||||
CIMGUI_API void igRenderRectFilledInRangeH(ImDrawList* draw_list,const ImRect_c rect,ImU32 col,float fill_x0,float fill_x1,float rounding)
|
||||
{
|
||||
return ImGui::RenderRectFilledInRangeH(draw_list,ConvertToCPP_ImRect(rect),col,fill_x0,fill_x1,rounding);
|
||||
@@ -5907,9 +5546,9 @@ CIMGUI_API bool igCloseButton(ImGuiID id,const ImVec2_c pos)
|
||||
{
|
||||
return ImGui::CloseButton(id,ConvertToCPP_ImVec2(pos));
|
||||
}
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2_c pos,ImGuiDockNode* dock_node)
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2_c pos)
|
||||
{
|
||||
return ImGui::CollapseButton(id,ConvertToCPP_ImVec2(pos),dock_node);
|
||||
return ImGui::CollapseButton(id,ConvertToCPP_ImVec2(pos));
|
||||
}
|
||||
CIMGUI_API void igScrollbar(ImGuiAxis axis)
|
||||
{
|
||||
@@ -5935,10 +5574,6 @@ CIMGUI_API ImGuiID igGetWindowResizeBorderID(ImGuiWindow* window,ImGuiDir dir)
|
||||
{
|
||||
return ImGui::GetWindowResizeBorderID(window,dir);
|
||||
}
|
||||
CIMGUI_API void igExtendHitBoxWhenNearViewportEdge(ImGuiWindow* window,ImRect* bb,float threshold,ImGuiAxis axis)
|
||||
{
|
||||
return ImGui::ExtendHitBoxWhenNearViewportEdge(window,bb,threshold,axis);
|
||||
}
|
||||
CIMGUI_API bool igButtonBehavior(const ImRect_c bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags)
|
||||
{
|
||||
return ImGui::ButtonBehavior(ConvertToCPP_ImRect(bb),id,out_hovered,out_held,flags);
|
||||
@@ -5971,6 +5606,10 @@ CIMGUI_API void igTreePushOverrideID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TreePushOverrideID(id);
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeGetOpen(ImGuiID storage_id)
|
||||
{
|
||||
return ImGui::TreeNodeGetOpen(storage_id);
|
||||
}
|
||||
CIMGUI_API void igTreeNodeSetOpen(ImGuiID storage_id,bool open)
|
||||
{
|
||||
return ImGui::TreeNodeSetOpen(storage_id,open);
|
||||
@@ -6015,9 +5654,9 @@ CIMGUI_API void igInputTextDeactivateHook(ImGuiID id)
|
||||
{
|
||||
return ImGui::InputTextDeactivateHook(id);
|
||||
}
|
||||
CIMGUI_API bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
CIMGUI_API bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags)
|
||||
{
|
||||
return ImGui::TempInputText(ConvertToCPP_ImRect(bb),id,label,buf,buf_size,flags,callback,user_data);
|
||||
return ImGui::TempInputText(ConvertToCPP_ImRect(bb),id,label,buf,buf_size,flags);
|
||||
}
|
||||
CIMGUI_API bool igTempInputScalar(const ImRect_c bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max)
|
||||
{
|
||||
@@ -6115,10 +5754,6 @@ CIMGUI_API void igEndErrorTooltip()
|
||||
{
|
||||
return ImGui::EndErrorTooltip();
|
||||
}
|
||||
CIMGUI_API void igDemoMarker(const char* file,int line,const char* section)
|
||||
{
|
||||
return ImGui::DemoMarker(file,line,section);
|
||||
}
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)
|
||||
{
|
||||
return ImGui::DebugAllocHook(info,frame_count,ptr,size);
|
||||
@@ -6179,10 +5814,6 @@ CIMGUI_API void igDebugNodeColumns(ImGuiOldColumns* columns)
|
||||
{
|
||||
return ImGui::DebugNodeColumns(columns);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeDockNode(ImGuiDockNode* node,const char* label)
|
||||
{
|
||||
return ImGui::DebugNodeDockNode(node,label);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeDrawList(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label)
|
||||
{
|
||||
return ImGui::DebugNodeDrawList(window,viewport,draw_list,label);
|
||||
@@ -6195,9 +5826,9 @@ CIMGUI_API void igDebugNodeFont(ImFont* font)
|
||||
{
|
||||
return ImGui::DebugNodeFont(font);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeFontGlyphsForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask)
|
||||
CIMGUI_API void igDebugNodeFontGlyphesForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask)
|
||||
{
|
||||
return ImGui::DebugNodeFontGlyphsForSrcMask(font,baked,src_mask);
|
||||
return ImGui::DebugNodeFontGlyphesForSrcMask(font,baked,src_mask);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeFontGlyph(ImFont* font,const ImFontGlyph* glyph)
|
||||
{
|
||||
@@ -6255,10 +5886,6 @@ CIMGUI_API void igDebugNodeViewport(ImGuiViewportP* viewport)
|
||||
{
|
||||
return ImGui::DebugNodeViewport(viewport);
|
||||
}
|
||||
CIMGUI_API void igDebugNodePlatformMonitor(ImGuiPlatformMonitor* monitor,const char* label,int idx)
|
||||
{
|
||||
return ImGui::DebugNodePlatformMonitor(monitor,label,idx);
|
||||
}
|
||||
CIMGUI_API void igDebugRenderKeyboardPreview(ImDrawList* draw_list)
|
||||
{
|
||||
return ImGui::DebugRenderKeyboardPreview(draw_list);
|
||||
|
||||
@@ -110,16 +110,12 @@ CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
|
||||
typedef struct ImGui_ImplVulkanH_Frame ImGui_ImplVulkanH_Frame;
|
||||
typedef struct ImGui_ImplVulkanH_Window ImGui_ImplVulkanH_Window;
|
||||
typedef struct ImGui_ImplVulkan_PipelineInfo ImGui_ImplVulkan_PipelineInfo;
|
||||
typedef struct ImVector_VkDynamicState {int Size;int Capacity;VkDynamicState* Data;} ImVector_VkDynamicState;
|
||||
|
||||
struct ImGui_ImplVulkan_PipelineInfo
|
||||
{
|
||||
VkRenderPass RenderPass;
|
||||
uint32_t Subpass;
|
||||
VkSampleCountFlagBits MSAASamples;
|
||||
ImVector_VkDynamicState ExtraDynamicStates;
|
||||
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
|
||||
VkImageUsageFlags SwapChainImageUsage;
|
||||
};
|
||||
typedef struct ImGui_ImplVulkan_InitInfo ImGui_ImplVulkan_InitInfo;
|
||||
struct ImGui_ImplVulkan_InitInfo
|
||||
@@ -136,7 +132,6 @@ struct ImGui_ImplVulkan_InitInfo
|
||||
uint32_t ImageCount;
|
||||
VkPipelineCache PipelineCache;
|
||||
ImGui_ImplVulkan_PipelineInfo PipelineInfoMain;
|
||||
ImGui_ImplVulkan_PipelineInfo PipelineInfoForViewports;
|
||||
bool UseDynamicRendering;
|
||||
const VkAllocationCallbacks* Allocator;
|
||||
void (*CheckVkResultFn)(VkResult err);
|
||||
@@ -184,6 +179,7 @@ struct ImGui_ImplVulkanH_Window
|
||||
int Height;
|
||||
VkSwapchainKHR Swapchain;
|
||||
VkRenderPass RenderPass;
|
||||
VkPipeline Pipeline;
|
||||
uint32_t FrameIndex;
|
||||
uint32_t ImageCount;
|
||||
uint32_t SemaphoreCount;
|
||||
@@ -195,12 +191,10 @@ struct ImGui_ImplVulkanH_Window
|
||||
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
|
||||
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
|
||||
typedef ImVector<VkDynamicState> ImVector_VkDynamicState;
|
||||
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator);
|
||||
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
|
||||
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_GetWindowDataFromViewport(ImGuiViewport* viewport);
|
||||
CIMGUI_API VkPhysicalDevice ImGui_ImplVulkanH_SelectPhysicalDevice(VkInstance instance);
|
||||
CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count);
|
||||
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
|
||||
|
||||
@@ -195,11 +195,6 @@ local function check_template(code)
|
||||
te = te:gsub("%s","_")
|
||||
te = te:gsub("%*","Ptr")
|
||||
te = te:gsub("::","_")
|
||||
te = te:gsub("%(","_")
|
||||
te = te:gsub("%)","_")
|
||||
te = te:gsub("&","amp")
|
||||
te = te:gsub("<","_")
|
||||
te = te:gsub(">","_")
|
||||
|
||||
code2 = code:gsub("(<[%w_%*%s]+>)([^%s%*])","%1 %2")
|
||||
code2 = code2:gsub("<([^<>]-)>","_"..te)
|
||||
@@ -348,12 +343,11 @@ local function getRE()
|
||||
-- but we don want operator== to appear as a var and as we should skip this kind of function solution is:
|
||||
operator_re = "^([^;{}]+operator[^;{}]+%b()[\n%s%w%(%)_]*;)",
|
||||
struct_re = "^([^;{}]-struct[^;{}]-%b{}[%s%w_%(%)]*;)",
|
||||
class_re = "^([^;{}]-class[^;{}]-%b{}[%s%w_%(%)]*;)",
|
||||
--class_re = "^([^;{}]-class[^;{}]-%b{}%s*;)",
|
||||
enum_re = "^([^;{}]-enum[^;{}]-%b{}[%s%w_%(%)]*;)",
|
||||
union_re = "^([^;{}]-union[^;{}]-%b{}[%s%w_%(%)]*;)",
|
||||
structenum_re = "^([^;{}]-%b{}[%s%w_%(%)]*;)",
|
||||
namespace_re = "^([^;{}]-namespace[^;{}]-%b{})",
|
||||
class_re = "^([^;{}]-class[^;{}]-%b{}%s*;)",
|
||||
typedef_re = "^\n*%s*(typedef[^;]+;)",
|
||||
typedef_st_re = "^\n*(typedef%s+struct%s*%b{}.-;)",
|
||||
functypedef_re = "^\n*%s*(typedef[%w%s%*_]+%(%s*%*%s*[%w_]+%s*%)%s*%b()%s*;)",
|
||||
@@ -746,7 +740,6 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
||||
end
|
||||
|
||||
local ret = line:match("([^%(%):,]+[%*%s])%s?~?[_%w]+%b()")
|
||||
--local ret = line:match("(.+[%*%s])%s?~?[_%w]+%b()")
|
||||
--local funcname, args = line:match("(~?[_%w]+)%s*(%b())")
|
||||
local funcname, args, extraconst = line:match("(~?[_%w]+)%s*(%b())(.*)")
|
||||
extraconst = extraconst:match("const")
|
||||
@@ -789,7 +782,7 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
|
||||
--- templates in args
|
||||
for i,ar in ipairs(argsTa) do
|
||||
--TODO several diferent templates
|
||||
@@ -803,23 +796,13 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
||||
end
|
||||
argsTa[i] = te and code2 or ar --ar:gsub("<([%w_%*%s]+)>",te) --ImVector
|
||||
end
|
||||
--]]
|
||||
|
||||
--get typ, name and defaults
|
||||
local functype_re = "^%s*[%w%s%*]+%(%*%s*[%w_]+%)%([^%(%)]*%)"
|
||||
local functype_reex = "^(%s*[%w%s%*]+)%(%*%s*([%w_]+)%)(%([^%(%)]*%))"
|
||||
local argsTa2 = {}
|
||||
local noname_counter = 0
|
||||
for i,ar in ipairs(argsTa) do
|
||||
local ttype,template,te,code2 = check_template(ar) --ar:match("([^%s,%(%)]+)%s*<(.-)>")
|
||||
if template then
|
||||
if self.typenames[stname] ~= template then --rule out template typename
|
||||
self.templates[ttype] = self.templates[ttype] or {}
|
||||
self.templates[ttype][template] = te
|
||||
end
|
||||
end
|
||||
argsTa[i] = te and code2 or ar
|
||||
local template_orig = te and ar or nil
|
||||
ar = argsTa[i]
|
||||
--avoid var name without space type&name -> type& name
|
||||
-- also do type &name -> type& name
|
||||
--ar = ar:gsub("(%S)&(%S)","%1& %2")
|
||||
@@ -836,14 +819,7 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
||||
else
|
||||
reftoptr = nil
|
||||
if ar:match("&") then
|
||||
ar1,defa = ar:match"([^=]+)=([^=]+)"
|
||||
ar1 = ar1 or ar
|
||||
local typ11,name11 = ar1:match("(.+)%s([^%s]+)")
|
||||
typ11 = typ11:gsub("const ","")
|
||||
typ11 = typ11:gsub("&","")
|
||||
if ar:match("const") and not self.opaque_structs[typ11] then
|
||||
--if ar:match"Palette" then print("--w---w--w",ar,typ11,name11) end
|
||||
--print("--w---w--w",ar,cname)
|
||||
if ar:match("const") then
|
||||
ar = ar:gsub("&","")
|
||||
else
|
||||
ar = ar:gsub("&","*")
|
||||
@@ -872,7 +848,7 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
||||
name = name:gsub("(%[%d*%])","")
|
||||
end
|
||||
end
|
||||
argsTa2[i] = {type=typ,name=name,default=defa,reftoptr=reftoptr,ret=retf,signature=sigf,has_cdecl=has_cdecl,template_orig=template_orig}
|
||||
argsTa2[i] = {type=typ,name=name,default=defa,reftoptr=reftoptr,ret=retf,signature=sigf,has_cdecl=has_cdecl}
|
||||
if ar:match("&") and not ar:match("const") then
|
||||
--only post error if not manual
|
||||
local cname = self.getCname(stname,funcname, namespace) --cimguiname
|
||||
@@ -973,8 +949,6 @@ local function parseFunction(self,stname,itt,namespace,locat)
|
||||
defT.skipped = true
|
||||
end
|
||||
if ret then
|
||||
defT.stdret = line:match("^\n*%s*std::")
|
||||
--if ret:match"string" then print("parsefunction",defT.cimguiname, ret, line) end
|
||||
defT.ret = clean_spaces(ret:gsub("&","*"))
|
||||
defT.retref = ret:match("&")
|
||||
-- if defT.ret=="ImVec2" or defT.ret=="ImVec4" or defT.ret=="ImColor" then
|
||||
@@ -1352,88 +1326,11 @@ local function header_subs_nonPOD(FP,txt)
|
||||
return txt
|
||||
end
|
||||
M.header_subs_nonPOD = header_subs_nonPOD
|
||||
local function get_std_function(ar)
|
||||
local skip = false
|
||||
local ty=ar.template_orig:gsub(ar.name,"")
|
||||
ty = ty:match("std::function(%b<>)")
|
||||
ty = ty:sub(2,-2)
|
||||
local ret, args = ty:match("([^%(%)]+)(%b())")
|
||||
local ret2
|
||||
if ret:match"std::string_view" then
|
||||
ret2 = "const char*"
|
||||
elseif ret:match"std::string" then
|
||||
ret2 = "const char*"
|
||||
end
|
||||
args = args:sub(2,-2)
|
||||
local argsT = strsplit(args,",")
|
||||
--get noname args
|
||||
local argsT2 = {}
|
||||
local noname_counter = 0
|
||||
for i,v in ipairs(argsT) do
|
||||
local typ, name = v:match("(.+)%s+(%w+)")
|
||||
if not name then
|
||||
typ = v
|
||||
noname_counter = noname_counter + 1
|
||||
name = "noname" .. noname_counter
|
||||
end
|
||||
argsT2[i] = {type=typ,name=name}
|
||||
end
|
||||
--get conversions
|
||||
local argsT3 = {}
|
||||
for i,v in ipairs(argsT2) do
|
||||
local typ,name,conv
|
||||
if v.type:match("std::string_view") then
|
||||
typ = "const char*"
|
||||
conv = v.name..".data()"
|
||||
elseif v.type:match("std::string") then
|
||||
typ = "const char*"
|
||||
conv = v.name..".c_str()"
|
||||
elseif v.type:match("std::") then
|
||||
skip = true
|
||||
else
|
||||
end
|
||||
argsT3[i] = {type=typ or v.type,conv=conv,name=v.name}
|
||||
end
|
||||
local asp = ""
|
||||
local caar1 = ""
|
||||
local caar2 = ""
|
||||
for i,v in ipairs(argsT3) do
|
||||
asp = asp..v.type..","
|
||||
caar1 = caar1 .. argsT2[i].type.." "..argsT2[i].name..","
|
||||
caar2 = caar2..(argsT3[i].conv or argsT3[i].name)..","
|
||||
end
|
||||
caar1 = caar1:sub(1,-2)
|
||||
caar1 = "[cb]("..caar1..")"
|
||||
caar2 = caar2:sub(1,-2)
|
||||
caar2 = "cb("..caar2..")"
|
||||
if ret ~= "void" then
|
||||
if ret:match"std::string$" then
|
||||
caar2 = "return std::string("..caar2..")"
|
||||
-- elseif ret:match"std::string_view" then
|
||||
-- caar2 = "return "..caar2..".data()"
|
||||
else
|
||||
caar2 = "return "..caar2
|
||||
end
|
||||
end
|
||||
local caar = caar1 .."{"..caar2..";}"
|
||||
asp = asp:sub(1,-2)
|
||||
asp = (ret2 or ret).."(*cb)("..asp..")"
|
||||
-- print(ty,ret,args)
|
||||
-- M.prtable(argsT3)
|
||||
-- print("ret",ret)
|
||||
-- print("asp",asp)
|
||||
-- print("caar1",caar1)
|
||||
-- print("caar2",caar2)
|
||||
-- print("caar",caar)
|
||||
-- print("skip",skip)
|
||||
return caar,asp,skip
|
||||
end
|
||||
local function ADDnonUDT(FP)
|
||||
local nonPOD = get_nonPOD(FP)
|
||||
get_nonPODused(FP)
|
||||
for k,defs in pairs(FP.defsT) do
|
||||
for i, def in ipairs(defs) do
|
||||
local skip = nil
|
||||
--ret
|
||||
local rets = (def.ret or ""):gsub("const ","")
|
||||
rets = rets:gsub("*","")
|
||||
@@ -1444,14 +1341,6 @@ local function ADDnonUDT(FP)
|
||||
elseif FP.nP_ret[rets] then
|
||||
def.ret = def.ret:gsub(rets, FP.nP_ret[rets])
|
||||
def.nonUDT = 2
|
||||
elseif def.ret=="string" then
|
||||
def.ret = "const char*"
|
||||
def.nonUDT = "string"
|
||||
elseif FP.opaque_structs[rets] then
|
||||
assert(def.ret:match"%*","opaque struct without pointer")
|
||||
def.ret = def.ret:gsub(rets.."%s*%*",rets.."_opq")
|
||||
elseif def.stdret then -- not std::string
|
||||
skip = true
|
||||
end
|
||||
--args
|
||||
local caar,asp
|
||||
@@ -1474,30 +1363,6 @@ local function ADDnonUDT(FP)
|
||||
local typ3 = v.type:gsub(typ2,typ2.."_c")
|
||||
caar = caar .. "reinterpret_cast<"..v.type..">("..name.."),"
|
||||
asp = asp .. typ3 .." "..v.name..","
|
||||
elseif v.type:match("std::string_view") then
|
||||
caar = caar ..name..","
|
||||
asp = asp .. "const char* "..v.name..","
|
||||
elseif v.type:match("std::string") then
|
||||
caar = caar .. "std::string("..name.."),"
|
||||
asp = asp .. "const char* "..v.name..","
|
||||
elseif v.type:match"std::function" then
|
||||
local ca2,asp2,skip2 = get_std_function(v)
|
||||
caar = caar .. ca2..","
|
||||
asp = asp .. asp2..","
|
||||
if skip2 then skip = true end
|
||||
--skip = true
|
||||
elseif v.type:match("std::") then
|
||||
skip = true
|
||||
elseif FP.opaque_structs[typ2] then
|
||||
--assert(v.type:match"%*","opaque struct arg without pointer")
|
||||
if not v.type:match"%*" then
|
||||
M.prtable(def)
|
||||
error"opaque struct arg without pointer"
|
||||
end
|
||||
local newt = v.type:gsub(typ2.."%s*%*",typ2.."_opq")
|
||||
local callname = v.reftoptr and "*"..name or name
|
||||
caar = caar .. callname .. ","
|
||||
asp = asp .. newt.." "..name .. ","
|
||||
else
|
||||
local siz = v.type:match("(%[%d*%])") or ""
|
||||
local typ = v.type:gsub("(%[%d*%])","")
|
||||
@@ -1513,14 +1378,9 @@ local function ADDnonUDT(FP)
|
||||
caar = "()"
|
||||
asp = "()"
|
||||
end
|
||||
if skip then
|
||||
def.skipped = skip
|
||||
FP.skipped[def.ov_cimguiname] = true
|
||||
else
|
||||
def.call_args_old = def.call_args
|
||||
def.call_args = caar
|
||||
def.args = asp
|
||||
end
|
||||
def.call_args_old = def.call_args
|
||||
def.call_args = caar
|
||||
def.args = asp
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1693,36 +1553,6 @@ local function printItems(items)
|
||||
printItemsKind(items,v)
|
||||
end
|
||||
end
|
||||
|
||||
-------------------------------json saving
|
||||
--avoid mixed tables (with string and integer keys)
|
||||
local function json_prepare(defs)
|
||||
--delete signatures in function
|
||||
for k,def in pairs(defs) do
|
||||
for k2,v in pairs(def) do
|
||||
if type(k2)=="string" then
|
||||
def[k2] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
return defs
|
||||
end
|
||||
|
||||
|
||||
local function save_output(self)
|
||||
save_data("./output/overloads.txt",self.overloadstxt)
|
||||
save_data("./output/definitions.lua",M.serializeTableF(self.defsT))
|
||||
save_data("./output/structs_and_enums.lua",M.serializeTableF(self.structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.lua",M.serializeTableF(self.typedefs_dict))
|
||||
save_data("./output/constants.lua",M.serializeTableF(self.constants))
|
||||
|
||||
local json = require"json"
|
||||
local json_opts = {dict_on_empty={defaults=true}}
|
||||
save_data("./output/definitions.json",json.encode(json_prepare(self.defsT),json_opts))
|
||||
save_data("./output/structs_and_enums.json",json.encode(self.structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.json",json.encode(self.typedefs_dict))
|
||||
save_data("./output/constants.json",json.encode(self.constants))
|
||||
end
|
||||
-------------
|
||||
local numerr = 0 --for popen error file
|
||||
function M.Parser()
|
||||
@@ -1742,9 +1572,7 @@ function M.Parser()
|
||||
par.manuals = {}
|
||||
par.skipped = {}
|
||||
par.UDTs = {}
|
||||
par.opaque_structs = {}
|
||||
|
||||
par.save_output = save_output
|
||||
par.genConversors = genConversions
|
||||
par.gen_structs_c = gen_structs_c
|
||||
function par:insert(line,loca)
|
||||
@@ -1796,7 +1624,6 @@ function M.Parser()
|
||||
--try to guess a compiler error
|
||||
assert(not errstr:match" error")
|
||||
os.remove(errfile)
|
||||
self.constants = defines
|
||||
return defines
|
||||
end
|
||||
function par:do_parse()
|
||||
@@ -1851,29 +1678,6 @@ function M.Parser()
|
||||
end
|
||||
end
|
||||
end
|
||||
local function derived_check(it)
|
||||
--print("checks",it.name)
|
||||
--expects struct or class
|
||||
assert(it.re_name=="struct_re" or it.re_name=="class_re",it.re_name)
|
||||
local inistruct = clean_spaces(it.item:match("(.-)%b{}"))
|
||||
--clean final:
|
||||
inistruct = inistruct:gsub("%s*final%s*:",":")
|
||||
local stname, derived
|
||||
if inistruct:match":" then
|
||||
stname,derived = inistruct:match"struct%s*([^%s:]+):(.+)"
|
||||
if not stname then stname,derived = inistruct:match"class%s*([^%s:]+):(.+)" end
|
||||
if derived then
|
||||
derived = derived:match"(%S+)$"
|
||||
else assert(inistruct:match"private" or inistruct:match"protected",inistruct) end
|
||||
else
|
||||
if it.re_name == "struct_re" then
|
||||
stname = inistruct:match"struct%s(%S+)"
|
||||
elseif it.re_name == "class_re" then
|
||||
stname = inistruct:match"class%s(%S+)"
|
||||
end
|
||||
end
|
||||
return stname, derived
|
||||
end
|
||||
--recursive item parsing
|
||||
function par:parseItemsR2(txt, itparent)
|
||||
local itsarr,its = parseItems(txt,self.linenumdict,itparent)
|
||||
@@ -1882,22 +1686,17 @@ function M.Parser()
|
||||
if it.re_name == "class_re" then
|
||||
it.name = it.item:match("class%s+(%S+)")
|
||||
print("cleaning class",it.name)
|
||||
--it.item = it.item:gsub("private:.+};$","};")
|
||||
it.item = it.item:gsub("private:.+};$","};")
|
||||
--it.item = it.item:gsub("private:","")
|
||||
it.item = it.item:gsub("public:","")
|
||||
it.item = it.item:gsub("enum%s*class","enum")
|
||||
end
|
||||
|
||||
if not isLeaf(it.re_name) then
|
||||
local inner = strip_end(it.item:match("%b{}"):sub(2,-2))
|
||||
--print(it.item)
|
||||
--print(inner)
|
||||
it.childs = par:parseItemsR2(inner, it)
|
||||
--if it.name == "TextEditor" then M.prtable(it.childs) end
|
||||
for j,child in ipairs(it.childs) do
|
||||
child.parent = it
|
||||
end
|
||||
|
||||
if it.re_name == "struct_re" then
|
||||
local typename = it.item:match("^%s*template%s*<%s*typename%s*(%S+)%s*>")
|
||||
--local stname = it.item:match("struct%s+(%S+)")
|
||||
@@ -1916,37 +1715,6 @@ function M.Parser()
|
||||
it.name = it.item:match("namespace%s+(%S+)")
|
||||
elseif it.re_name == "class_re" then
|
||||
--it.name = it.item:match("class%s+(%S+)")
|
||||
local first_private
|
||||
for j,child in ipairs(it.childs) do
|
||||
if child.item:match("^\n*%s*private:") or child.item:match("^\n*%s*protected:") then
|
||||
first_private = j
|
||||
break
|
||||
end
|
||||
end
|
||||
if first_private then
|
||||
for j=first_private,#it.childs do
|
||||
--print("private discards",it.childs[j].re_name,it.childs[j].name)
|
||||
it.childs[j] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--create opaque_struct
|
||||
if it.re_name == "struct_re" or it.re_name == "class_re" then
|
||||
local stname,derived = derived_check(it)
|
||||
if derived and derived:match"std::" then
|
||||
print("--make opaque std::derived",it.name,derived)
|
||||
it.opaque_struct = (itparent and itparent.name .."::" or "")..it.name
|
||||
end
|
||||
for j,child in ipairs(it.childs) do
|
||||
if child.re_name == "vardef_re" and child.item:match"std::" then
|
||||
print("--make opaque",it.name,child.item)
|
||||
it.opaque_struct = (itparent and itparent.name .."::" or "")..it.name
|
||||
--cant do that as function is recursive
|
||||
--self.opaque_structs[it.name] = (itparent and itparent.name .."::" or "")..it.name
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -2029,17 +1797,8 @@ function M.Parser()
|
||||
--save_data("./preparse"..tostring(self):gsub("table: ","")..".c",txt)
|
||||
--]]
|
||||
self.itemsarr = par:parseItemsR2(txt)
|
||||
save_data("./itemsarr.lua",ToStr(self.itemsarr))
|
||||
--save_data("./itemsarr.lua",ToStr(self.itemsarr))
|
||||
itemsarr = self.itemsarr
|
||||
---find opaque_structs
|
||||
self:Listing(itemsarr,function(it)
|
||||
if it.re_name == "struct_re" or it.re_name == "class_re" then
|
||||
if it.opaque_struct then
|
||||
self.opaque_structs[it.name] = it.opaque_struct
|
||||
end
|
||||
end
|
||||
end)
|
||||
if next(self.opaque_structs) then M.prtable("opaque_structs:",self.opaque_structs) end
|
||||
end
|
||||
|
||||
function par:printItems()
|
||||
@@ -2078,7 +1837,6 @@ function M.Parser()
|
||||
end)
|
||||
return table.concat(ttd,"")
|
||||
end
|
||||
|
||||
function par:clean_structR1(itst,doheader)
|
||||
local stru = itst.item
|
||||
local outtab = {}
|
||||
@@ -2093,8 +1851,7 @@ function M.Parser()
|
||||
local stname, derived
|
||||
if inistruct:match":" then
|
||||
stname,derived = inistruct:match"struct%s*([^%s:]+):(.+)"
|
||||
if not stname then stname,derived = inistruct:match"class%s*([^%s:]+):(.+)" end
|
||||
print("derived------",inistruct,stname,derived, derived:match"(%S+)$")
|
||||
--print(inistruct,stname,derived)
|
||||
derived = derived:match"(%S+)$"
|
||||
else
|
||||
if itst.re_name == "struct_re" then
|
||||
@@ -2141,9 +1898,6 @@ function M.Parser()
|
||||
-- if stname=="StbUndoRecord" then error"dddd" end
|
||||
return ""
|
||||
end --here we avoid empty structs
|
||||
if itst.opaque_struct then
|
||||
return "", stname,nil,nil,""
|
||||
end
|
||||
for j,it in ipairs(itlist) do
|
||||
if (it.re_name == "vardef_re" or it.re_name == "functype_re") then -- or it.re_name == "union_re") then
|
||||
if not (it.re_name == "vardef_re" and it.item:match"static") then --skip static variables
|
||||
@@ -2152,32 +1906,28 @@ function M.Parser()
|
||||
--local ttype,template = it.item:match("([^%s,%(%)]+)%s*<(.+)>")
|
||||
local ttype,template,te,code2 = check_template(it2) --it.item:match"([^%s,%(%)]+)%s*<(.+)>"
|
||||
if template then
|
||||
--print(it2)
|
||||
--print("not doheader",ttype,template,te, self.typenames[ttype])
|
||||
--M.prtable(self.typenames)
|
||||
if self.typenames[ttype] and self.typenames[ttype] ~= template and self.typenames[ttype].."*" ~= template then --rule out T (template typename)
|
||||
if self.typenames[ttype] ~= template and self.typenames[ttype].."*" ~= template then --rule out T (template typename)
|
||||
self.templates[ttype] = self.templates[ttype] or {}
|
||||
self.templates[ttype][template] = te
|
||||
it2=code2
|
||||
end
|
||||
if doheader and self.templates[ttype] then
|
||||
if doheader then
|
||||
|
||||
local templatetypedef = self:gentemplatetypedef(ttype, template,self.templates[ttype][template])
|
||||
predeclare = predeclare .. templatetypedef
|
||||
end
|
||||
end
|
||||
--clean mutable
|
||||
it2 = it2:gsub("mutable","")
|
||||
--clean namespaces but not std::
|
||||
--if not it2:match"std::" then
|
||||
it2 = it2:gsub("%w+::","")
|
||||
--end
|
||||
--clean namespaces
|
||||
it2 = it2:gsub("%w+::","")
|
||||
--clean initializations
|
||||
if it.re_name == "vardef_re" then
|
||||
it2 = it2:gsub("%s*=.+;",";")
|
||||
it2 = it2:gsub("%b{}","")
|
||||
end
|
||||
table.insert(outtab,it2)
|
||||
--print("cleanstruct",it2)
|
||||
table.insert(commtab,{above=it.prevcomments,sameline=it.comments})--it.comments or "")
|
||||
end
|
||||
elseif it.re_name == "union_re" then
|
||||
@@ -2189,12 +1939,10 @@ function M.Parser()
|
||||
table.insert(outtab,item)
|
||||
com = (com ~= "") and com or nil
|
||||
table.insert(commtab,{above=it.prevcomments,sameline=com})
|
||||
elseif it.re_name == "struct_re" or it.re_name == "class_re" then
|
||||
elseif it.re_name == "struct_re" then
|
||||
--print("nested struct in",stname,it.name)
|
||||
--check if has declaration
|
||||
--local decl = it.item:match"%b{}%s*([^%s}{]+)%s*;"
|
||||
local decl = it.item:match"^[^{}]+%b{}%s*([^%s}{]+)%s*;"
|
||||
--local decl1,decl2,decl3 = it.item:match"^([^{}]+%b{})(%s*[^%s}{]+%s*;)(.*)$"
|
||||
local decl = it.item:match"%b{}%s*([^%s}{]+)%s*;"
|
||||
local cleanst,structname,strtab,comstab,predec = self:clean_structR1(it,doheader)
|
||||
if not structname then --unamed nested struct
|
||||
--print("----generate unamed nested struct----",it.name)
|
||||
@@ -2209,7 +1957,7 @@ function M.Parser()
|
||||
table.insert(commtab,{above=it.prevcomments,sameline=it.comments})--it.comments or "")
|
||||
end
|
||||
|
||||
if doheader and not it.opaque_struct then
|
||||
if doheader then
|
||||
local tst = "\ntypedef struct "..structname.." "..structname..";\n"
|
||||
if check_unique_typedefs(tst,uniques) then
|
||||
--table.insert(outtab,tst)
|
||||
@@ -2220,11 +1968,7 @@ function M.Parser()
|
||||
predeclare = predeclare .. predec .. cleanst
|
||||
end
|
||||
elseif it.re_name == "enum_re" then
|
||||
if doheader then
|
||||
local outtab1 = {}
|
||||
self:enum_for_header( it, outtab1)
|
||||
predeclare = predeclare .. table.concat(outtab1)
|
||||
end
|
||||
--nop
|
||||
elseif it.re_name ~= "functionD_re" and it.re_name ~= "function_re" and it.re_name ~= "operator_re" then
|
||||
print(it.re_name,"not processed clean_struct in",stname,it.item:sub(1,24))
|
||||
--M.prtable(it)
|
||||
@@ -2255,7 +1999,6 @@ function M.Parser()
|
||||
return parnam
|
||||
end
|
||||
function par:header_text_insert(tab,txt,it)
|
||||
--print("--header_text_insert",txt)--:sub(1,40))
|
||||
table.insert(tab, txt)
|
||||
end
|
||||
local function function_parse(self,it)
|
||||
@@ -2264,7 +2007,6 @@ function M.Parser()
|
||||
if it.parent then
|
||||
if it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" or it.parent.re_name == "class_re" then
|
||||
stname = it.parent.name
|
||||
namespace = get_parents_nameC(it)
|
||||
elseif it.parent.re_name == "namespace_re" then
|
||||
namespace = get_parents_nameC(it) --it.parent.name
|
||||
end
|
||||
@@ -2283,48 +2025,6 @@ function M.Parser()
|
||||
self:parseFunction(stname,it,namespace,it.locat)
|
||||
end
|
||||
end
|
||||
function par:enum_for_header( it,outtab)
|
||||
--local enumname, enumbody = it.item:match"^%s*enum%s+([^%s;{}]+)[%s\n\r]*(%b{})"
|
||||
local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
|
||||
if enumname then
|
||||
--if it's an enum with int type changed
|
||||
if self.structs_and_enums_table.enumtypes[enumname] then
|
||||
local enumtype = self.structs_and_enums_table.enumtypes[enumname]
|
||||
local enumbody = ""
|
||||
local extraenums = ""
|
||||
for i,v in ipairs(self.structs_and_enums_table.enums[enumname]) do
|
||||
if type(v.calc_value)=="string" then
|
||||
extraenums = extraenums .."\nstatic const "..enumtype.." "..v.name.." = "..v.calc_value..";"
|
||||
else
|
||||
enumbody = enumbody .. "\n" ..v.name .."="..v.value..","
|
||||
end
|
||||
end
|
||||
enumbody = "{"..enumbody.."\n}"
|
||||
--table.insert(outtab,"\ntypedef enum ".. enumbody..enumname..";"..extraenums)
|
||||
local it2 = "\ntypedef enum ".. enumbody..enumname..";"..extraenums
|
||||
self:header_text_insert(outtab, it2, it)
|
||||
else
|
||||
local enumbody = it.item:match"(%b{})"
|
||||
enumbody = clean_comments(enumbody)
|
||||
--table.insert(outtab,"\ntypedef enum ".. enumbody..enumname..";")
|
||||
local it2 = "\ntypedef enum ".. enumbody..enumname..";"
|
||||
self:header_text_insert(outtab, it2, it)
|
||||
end
|
||||
if it.parent then
|
||||
if it.parent.re_name == "namespace_re" then
|
||||
local namespace = it.parent.item:match("namespace%s+(%S+)")
|
||||
self.embeded_enums[enumname] = namespace.."::"..enumname
|
||||
else
|
||||
self.embeded_enums[enumname] = it.parent.name.."::"..enumname
|
||||
end
|
||||
end
|
||||
else --unamed enum just repeat declaration
|
||||
local cl_item = clean_comments(it.item)
|
||||
--table.insert(outtab,cl_item)
|
||||
self:header_text_insert(outtab, cl_item, it)
|
||||
print("unnamed enum",cl_item)
|
||||
end
|
||||
end
|
||||
function par:gen_structs_and_enums()
|
||||
print"--------------gen_structs_and_enums"
|
||||
--M.prtable(self.typenames)
|
||||
@@ -2335,11 +2035,6 @@ function M.Parser()
|
||||
--local uniques = {}
|
||||
|
||||
local processer = function(it)
|
||||
-- if it.re_name == "enum_re" then
|
||||
-- it.name = it.item:match"^%s*enum%s+([^%s;{}]+)"
|
||||
-- end
|
||||
-- print("gen_structs_and_enums",it.re_name, it.name)
|
||||
--table.insert(outtab,it.re_name.." "..(it.name or "unkn "))
|
||||
if it.re_name == "typedef_re" or it.re_name == "functypedef_re" or it.re_name == "vardef_re" then
|
||||
if not it.parent or it.parent.re_name=="namespace_re" then
|
||||
local it2 = it.item
|
||||
@@ -2377,18 +2072,12 @@ function M.Parser()
|
||||
print("--skip = vardef declaration:",it2)
|
||||
it2 = ""
|
||||
end
|
||||
if it2:match("%s*extern") then
|
||||
print("--skip extern vardef declaration:",it2)
|
||||
it2 = ""
|
||||
end
|
||||
end
|
||||
--table.insert(outtabpre,it2)
|
||||
--table.insert(outtab,it2)
|
||||
self:header_text_insert(outtab, it2, it)
|
||||
-- add typedef after struct name
|
||||
if it.re_name == "vardef_re" and it.item:match"^%s*struct" then
|
||||
--print("---------emmbed")
|
||||
--M.prtable(it)
|
||||
local stname = it.item:match("struct%s*(%S+)%s*;")
|
||||
--table.insert(typedefs_table,"typedef struct "..stname.." "..stname..";\n")
|
||||
local tst = "\ntypedef struct "..stname.." "..stname..";"
|
||||
@@ -2404,12 +2093,6 @@ function M.Parser()
|
||||
end
|
||||
end
|
||||
elseif it.re_name == "enum_re" then
|
||||
--dont insert child enums as they are inserted before parent struct
|
||||
if not (it.parent and (it.parent.re_name == "struct_re" or it.parent.re_name == "class_re")) then
|
||||
--self:header_text_insert(outtab, predec .. cleanst, it)
|
||||
self:enum_for_header(it,outtab)
|
||||
end
|
||||
--[[
|
||||
--local enumname, enumbody = it.item:match"^%s*enum%s+([^%s;{}]+)[%s\n\r]*(%b{})"
|
||||
local enumname = it.item:match"^%s*enum%s+([^%s;{}]+)"
|
||||
if enumname then
|
||||
@@ -2450,14 +2133,8 @@ function M.Parser()
|
||||
self:header_text_insert(outtab, cl_item, it)
|
||||
print("unnamed enum",cl_item)
|
||||
end
|
||||
--]]
|
||||
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" or it.re_name == "class_re" then
|
||||
if it.opaque_struct then
|
||||
self:header_text_insert(outtab, "\ntypedef struct "..it.name.."* "..it.name.."_opq;\n",it)
|
||||
else
|
||||
--self:header_text_insert(outtab,"\n///inittt "..it.name.."\n", it)
|
||||
local cleanst,structname,strtab,comstab,predec = self:clean_structR1(it,true)
|
||||
--self:header_text_insert(outtab,"\n///endttt "..it.name.."\n", it)
|
||||
if not structname then print("NO NAME",cleanst,it.item) end
|
||||
--if not void stname or templated
|
||||
if structname and not self.typenames[structname] then
|
||||
@@ -2472,16 +2149,14 @@ function M.Parser()
|
||||
end
|
||||
self.typedefs_dict[structname]="struct "..structname
|
||||
--dont insert child structs as they are inserted before parent struct
|
||||
if not (it.parent and (it.parent.re_name == "struct_re" or it.parent.re_name == "class_re")) then
|
||||
if not (it.parent and it.parent.re_name == "struct_re") then
|
||||
--table.insert(outtab,predec .. cleanst)
|
||||
self:header_text_insert(outtab, predec .. cleanst, it)
|
||||
end
|
||||
end
|
||||
if it.parent then --and (it.parent.re_name == "struct_re" or it.parent.re_name == "typedef_st_re" then
|
||||
--local embededst = (it.re_name == "struct_re" and it.item:match("struct%s+([^%s{]+)"))
|
||||
--or (it.re_name == "typedef_st_re" and it.item:match("%b{}%s*(%S+)%s*;"))
|
||||
local embededst = (it.re_name == "struct_re" or it.re_name == "class_re") and it.name
|
||||
--print("--------embedd1",it.re_name, it.name, embededst)
|
||||
local embededst = (it.re_name == "struct_re" and it.item:match("struct%s+([^%s{]+)"))
|
||||
or (it.re_name == "typedef_st_re" and it.item:match("%b{}%s*(%S+)%s*;"))
|
||||
--TODO nesting namespace and class
|
||||
if embededst then --discards false which can happen with untagged structs
|
||||
local parname = get_parents_name(it)
|
||||
@@ -2489,12 +2164,10 @@ function M.Parser()
|
||||
--needed by cimnodes with struct tag name equals member name
|
||||
self.embeded_structs[embededst] = "struct "..parname..embededst
|
||||
else
|
||||
--print("---------embeddd2",parname,embededst)
|
||||
self.embeded_structs[embededst] = parname..embededst
|
||||
end
|
||||
end
|
||||
end
|
||||
end --opaque_struct
|
||||
elseif it.re_name == "namespace_re" or it.re_name == "union_re" or it.re_name == "functype_re" then
|
||||
--nop
|
||||
elseif it.re_name == "functionD_re" or it.re_name == "function_re" then
|
||||
@@ -2517,10 +2190,6 @@ function M.Parser()
|
||||
-- end
|
||||
--check arg detection failure if no name in function declaration
|
||||
check_arg_detection(self.defsT,self.typedefs_dict)
|
||||
--table.insert(outtabpre,1,"\n/////outtabpre start\n")
|
||||
--table.insert(outtabpre,"\n/////outtabpre end\n")
|
||||
--table.insert(outtab,1,"\n/////outtab start\n")
|
||||
--table.insert(outtab,"\n/////outtab end\n")
|
||||
local outtabprest, outtabst = table.concat(outtabpre,""),table.concat(outtab,"")
|
||||
outtabprest = M.header_subs_nonPOD(self,outtabprest)
|
||||
outtabst = M.header_subs_nonPOD(self,outtabst)
|
||||
@@ -2543,7 +2212,6 @@ function M.Parser()
|
||||
table.insert(outtab,{type=t1..t2,name=name,comment=comment})
|
||||
else
|
||||
--split type name1,name2; in several lines
|
||||
--print(line)
|
||||
local typen,rest = line:match("%s*([^,]+)%s(%S+[,;])")
|
||||
--print(typen,"rest:",rest)
|
||||
if not typen then -- Lets try Type*name
|
||||
@@ -2641,7 +2309,7 @@ function M.Parser()
|
||||
par.enums_for_table = enums_for_table
|
||||
function par:gen_structs_and_enums_table()
|
||||
print"--------------gen_structs_and_enums_table"
|
||||
local outtab = {enums={},structs={},locations={},enumtypes={},struct_comments={},enum_comments={},opaque_structs={}}
|
||||
local outtab = {enums={},structs={},locations={},enumtypes={},struct_comments={},enum_comments={}}
|
||||
--self.typedefs_table = {}
|
||||
local enumsordered = {}
|
||||
unnamed_enum_counter = 0
|
||||
@@ -2690,21 +2358,11 @@ function M.Parser()
|
||||
print(it.item)
|
||||
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
|
||||
elseif it.re_name == "enum_re" then
|
||||
enums_for_table(it, outtab, enumsordered)
|
||||
elseif it.re_name == "struct_re" or it.re_name == "typedef_st_re" or it.re_name == "class_re" then
|
||||
local cleanst,structname,strtab,comstab = self:clean_structR1(it)
|
||||
if it.name then outtab.opaque_structs[it.name] = it.opaque_struct end
|
||||
--if not void stname or templated
|
||||
if not structname then print("NO NAME",cleanst,it.item) end
|
||||
if structname and not self.typenames[structname] then
|
||||
@@ -2712,25 +2370,17 @@ function M.Parser()
|
||||
outtab.struct_comments[structname] = {sameline=it.comments,above=it.prevcomments}
|
||||
outtab.struct_comments[structname] = next(outtab.struct_comments[structname]) and outtab.struct_comments[structname] or nil
|
||||
outtab.locations[structname] = it.locat
|
||||
if strtab then
|
||||
for j=3,#strtab-1 do
|
||||
self:parse_struct_line(strtab[j],outtab.structs[structname],comstab[j])
|
||||
end
|
||||
end
|
||||
-- if structname == "Change" then
|
||||
-- print(it.item)
|
||||
-- M.prtable(outtab.structs[structname])
|
||||
-- end
|
||||
else
|
||||
--templated struct
|
||||
if structname then
|
||||
print("saving templated struct",structname)
|
||||
self.templated_structs[structname] = {}
|
||||
if strtab then
|
||||
for j=3,#strtab-1 do
|
||||
self:parse_struct_line(strtab[j],self.templated_structs[structname],comstab[j])
|
||||
end
|
||||
end
|
||||
--M.prtable(self.templated_structs[structname])
|
||||
else
|
||||
print("skipped unnamed struct",structname)
|
||||
@@ -2738,10 +2388,10 @@ function M.Parser()
|
||||
end
|
||||
elseif it.re_name == "namespace_re" or it.re_name == "union_re" or it.re_name == "functype_re" then
|
||||
--nop
|
||||
elseif it.re_name == "functionD_re" or it.re_name == "function_re" then
|
||||
elseif it.re_name ~= "functionD_re" or it.re_name ~= "function_re" then
|
||||
function_parse(self,it)
|
||||
elseif it.re_name ~= "operator_re" then
|
||||
print("---not processed gen table",it.re_name)
|
||||
print("not processed gen table",it.re_name)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2992,11 +2642,7 @@ function M.Parser()
|
||||
end
|
||||
function par:gen_template_typedef_auto(ttype,te,newte)
|
||||
--M.prtable(self.templated_structs)
|
||||
--assert(self.templated_structs[ttype],ttype)
|
||||
if not self.templated_structs[ttype] then
|
||||
print("----gentemplatetypedef failed for", ttype)
|
||||
return ""
|
||||
end
|
||||
assert(self.templated_structs[ttype],ttype)
|
||||
local defi = self.templated_structs[ttype]
|
||||
local Targ = strsplit(self.typenames[ttype],",")
|
||||
local defa = {}
|
||||
@@ -3267,8 +2913,7 @@ local function location(file,locpathT,defines,COMPILER,keepemptylines)
|
||||
if name and val then
|
||||
--while defines[val] do val = defines[val] end
|
||||
--if val:match(number_re) or val:match(hex_re) then
|
||||
--table.insert(defines,{name , val})
|
||||
defines[name] = val
|
||||
table.insert(defines,{name , val})
|
||||
--end
|
||||
end
|
||||
end
|
||||
@@ -3318,7 +2963,7 @@ local function ImGui_f_implementation(def)
|
||||
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname..def.args.."\n")
|
||||
table.insert(outtab,"{\n")
|
||||
local namespace = def.namespace and def.namespace.."::" or ""
|
||||
--namespace = def.is_static_function and namespace..def.stname.."::" or namespace
|
||||
namespace = def.is_static_function and namespace..def.stname.."::" or namespace
|
||||
if def.isvararg then
|
||||
local call_args = def.call_args:gsub("%.%.%.","args")
|
||||
table.insert(outtab," va_list args;\n")
|
||||
@@ -3346,9 +2991,6 @@ local function ImGui_f_implementation(def)
|
||||
insert(outtab," return ConvertFromCPP_"..def.conv.."("..namespace..def.funcname..def.call_args..");\n")
|
||||
elseif def.nonUDT == 2 then
|
||||
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret..namespace..def.funcname..def.call_args..");\n")
|
||||
elseif def.nonUDT == "string" then
|
||||
insert(outtab," static std::string str = "..ptret..namespace..def.funcname..def.call_args..";\n")
|
||||
insert(outtab," return str.c_str();\n")
|
||||
end
|
||||
table.insert(outtab,"}\n")
|
||||
else --standard ImGui
|
||||
@@ -3387,9 +3029,6 @@ local function struct_f_implementation(def)
|
||||
insert(outtab," return ConvertFromCPP_"..def.conv.."(self->"..def.funcname..def.call_args..");\n")
|
||||
elseif def.nonUDT == 2 then
|
||||
insert(outtab," return reinterpret_cast<"..def.ret..">("..ptret.."self->"..def.funcname..def.call_args..");\n")
|
||||
elseif def.nonUDT == "string" then
|
||||
insert(outtab," static std::string str = "..ptret.."self->"..def.funcname..def.call_args..";\n")
|
||||
insert(outtab," return str.c_str();\n")
|
||||
end
|
||||
else --standard struct
|
||||
table.insert(outtab," return "..ptret.."self->"..def.funcname..def.call_args..";\n")
|
||||
@@ -3411,9 +3050,7 @@ local function func_implementation(FP)
|
||||
custom = FP.custom_implementation(outtab, def, FP)
|
||||
end
|
||||
local manual = FP.get_manuals(def)
|
||||
if not custom and not manual and not def.templated and not FP.get_skipped(def)
|
||||
and not (FP.opaque_structs[def.stname] and not def.is_static_function)
|
||||
then
|
||||
if not custom and not manual and not def.templated and not FP.get_skipped(def) then
|
||||
if def.constructor then
|
||||
local tab = {}
|
||||
assert(def.stname ~= "","constructor without struct")
|
||||
@@ -3469,28 +3106,20 @@ M.table_do_sorted = table_do_sorted
|
||||
|
||||
local function func_header_generate_structs(FP)
|
||||
|
||||
local outtab = {} --"\n/////func_header_generate_structs\n"}
|
||||
local outtab = {}--"\n/////func_header_generate_structs\n"}
|
||||
|
||||
table_do_sorted(FP.embeded_structs,function(k,v)
|
||||
table.insert(outtab,"typedef "..v.." "..k..";\n")
|
||||
end)
|
||||
|
||||
table_do_sorted(FP.embeded_enums,function(k,v) table.insert(outtab,"typedef "..v.." "..k..";\n") end)
|
||||
--table.insert(outtab, "\n//////////templates\n")
|
||||
table_do_sorted(FP.templates,function(ttype,v)
|
||||
--print("func_header_generate_structs",ttype)
|
||||
if not (ttype == "std::function") then
|
||||
table_do_sorted(v,function(ttypein,te)
|
||||
local ttype2 = ttype:gsub("::","_") --std::string
|
||||
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype2.."_"..te..";\n")
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
table_do_sorted(FP.opaque_structs,function(k,v)
|
||||
table.insert(outtab,"typedef const "..v.."* "..k.."_opq;\n")
|
||||
table_do_sorted(FP.templates,function(ttype,v)
|
||||
table_do_sorted(v,function(ttypein,te)
|
||||
local ttype2 = ttype:gsub("::","_") --std::string
|
||||
table.insert(outtab,"typedef "..ttype.."<"..ttypein.."> "..ttype2.."_"..te..";\n")
|
||||
end)
|
||||
end)
|
||||
--table.insert(outtab, "\n//////////end func header\n")
|
||||
return outtab
|
||||
end
|
||||
M.func_header_generate_structs = func_header_generate_structs
|
||||
@@ -3511,8 +3140,7 @@ local function func_header_generate_funcs(FP)
|
||||
custom = FP.custom_header(outtab, def)
|
||||
end
|
||||
local manual = FP.get_manuals(def)
|
||||
if not custom and not manual and not def.templated and not FP.get_skipped(def) and
|
||||
not (FP.opaque_structs[def.stname] and not def.is_static_function) then
|
||||
if not custom and not manual and not def.templated and not FP.get_skipped(def) then
|
||||
|
||||
local addcoment = "" --def.comment or ""
|
||||
local empty = def.args:match("^%(%)") --no args
|
||||
|
||||
@@ -39,10 +39,10 @@ if FREETYPE_GENERATION then
|
||||
end
|
||||
|
||||
if COMPILER == "gcc" or COMPILER == "clang" or COMPILER == "zig cc" then
|
||||
CPRE = COMPILER..[[ -E -dD -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CPRE = COMPILER..[[ -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CTEST = COMPILER.." --version"
|
||||
elseif COMPILER == "cl" then
|
||||
CPRE = COMPILER..[[ /E /d1PP /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CPRE = COMPILER..[[ /E /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CTEST = COMPILER
|
||||
else
|
||||
print("Working without compiler ")
|
||||
@@ -398,7 +398,7 @@ local function parseImGuiHeader(header,names)
|
||||
parser.custom_function_post = custom_function_post
|
||||
parser.header_text_insert = header_text_insert
|
||||
local defines = parser:take_lines(CPRE..header,names,COMPILER)
|
||||
--cpp2ffi.prtable("defines",defines)
|
||||
|
||||
return parser
|
||||
end
|
||||
--generation
|
||||
@@ -438,8 +438,14 @@ structs_and_enums_table.templated_structs = parser1.templated_structs
|
||||
structs_and_enums_table.typenames = parser1.typenames
|
||||
structs_and_enums_table.templates_done = parser1.templates_done
|
||||
--structs_and_enums_table.nonPOD_used = parser1.nP_used
|
||||
|
||||
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
|
||||
|
||||
----------save fundefs in definitions.lua for using in bindings
|
||||
--DefsByStruct(pFP)
|
||||
set_defines(parser1.defsT)
|
||||
parser1:save_output()
|
||||
save_data("./output/definitions.lua",serializeTableF(parser1.defsT))
|
||||
|
||||
--check every function has ov_cimguiname
|
||||
-- for k,v in pairs(parser1.defsT) do
|
||||
@@ -543,6 +549,13 @@ local function json_prepare(defs)
|
||||
end
|
||||
---[[
|
||||
local json = require"json"
|
||||
save_data("./output/definitions.json",json.encode(json_prepare(parser1.defsT),{dict_on_empty={defaults=true}}))
|
||||
--delete extra info for json
|
||||
--structs_and_enums_table.templated_structs = nil
|
||||
--structs_and_enums_table.typenames = nil
|
||||
--structs_and_enums_table.templates_done = nil
|
||||
save_data("./output/structs_and_enums.json",json.encode(structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.json",json.encode(parser1.typedefs_dict))
|
||||
if parser2 then
|
||||
save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}}))
|
||||
end
|
||||
|
||||
@@ -1,124 +0,0 @@
|
||||
{
|
||||
"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.7\"",
|
||||
"IMGUI_VERSION_NUM": "19270",
|
||||
"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_NavGamepadContextMenu": "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)"
|
||||
}
|
||||
@@ -1,124 +0,0 @@
|
||||
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.7\"",
|
||||
IMGUI_VERSION_NUM="19270",
|
||||
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_NavGamepadContextMenu="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
@@ -18,7 +18,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_CharCallback",
|
||||
"location": "imgui_impl_glfw:64",
|
||||
"location": "imgui_impl_glfw:62",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,unsigned int)",
|
||||
@@ -44,7 +44,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||
"location": "imgui_impl_glfw:59",
|
||||
"location": "imgui_impl_glfw:57",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int)",
|
||||
@@ -74,7 +74,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||
"location": "imgui_impl_glfw:60",
|
||||
"location": "imgui_impl_glfw:58",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,double,double)",
|
||||
@@ -96,7 +96,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||
"location": "imgui_impl_glfw:70",
|
||||
"location": "imgui_impl_glfw:68",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||
"ret": "float",
|
||||
"signature": "(GLFWmonitor*)",
|
||||
@@ -118,7 +118,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||
"location": "imgui_impl_glfw:69",
|
||||
"location": "imgui_impl_glfw:67",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||
"ret": "float",
|
||||
"signature": "(GLFWwindow*)",
|
||||
@@ -144,7 +144,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"location": "imgui_impl_glfw:35",
|
||||
"location": "imgui_impl_glfw:33",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@@ -170,7 +170,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForOther",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InitForOther",
|
||||
"location": "imgui_impl_glfw:37",
|
||||
"location": "imgui_impl_glfw:35",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForOther",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@@ -196,7 +196,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"location": "imgui_impl_glfw:36",
|
||||
"location": "imgui_impl_glfw:34",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@@ -218,7 +218,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||
"location": "imgui_impl_glfw:50",
|
||||
"location": "imgui_impl_glfw:48",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*)",
|
||||
@@ -256,7 +256,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"location": "imgui_impl_glfw:63",
|
||||
"location": "imgui_impl_glfw:61",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int,int,int,int)",
|
||||
@@ -282,7 +282,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_MonitorCallback",
|
||||
"location": "imgui_impl_glfw:65",
|
||||
"location": "imgui_impl_glfw:63",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_MonitorCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWmonitor*,int)",
|
||||
@@ -316,7 +316,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"location": "imgui_impl_glfw:61",
|
||||
"location": "imgui_impl_glfw:59",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int,int,int)",
|
||||
@@ -333,7 +333,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_NewFrame",
|
||||
"location": "imgui_impl_glfw:39",
|
||||
"location": "imgui_impl_glfw:37",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -355,7 +355,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||
"location": "imgui_impl_glfw:51",
|
||||
"location": "imgui_impl_glfw:49",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*)",
|
||||
@@ -385,7 +385,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"location": "imgui_impl_glfw:62",
|
||||
"location": "imgui_impl_glfw:60",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,double,double)",
|
||||
@@ -407,7 +407,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
"location": "imgui_impl_glfw:55",
|
||||
"location": "imgui_impl_glfw:53",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
"ret": "void",
|
||||
"signature": "(bool)",
|
||||
@@ -424,7 +424,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_Shutdown",
|
||||
"location": "imgui_impl_glfw:38",
|
||||
"location": "imgui_impl_glfw:36",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -446,7 +446,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_Sleep",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_Sleep",
|
||||
"location": "imgui_impl_glfw:68",
|
||||
"location": "imgui_impl_glfw:66",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_Sleep",
|
||||
"ret": "void",
|
||||
"signature": "(int)",
|
||||
@@ -472,7 +472,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||
"location": "imgui_impl_glfw:58",
|
||||
"location": "imgui_impl_glfw:56",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int)",
|
||||
@@ -489,7 +489,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl2:38",
|
||||
"location": "imgui_impl_opengl2:37",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -506,7 +506,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl2:39",
|
||||
"location": "imgui_impl_opengl2:38",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -523,7 +523,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_Init",
|
||||
"location": "imgui_impl_opengl2:32",
|
||||
"location": "imgui_impl_opengl2:31",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -540,7 +540,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"location": "imgui_impl_opengl2:34",
|
||||
"location": "imgui_impl_opengl2:33",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -562,7 +562,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"location": "imgui_impl_opengl2:35",
|
||||
"location": "imgui_impl_opengl2:34",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@@ -579,7 +579,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"location": "imgui_impl_opengl2:33",
|
||||
"location": "imgui_impl_opengl2:32",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -601,7 +601,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||
"location": "imgui_impl_opengl2:42",
|
||||
"location": "imgui_impl_opengl2:41",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_UpdateTexture",
|
||||
"ret": "void",
|
||||
"signature": "(ImTextureData*)",
|
||||
@@ -618,7 +618,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl3:41",
|
||||
"location": "imgui_impl_opengl3:40",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -635,7 +635,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl3:42",
|
||||
"location": "imgui_impl_opengl3:41",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -659,7 +659,7 @@
|
||||
"glsl_version": "nullptr"
|
||||
},
|
||||
"funcname": "ImGui_ImplOpenGL3_Init",
|
||||
"location": "imgui_impl_opengl3:35",
|
||||
"location": "imgui_impl_opengl3:34",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(const char*)",
|
||||
@@ -676,7 +676,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"location": "imgui_impl_opengl3:37",
|
||||
"location": "imgui_impl_opengl3:36",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -698,7 +698,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"location": "imgui_impl_opengl3:38",
|
||||
"location": "imgui_impl_opengl3:37",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@@ -715,7 +715,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"location": "imgui_impl_opengl3:36",
|
||||
"location": "imgui_impl_opengl3:35",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -737,7 +737,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_UpdateTexture",
|
||||
"location": "imgui_impl_opengl3:45",
|
||||
"location": "imgui_impl_opengl3:44",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_UpdateTexture",
|
||||
"ret": "void",
|
||||
"signature": "(ImTextureData*)",
|
||||
@@ -759,7 +759,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||
"location": "imgui_impl_sdl2:47",
|
||||
"location": "imgui_impl_sdl2:43",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||
"ret": "float",
|
||||
"signature": "(int)",
|
||||
@@ -781,7 +781,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||
"location": "imgui_impl_sdl2:46",
|
||||
"location": "imgui_impl_sdl2:42",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||
"ret": "float",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -803,7 +803,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_InitForD3D",
|
||||
"location": "imgui_impl_sdl2:37",
|
||||
"location": "imgui_impl_sdl2:33",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForD3D",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -825,7 +825,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_InitForMetal",
|
||||
"location": "imgui_impl_sdl2:38",
|
||||
"location": "imgui_impl_sdl2:34",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForMetal",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -851,7 +851,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||
"location": "imgui_impl_sdl2:35",
|
||||
"location": "imgui_impl_sdl2:31",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,void*)",
|
||||
@@ -873,7 +873,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForOther",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_InitForOther",
|
||||
"location": "imgui_impl_sdl2:40",
|
||||
"location": "imgui_impl_sdl2:36",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForOther",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -899,7 +899,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
||||
"location": "imgui_impl_sdl2:39",
|
||||
"location": "imgui_impl_sdl2:35",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForSDLRenderer",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,SDL_Renderer*)",
|
||||
@@ -921,7 +921,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_InitForVulkan",
|
||||
"location": "imgui_impl_sdl2:36",
|
||||
"location": "imgui_impl_sdl2:32",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -938,7 +938,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_NewFrame",
|
||||
"location": "imgui_impl_sdl2:42",
|
||||
"location": "imgui_impl_sdl2:38",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -960,7 +960,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_ProcessEvent",
|
||||
"location": "imgui_impl_sdl2:43",
|
||||
"location": "imgui_impl_sdl2:39",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent",
|
||||
"ret": "bool",
|
||||
"signature": "(const SDL_Event*)",
|
||||
@@ -993,7 +993,7 @@
|
||||
"manual_gamepads_count": "-1"
|
||||
},
|
||||
"funcname": "ImGui_ImplSDL2_SetGamepadMode",
|
||||
"location": "imgui_impl_sdl2:52",
|
||||
"location": "imgui_impl_sdl2:48",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
|
||||
@@ -1015,7 +1015,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||
"location": "imgui_impl_sdl2:59",
|
||||
"location": "imgui_impl_sdl2:55",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplSDL2_MouseCaptureMode)",
|
||||
@@ -1032,7 +1032,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL2_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL2_Shutdown",
|
||||
"location": "imgui_impl_sdl2:41",
|
||||
"location": "imgui_impl_sdl2:37",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1054,7 +1054,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForD3D",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForD3D",
|
||||
"location": "imgui_impl_sdl3:36",
|
||||
"location": "imgui_impl_sdl3:33",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForD3D",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -1076,7 +1076,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForMetal",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForMetal",
|
||||
"location": "imgui_impl_sdl3:37",
|
||||
"location": "imgui_impl_sdl3:34",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForMetal",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -1102,7 +1102,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||
"location": "imgui_impl_sdl3:34",
|
||||
"location": "imgui_impl_sdl3:31",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,void*)",
|
||||
@@ -1124,7 +1124,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForOther",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForOther",
|
||||
"location": "imgui_impl_sdl3:40",
|
||||
"location": "imgui_impl_sdl3:37",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForOther",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -1146,7 +1146,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForSDLGPU",
|
||||
"location": "imgui_impl_sdl3:39",
|
||||
"location": "imgui_impl_sdl3:36",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLGPU",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -1172,7 +1172,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
"location": "imgui_impl_sdl3:38",
|
||||
"location": "imgui_impl_sdl3:35",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*,SDL_Renderer*)",
|
||||
@@ -1194,7 +1194,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_InitForVulkan",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_InitForVulkan",
|
||||
"location": "imgui_impl_sdl3:35",
|
||||
"location": "imgui_impl_sdl3:32",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(SDL_Window*)",
|
||||
@@ -1211,7 +1211,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_NewFrame",
|
||||
"location": "imgui_impl_sdl3:42",
|
||||
"location": "imgui_impl_sdl3:39",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1233,7 +1233,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_ProcessEvent",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_ProcessEvent",
|
||||
"location": "imgui_impl_sdl3:43",
|
||||
"location": "imgui_impl_sdl3:40",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_ProcessEvent",
|
||||
"ret": "bool",
|
||||
"signature": "(const SDL_Event*)",
|
||||
@@ -1266,7 +1266,7 @@
|
||||
"manual_gamepads_count": "-1"
|
||||
},
|
||||
"funcname": "ImGui_ImplSDL3_SetGamepadMode",
|
||||
"location": "imgui_impl_sdl3:48",
|
||||
"location": "imgui_impl_sdl3:45",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_SetGamepadMode",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
|
||||
@@ -1288,7 +1288,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||
"location": "imgui_impl_sdl3:55",
|
||||
"location": "imgui_impl_sdl3:52",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplSDL3_MouseCaptureMode)",
|
||||
@@ -1305,7 +1305,7 @@
|
||||
"cimguiname": "ImGui_ImplSDL3_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplSDL3_Shutdown",
|
||||
"location": "imgui_impl_sdl3:41",
|
||||
"location": "imgui_impl_sdl3:38",
|
||||
"ov_cimguiname": "ImGui_ImplSDL3_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1363,7 +1363,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"location": "imgui_impl_vulkan:208",
|
||||
"location": "imgui_impl_vulkan:199",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
|
||||
@@ -1397,7 +1397,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"location": "imgui_impl_vulkan:209",
|
||||
"location": "imgui_impl_vulkan:200",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1419,35 +1419,13 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"location": "imgui_impl_vulkan:214",
|
||||
"location": "imgui_impl_vulkan:205",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"ret": "int",
|
||||
"signature": "(VkPresentModeKHR)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplVulkanH_GetWindowDataFromViewport": [
|
||||
{
|
||||
"args": "(ImGuiViewport* viewport)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "viewport",
|
||||
"type": "ImGuiViewport*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(ImGuiViewport* viewport)",
|
||||
"call_args": "(viewport)",
|
||||
"call_args_old": "(viewport)",
|
||||
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
"location": "imgui_impl_vulkan:215",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
"ret": "ImGui_ImplVulkanH_Window*",
|
||||
"signature": "(ImGuiViewport*)",
|
||||
"stname": ""
|
||||
}
|
||||
],
|
||||
"ImGui_ImplVulkanH_SelectPhysicalDevice": [
|
||||
{
|
||||
"args": "(VkInstance instance)",
|
||||
@@ -1463,7 +1441,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"location": "imgui_impl_vulkan:212",
|
||||
"location": "imgui_impl_vulkan:203",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"ret": "VkPhysicalDevice",
|
||||
"signature": "(VkInstance)",
|
||||
@@ -1497,7 +1475,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"location": "imgui_impl_vulkan:211",
|
||||
"location": "imgui_impl_vulkan:202",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"ret": "VkPresentModeKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1519,7 +1497,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"location": "imgui_impl_vulkan:213",
|
||||
"location": "imgui_impl_vulkan:204",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"ret": "uint32_t",
|
||||
"signature": "(VkPhysicalDevice)",
|
||||
@@ -1557,7 +1535,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"location": "imgui_impl_vulkan:210",
|
||||
"location": "imgui_impl_vulkan:201",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"ret": "VkSurfaceFormatKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1575,8 +1553,7 @@
|
||||
"constructor": true,
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_Window",
|
||||
"location": "imgui_impl_vulkan:260",
|
||||
"namespace": "ImGui_ImplVulkanH_Window",
|
||||
"location": "imgui_impl_vulkan:251",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||
"signature": "()",
|
||||
"stname": "ImGui_ImplVulkanH_Window"
|
||||
@@ -1595,7 +1572,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||
"defaults": {},
|
||||
"destructor": true,
|
||||
"location": "imgui_impl_vulkan:260",
|
||||
"location": "imgui_impl_vulkan:251",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplVulkanH_Window*)",
|
||||
@@ -1625,7 +1602,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_AddTexture",
|
||||
"location": "imgui_impl_vulkan:166",
|
||||
"location": "imgui_impl_vulkan:157",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"ret": "VkDescriptorSet",
|
||||
"signature": "(VkSampler,VkImageView,VkImageLayout)",
|
||||
@@ -1647,7 +1624,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"location": "imgui_impl_vulkan:158",
|
||||
"location": "imgui_impl_vulkan:149",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"ret": "void",
|
||||
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||
@@ -1669,7 +1646,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Init",
|
||||
"location": "imgui_impl_vulkan:149",
|
||||
"location": "imgui_impl_vulkan:140",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1701,7 +1678,7 @@
|
||||
"user_data": "nullptr"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"location": "imgui_impl_vulkan:171",
|
||||
"location": "imgui_impl_vulkan:162",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"ret": "bool",
|
||||
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1718,7 +1695,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_NewFrame",
|
||||
"location": "imgui_impl_vulkan:151",
|
||||
"location": "imgui_impl_vulkan:142",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1740,7 +1717,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"location": "imgui_impl_vulkan:167",
|
||||
"location": "imgui_impl_vulkan:158",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"ret": "void",
|
||||
"signature": "(VkDescriptorSet)",
|
||||
@@ -1772,7 +1749,7 @@
|
||||
"pipeline": "0ULL"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"location": "imgui_impl_vulkan:152",
|
||||
"location": "imgui_impl_vulkan:143",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1794,7 +1771,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"location": "imgui_impl_vulkan:153",
|
||||
"location": "imgui_impl_vulkan:144",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"ret": "void",
|
||||
"signature": "(uint32_t)",
|
||||
@@ -1811,7 +1788,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Shutdown",
|
||||
"location": "imgui_impl_vulkan:150",
|
||||
"location": "imgui_impl_vulkan:141",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1833,7 +1810,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"location": "imgui_impl_vulkan:161",
|
||||
"location": "imgui_impl_vulkan:152",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"ret": "void",
|
||||
"signature": "(ImTextureData*)",
|
||||
|
||||
@@ -15,7 +15,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_CharCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_CharCallback",
|
||||
location="imgui_impl_glfw:64",
|
||||
location="imgui_impl_glfw:62",
|
||||
ov_cimguiname="ImGui_ImplGlfw_CharCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,unsigned int)",
|
||||
@@ -37,7 +37,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||
location="imgui_impl_glfw:59",
|
||||
location="imgui_impl_glfw:57",
|
||||
ov_cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int)",
|
||||
@@ -62,7 +62,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_CursorPosCallback",
|
||||
location="imgui_impl_glfw:60",
|
||||
location="imgui_impl_glfw:58",
|
||||
ov_cimguiname="ImGui_ImplGlfw_CursorPosCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,double,double)",
|
||||
@@ -81,7 +81,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||
location="imgui_impl_glfw:70",
|
||||
location="imgui_impl_glfw:68",
|
||||
ov_cimguiname="ImGui_ImplGlfw_GetContentScaleForMonitor",
|
||||
ret="float",
|
||||
signature="(GLFWmonitor*)",
|
||||
@@ -100,7 +100,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||
location="imgui_impl_glfw:69",
|
||||
location="imgui_impl_glfw:67",
|
||||
ov_cimguiname="ImGui_ImplGlfw_GetContentScaleForWindow",
|
||||
ret="float",
|
||||
signature="(GLFWwindow*)",
|
||||
@@ -122,7 +122,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InitForOpenGL",
|
||||
location="imgui_impl_glfw:35",
|
||||
location="imgui_impl_glfw:33",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InitForOpenGL",
|
||||
ret="bool",
|
||||
signature="(GLFWwindow*,bool)",
|
||||
@@ -144,7 +144,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InitForOther",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InitForOther",
|
||||
location="imgui_impl_glfw:37",
|
||||
location="imgui_impl_glfw:35",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InitForOther",
|
||||
ret="bool",
|
||||
signature="(GLFWwindow*,bool)",
|
||||
@@ -166,7 +166,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InitForVulkan",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InitForVulkan",
|
||||
location="imgui_impl_glfw:36",
|
||||
location="imgui_impl_glfw:34",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InitForVulkan",
|
||||
ret="bool",
|
||||
signature="(GLFWwindow*,bool)",
|
||||
@@ -185,7 +185,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InstallCallbacks",
|
||||
location="imgui_impl_glfw:50",
|
||||
location="imgui_impl_glfw:48",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InstallCallbacks",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*)",
|
||||
@@ -216,7 +216,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_KeyCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_KeyCallback",
|
||||
location="imgui_impl_glfw:63",
|
||||
location="imgui_impl_glfw:61",
|
||||
ov_cimguiname="ImGui_ImplGlfw_KeyCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int,int,int,int)",
|
||||
@@ -238,7 +238,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_MonitorCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_MonitorCallback",
|
||||
location="imgui_impl_glfw:65",
|
||||
location="imgui_impl_glfw:63",
|
||||
ov_cimguiname="ImGui_ImplGlfw_MonitorCallback",
|
||||
ret="void",
|
||||
signature="(GLFWmonitor*,int)",
|
||||
@@ -266,7 +266,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||
location="imgui_impl_glfw:61",
|
||||
location="imgui_impl_glfw:59",
|
||||
ov_cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int,int,int)",
|
||||
@@ -282,7 +282,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_NewFrame",
|
||||
location="imgui_impl_glfw:39",
|
||||
location="imgui_impl_glfw:37",
|
||||
ov_cimguiname="ImGui_ImplGlfw_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -301,7 +301,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||
location="imgui_impl_glfw:51",
|
||||
location="imgui_impl_glfw:49",
|
||||
ov_cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*)",
|
||||
@@ -326,7 +326,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_ScrollCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_ScrollCallback",
|
||||
location="imgui_impl_glfw:62",
|
||||
location="imgui_impl_glfw:60",
|
||||
ov_cimguiname="ImGui_ImplGlfw_ScrollCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,double,double)",
|
||||
@@ -345,7 +345,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
location="imgui_impl_glfw:55",
|
||||
location="imgui_impl_glfw:53",
|
||||
ov_cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
ret="void",
|
||||
signature="(bool)",
|
||||
@@ -361,7 +361,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_Shutdown",
|
||||
location="imgui_impl_glfw:38",
|
||||
location="imgui_impl_glfw:36",
|
||||
ov_cimguiname="ImGui_ImplGlfw_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -380,7 +380,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_Sleep",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_Sleep",
|
||||
location="imgui_impl_glfw:68",
|
||||
location="imgui_impl_glfw:66",
|
||||
ov_cimguiname="ImGui_ImplGlfw_Sleep",
|
||||
ret="void",
|
||||
signature="(int)",
|
||||
@@ -402,7 +402,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||
location="imgui_impl_glfw:58",
|
||||
location="imgui_impl_glfw:56",
|
||||
ov_cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int)",
|
||||
@@ -418,7 +418,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
location="imgui_impl_opengl2:38",
|
||||
location="imgui_impl_opengl2:37",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -434,7 +434,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
location="imgui_impl_opengl2:39",
|
||||
location="imgui_impl_opengl2:38",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -450,7 +450,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_Init",
|
||||
location="imgui_impl_opengl2:32",
|
||||
location="imgui_impl_opengl2:31",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_Init",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -466,7 +466,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_NewFrame",
|
||||
location="imgui_impl_opengl2:34",
|
||||
location="imgui_impl_opengl2:33",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -485,7 +485,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
location="imgui_impl_opengl2:35",
|
||||
location="imgui_impl_opengl2:34",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*)",
|
||||
@@ -501,7 +501,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_Shutdown",
|
||||
location="imgui_impl_opengl2:33",
|
||||
location="imgui_impl_opengl2:32",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -520,7 +520,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||
location="imgui_impl_opengl2:42",
|
||||
location="imgui_impl_opengl2:41",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_UpdateTexture",
|
||||
ret="void",
|
||||
signature="(ImTextureData*)",
|
||||
@@ -536,7 +536,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
location="imgui_impl_opengl3:41",
|
||||
location="imgui_impl_opengl3:40",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -552,7 +552,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
location="imgui_impl_opengl3:42",
|
||||
location="imgui_impl_opengl3:41",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -572,7 +572,7 @@ local t={
|
||||
defaults={
|
||||
glsl_version="nullptr"},
|
||||
funcname="ImGui_ImplOpenGL3_Init",
|
||||
location="imgui_impl_opengl3:35",
|
||||
location="imgui_impl_opengl3:34",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_Init",
|
||||
ret="bool",
|
||||
signature="(const char*)",
|
||||
@@ -588,7 +588,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_NewFrame",
|
||||
location="imgui_impl_opengl3:37",
|
||||
location="imgui_impl_opengl3:36",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -607,7 +607,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||
location="imgui_impl_opengl3:38",
|
||||
location="imgui_impl_opengl3:37",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*)",
|
||||
@@ -623,7 +623,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_Shutdown",
|
||||
location="imgui_impl_opengl3:36",
|
||||
location="imgui_impl_opengl3:35",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -642,7 +642,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_UpdateTexture",
|
||||
location="imgui_impl_opengl3:45",
|
||||
location="imgui_impl_opengl3:44",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_UpdateTexture",
|
||||
ret="void",
|
||||
signature="(ImTextureData*)",
|
||||
@@ -661,7 +661,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||
location="imgui_impl_sdl2:47",
|
||||
location="imgui_impl_sdl2:43",
|
||||
ov_cimguiname="ImGui_ImplSDL2_GetContentScaleForDisplay",
|
||||
ret="float",
|
||||
signature="(int)",
|
||||
@@ -680,7 +680,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||
location="imgui_impl_sdl2:46",
|
||||
location="imgui_impl_sdl2:42",
|
||||
ov_cimguiname="ImGui_ImplSDL2_GetContentScaleForWindow",
|
||||
ret="float",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -699,7 +699,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_InitForD3D",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_InitForD3D",
|
||||
location="imgui_impl_sdl2:37",
|
||||
location="imgui_impl_sdl2:33",
|
||||
ov_cimguiname="ImGui_ImplSDL2_InitForD3D",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -718,7 +718,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_InitForMetal",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_InitForMetal",
|
||||
location="imgui_impl_sdl2:38",
|
||||
location="imgui_impl_sdl2:34",
|
||||
ov_cimguiname="ImGui_ImplSDL2_InitForMetal",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -740,7 +740,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_InitForOpenGL",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_InitForOpenGL",
|
||||
location="imgui_impl_sdl2:35",
|
||||
location="imgui_impl_sdl2:31",
|
||||
ov_cimguiname="ImGui_ImplSDL2_InitForOpenGL",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*,void*)",
|
||||
@@ -759,7 +759,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_InitForOther",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_InitForOther",
|
||||
location="imgui_impl_sdl2:40",
|
||||
location="imgui_impl_sdl2:36",
|
||||
ov_cimguiname="ImGui_ImplSDL2_InitForOther",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -781,7 +781,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_InitForSDLRenderer",
|
||||
location="imgui_impl_sdl2:39",
|
||||
location="imgui_impl_sdl2:35",
|
||||
ov_cimguiname="ImGui_ImplSDL2_InitForSDLRenderer",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*,SDL_Renderer*)",
|
||||
@@ -800,7 +800,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_InitForVulkan",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_InitForVulkan",
|
||||
location="imgui_impl_sdl2:36",
|
||||
location="imgui_impl_sdl2:32",
|
||||
ov_cimguiname="ImGui_ImplSDL2_InitForVulkan",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -816,7 +816,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_NewFrame",
|
||||
location="imgui_impl_sdl2:42",
|
||||
location="imgui_impl_sdl2:38",
|
||||
ov_cimguiname="ImGui_ImplSDL2_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -835,7 +835,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_ProcessEvent",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_ProcessEvent",
|
||||
location="imgui_impl_sdl2:43",
|
||||
location="imgui_impl_sdl2:39",
|
||||
ov_cimguiname="ImGui_ImplSDL2_ProcessEvent",
|
||||
ret="bool",
|
||||
signature="(const SDL_Event*)",
|
||||
@@ -862,7 +862,7 @@ local t={
|
||||
manual_gamepads_array="nullptr",
|
||||
manual_gamepads_count="-1"},
|
||||
funcname="ImGui_ImplSDL2_SetGamepadMode",
|
||||
location="imgui_impl_sdl2:52",
|
||||
location="imgui_impl_sdl2:48",
|
||||
ov_cimguiname="ImGui_ImplSDL2_SetGamepadMode",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
|
||||
@@ -881,7 +881,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||
location="imgui_impl_sdl2:59",
|
||||
location="imgui_impl_sdl2:55",
|
||||
ov_cimguiname="ImGui_ImplSDL2_SetMouseCaptureMode",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplSDL2_MouseCaptureMode)",
|
||||
@@ -897,7 +897,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL2_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL2_Shutdown",
|
||||
location="imgui_impl_sdl2:41",
|
||||
location="imgui_impl_sdl2:37",
|
||||
ov_cimguiname="ImGui_ImplSDL2_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -916,7 +916,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForD3D",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForD3D",
|
||||
location="imgui_impl_sdl3:36",
|
||||
location="imgui_impl_sdl3:33",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForD3D",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -935,7 +935,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForMetal",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForMetal",
|
||||
location="imgui_impl_sdl3:37",
|
||||
location="imgui_impl_sdl3:34",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForMetal",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -957,7 +957,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForOpenGL",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForOpenGL",
|
||||
location="imgui_impl_sdl3:34",
|
||||
location="imgui_impl_sdl3:31",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForOpenGL",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*,void*)",
|
||||
@@ -976,7 +976,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForOther",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForOther",
|
||||
location="imgui_impl_sdl3:40",
|
||||
location="imgui_impl_sdl3:37",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForOther",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -995,7 +995,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForSDLGPU",
|
||||
location="imgui_impl_sdl3:39",
|
||||
location="imgui_impl_sdl3:36",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForSDLGPU",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -1017,7 +1017,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
location="imgui_impl_sdl3:38",
|
||||
location="imgui_impl_sdl3:35",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForSDLRenderer",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*,SDL_Renderer*)",
|
||||
@@ -1036,7 +1036,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_InitForVulkan",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_InitForVulkan",
|
||||
location="imgui_impl_sdl3:35",
|
||||
location="imgui_impl_sdl3:32",
|
||||
ov_cimguiname="ImGui_ImplSDL3_InitForVulkan",
|
||||
ret="bool",
|
||||
signature="(SDL_Window*)",
|
||||
@@ -1052,7 +1052,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_NewFrame",
|
||||
location="imgui_impl_sdl3:42",
|
||||
location="imgui_impl_sdl3:39",
|
||||
ov_cimguiname="ImGui_ImplSDL3_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1071,7 +1071,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_ProcessEvent",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_ProcessEvent",
|
||||
location="imgui_impl_sdl3:43",
|
||||
location="imgui_impl_sdl3:40",
|
||||
ov_cimguiname="ImGui_ImplSDL3_ProcessEvent",
|
||||
ret="bool",
|
||||
signature="(const SDL_Event*)",
|
||||
@@ -1098,7 +1098,7 @@ local t={
|
||||
manual_gamepads_array="nullptr",
|
||||
manual_gamepads_count="-1"},
|
||||
funcname="ImGui_ImplSDL3_SetGamepadMode",
|
||||
location="imgui_impl_sdl3:48",
|
||||
location="imgui_impl_sdl3:45",
|
||||
ov_cimguiname="ImGui_ImplSDL3_SetGamepadMode",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplSDL3_GamepadMode,SDL_Gamepad**,int)",
|
||||
@@ -1117,7 +1117,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||
location="imgui_impl_sdl3:55",
|
||||
location="imgui_impl_sdl3:52",
|
||||
ov_cimguiname="ImGui_ImplSDL3_SetMouseCaptureMode",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplSDL3_MouseCaptureMode)",
|
||||
@@ -1133,7 +1133,7 @@ local t={
|
||||
cimguiname="ImGui_ImplSDL3_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplSDL3_Shutdown",
|
||||
location="imgui_impl_sdl3:41",
|
||||
location="imgui_impl_sdl3:38",
|
||||
ov_cimguiname="ImGui_ImplSDL3_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1179,7 +1179,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
location="imgui_impl_vulkan:208",
|
||||
location="imgui_impl_vulkan:199",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
|
||||
@@ -1207,7 +1207,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
location="imgui_impl_vulkan:209",
|
||||
location="imgui_impl_vulkan:200",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1226,31 +1226,12 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
location="imgui_impl_vulkan:214",
|
||||
location="imgui_impl_vulkan:205",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
ret="int",
|
||||
signature="(VkPresentModeKHR)",
|
||||
stname=""},
|
||||
["(VkPresentModeKHR)"]=nil},
|
||||
ImGui_ImplVulkanH_GetWindowDataFromViewport={
|
||||
[1]={
|
||||
args="(ImGuiViewport* viewport)",
|
||||
argsT={
|
||||
[1]={
|
||||
name="viewport",
|
||||
type="ImGuiViewport*"}},
|
||||
argsoriginal="(ImGuiViewport* viewport)",
|
||||
call_args="(viewport)",
|
||||
call_args_old="(viewport)",
|
||||
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
location="imgui_impl_vulkan:215",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
ret="ImGui_ImplVulkanH_Window*",
|
||||
signature="(ImGuiViewport*)",
|
||||
stname=""},
|
||||
["(ImGuiViewport*)"]=nil},
|
||||
ImGui_ImplVulkanH_SelectPhysicalDevice={
|
||||
[1]={
|
||||
args="(VkInstance instance)",
|
||||
@@ -1264,7 +1245,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
location="imgui_impl_vulkan:212",
|
||||
location="imgui_impl_vulkan:203",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
ret="VkPhysicalDevice",
|
||||
signature="(VkInstance)",
|
||||
@@ -1292,7 +1273,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
location="imgui_impl_vulkan:211",
|
||||
location="imgui_impl_vulkan:202",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
ret="VkPresentModeKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1311,7 +1292,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
location="imgui_impl_vulkan:213",
|
||||
location="imgui_impl_vulkan:204",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
ret="uint32_t",
|
||||
signature="(VkPhysicalDevice)",
|
||||
@@ -1342,7 +1323,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
location="imgui_impl_vulkan:210",
|
||||
location="imgui_impl_vulkan:201",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
ret="VkSurfaceFormatKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1359,8 +1340,7 @@ local t={
|
||||
constructor=true,
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_Window",
|
||||
location="imgui_impl_vulkan:260",
|
||||
namespace="ImGui_ImplVulkanH_Window",
|
||||
location="imgui_impl_vulkan:251",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||
signature="()",
|
||||
stname="ImGui_ImplVulkanH_Window"},
|
||||
@@ -1376,7 +1356,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||
defaults={},
|
||||
destructor=true,
|
||||
location="imgui_impl_vulkan:260",
|
||||
location="imgui_impl_vulkan:251",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplVulkanH_Window*)",
|
||||
@@ -1401,7 +1381,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_AddTexture",
|
||||
location="imgui_impl_vulkan:166",
|
||||
location="imgui_impl_vulkan:157",
|
||||
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
ret="VkDescriptorSet",
|
||||
signature="(VkSampler,VkImageView,VkImageLayout)",
|
||||
@@ -1420,7 +1400,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
location="imgui_impl_vulkan:158",
|
||||
location="imgui_impl_vulkan:149",
|
||||
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
ret="void",
|
||||
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||
@@ -1439,7 +1419,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Init",
|
||||
location="imgui_impl_vulkan:149",
|
||||
location="imgui_impl_vulkan:140",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Init",
|
||||
ret="bool",
|
||||
signature="(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1465,7 +1445,7 @@ local t={
|
||||
defaults={
|
||||
user_data="nullptr"},
|
||||
funcname="ImGui_ImplVulkan_LoadFunctions",
|
||||
location="imgui_impl_vulkan:171",
|
||||
location="imgui_impl_vulkan:162",
|
||||
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
||||
ret="bool",
|
||||
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1481,7 +1461,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_NewFrame",
|
||||
location="imgui_impl_vulkan:151",
|
||||
location="imgui_impl_vulkan:142",
|
||||
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1500,7 +1480,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_RemoveTexture",
|
||||
location="imgui_impl_vulkan:167",
|
||||
location="imgui_impl_vulkan:158",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
ret="void",
|
||||
signature="(VkDescriptorSet)",
|
||||
@@ -1526,7 +1506,7 @@ local t={
|
||||
defaults={
|
||||
pipeline="0ULL"},
|
||||
funcname="ImGui_ImplVulkan_RenderDrawData",
|
||||
location="imgui_impl_vulkan:152",
|
||||
location="imgui_impl_vulkan:143",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1545,7 +1525,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
location="imgui_impl_vulkan:153",
|
||||
location="imgui_impl_vulkan:144",
|
||||
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
ret="void",
|
||||
signature="(uint32_t)",
|
||||
@@ -1561,7 +1541,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Shutdown",
|
||||
location="imgui_impl_vulkan:150",
|
||||
location="imgui_impl_vulkan:141",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1580,7 +1560,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_UpdateTexture",
|
||||
location="imgui_impl_vulkan:161",
|
||||
location="imgui_impl_vulkan:152",
|
||||
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||
ret="void",
|
||||
signature="(ImTextureData*)",
|
||||
@@ -1647,7 +1627,6 @@ t.ImGui_ImplSDL3_Shutdown["()"]=t.ImGui_ImplSDL3_Shutdown[1]
|
||||
t.ImGui_ImplVulkanH_CreateOrResizeWindow["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)"]=t.ImGui_ImplVulkanH_CreateOrResizeWindow[1]
|
||||
t.ImGui_ImplVulkanH_DestroyWindow["(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)"]=t.ImGui_ImplVulkanH_DestroyWindow[1]
|
||||
t.ImGui_ImplVulkanH_GetMinImageCountFromPresentMode["(VkPresentModeKHR)"]=t.ImGui_ImplVulkanH_GetMinImageCountFromPresentMode[1]
|
||||
t.ImGui_ImplVulkanH_GetWindowDataFromViewport["(ImGuiViewport*)"]=t.ImGui_ImplVulkanH_GetWindowDataFromViewport[1]
|
||||
t.ImGui_ImplVulkanH_SelectPhysicalDevice["(VkInstance)"]=t.ImGui_ImplVulkanH_SelectPhysicalDevice[1]
|
||||
t.ImGui_ImplVulkanH_SelectPresentMode["(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)"]=t.ImGui_ImplVulkanH_SelectPresentMode[1]
|
||||
t.ImGui_ImplVulkanH_SelectQueueFamilyIndex["(VkPhysicalDevice)"]=t.ImGui_ImplVulkanH_SelectQueueFamilyIndex[1]
|
||||
|
||||
@@ -114,13 +114,17 @@ igCombo 3
|
||||
1 bool igCombo_Str_arr (const char*,int*,const char* const[],int,int)
|
||||
2 bool igCombo_Str (const char*,int*,const char*,int)
|
||||
3 bool igCombo_FnStrPtr (const char*,int*,const char*(*)(void*,int),void*,int,int)
|
||||
igGetBackgroundDrawList 2
|
||||
1 ImDrawList* igGetBackgroundDrawList_Nil ()
|
||||
2 ImDrawList* igGetBackgroundDrawList_ViewportPtr (ImGuiViewport*)
|
||||
igGetColorU32 3
|
||||
1 ImU32 igGetColorU32_Col (ImGuiCol,float)
|
||||
2 ImU32 igGetColorU32_Vec4 (const ImVec4)
|
||||
3 ImU32 igGetColorU32_U32 (ImU32,float)
|
||||
igGetForegroundDrawList 2
|
||||
1 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*)
|
||||
igGetForegroundDrawList 3
|
||||
1 ImDrawList* igGetForegroundDrawList_Nil ()
|
||||
2 ImDrawList* igGetForegroundDrawList_WindowPtr (ImGuiWindow*)
|
||||
3 ImDrawList* igGetForegroundDrawList_ViewportPtr (ImGuiViewport*)
|
||||
igGetID 4
|
||||
1 ImGuiID igGetID_Str (const char*)
|
||||
2 ImGuiID igGetID_StrStr (const char*,const char*)
|
||||
@@ -305,4 +309,4 @@ igValue 4
|
||||
2 void igValue_Int (const char*,int)
|
||||
3 void igValue_Uint (const char*,unsigned int)
|
||||
4 void igValue_Float (const char*,float,const char*)
|
||||
213 overloaded
|
||||
216 overloaded
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -48,7 +48,6 @@
|
||||
"ImGuiContext": "struct ImGuiContext",
|
||||
"ImGuiContextHook": "struct ImGuiContextHook",
|
||||
"ImGuiContextHookCallback": "void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
||||
"ImGuiDataAuthority": "int",
|
||||
"ImGuiDataType": "int",
|
||||
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
|
||||
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
|
||||
@@ -57,12 +56,6 @@
|
||||
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
||||
"ImGuiDebugItemPathQuery": "struct ImGuiDebugItemPathQuery",
|
||||
"ImGuiDebugLogFlags": "int",
|
||||
"ImGuiDemoMarkerCallback": "void (*)(const char* file, int line, const char* section);",
|
||||
"ImGuiDockContext": "struct ImGuiDockContext",
|
||||
"ImGuiDockNode": "struct ImGuiDockNode",
|
||||
"ImGuiDockNodeFlags": "int",
|
||||
"ImGuiDockNodeSettings": "struct ImGuiDockNodeSettings",
|
||||
"ImGuiDockRequest": "struct ImGuiDockRequest",
|
||||
"ImGuiDragDropFlags": "int",
|
||||
"ImGuiErrorCallback": "void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
|
||||
"ImGuiErrorRecoveryState": "struct ImGuiErrorRecoveryState",
|
||||
@@ -80,7 +73,6 @@
|
||||
"ImGuiInputEventKey": "struct ImGuiInputEventKey",
|
||||
"ImGuiInputEventMouseButton": "struct ImGuiInputEventMouseButton",
|
||||
"ImGuiInputEventMousePos": "struct ImGuiInputEventMousePos",
|
||||
"ImGuiInputEventMouseViewport": "struct ImGuiInputEventMouseViewport",
|
||||
"ImGuiInputEventMouseWheel": "struct ImGuiInputEventMouseWheel",
|
||||
"ImGuiInputEventText": "struct ImGuiInputEventText",
|
||||
"ImGuiInputFlags": "int",
|
||||
@@ -130,7 +122,6 @@
|
||||
"ImGuiPayload": "struct ImGuiPayload",
|
||||
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
|
||||
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
|
||||
"ImGuiPlatformMonitor": "struct ImGuiPlatformMonitor",
|
||||
"ImGuiPopupData": "struct ImGuiPopupData",
|
||||
"ImGuiPopupFlags": "int",
|
||||
"ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex",
|
||||
@@ -190,8 +181,6 @@
|
||||
"ImGuiViewportP": "struct ImGuiViewportP",
|
||||
"ImGuiWindow": "struct ImGuiWindow",
|
||||
"ImGuiWindowBgClickFlags": "int",
|
||||
"ImGuiWindowClass": "struct ImGuiWindowClass",
|
||||
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
|
||||
"ImGuiWindowFlags": "int",
|
||||
"ImGuiWindowRefreshFlags": "int",
|
||||
"ImGuiWindowSettings": "struct ImGuiWindowSettings",
|
||||
|
||||
@@ -48,7 +48,6 @@ local t={
|
||||
ImGuiContext="struct ImGuiContext",
|
||||
ImGuiContextHook="struct ImGuiContextHook",
|
||||
ImGuiContextHookCallback="void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
||||
ImGuiDataAuthority="int",
|
||||
ImGuiDataType="int",
|
||||
ImGuiDataTypeInfo="struct ImGuiDataTypeInfo",
|
||||
ImGuiDataTypeStorage="struct ImGuiDataTypeStorage",
|
||||
@@ -57,12 +56,6 @@ local t={
|
||||
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
|
||||
ImGuiDebugItemPathQuery="struct ImGuiDebugItemPathQuery",
|
||||
ImGuiDebugLogFlags="int",
|
||||
ImGuiDemoMarkerCallback="void (*)(const char* file, int line, const char* section);",
|
||||
ImGuiDockContext="struct ImGuiDockContext",
|
||||
ImGuiDockNode="struct ImGuiDockNode",
|
||||
ImGuiDockNodeFlags="int",
|
||||
ImGuiDockNodeSettings="struct ImGuiDockNodeSettings",
|
||||
ImGuiDockRequest="struct ImGuiDockRequest",
|
||||
ImGuiDragDropFlags="int",
|
||||
ImGuiErrorCallback="void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
|
||||
ImGuiErrorRecoveryState="struct ImGuiErrorRecoveryState",
|
||||
@@ -80,7 +73,6 @@ local t={
|
||||
ImGuiInputEventKey="struct ImGuiInputEventKey",
|
||||
ImGuiInputEventMouseButton="struct ImGuiInputEventMouseButton",
|
||||
ImGuiInputEventMousePos="struct ImGuiInputEventMousePos",
|
||||
ImGuiInputEventMouseViewport="struct ImGuiInputEventMouseViewport",
|
||||
ImGuiInputEventMouseWheel="struct ImGuiInputEventMouseWheel",
|
||||
ImGuiInputEventText="struct ImGuiInputEventText",
|
||||
ImGuiInputFlags="int",
|
||||
@@ -130,7 +122,6 @@ local t={
|
||||
ImGuiPayload="struct ImGuiPayload",
|
||||
ImGuiPlatformIO="struct ImGuiPlatformIO",
|
||||
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
|
||||
ImGuiPlatformMonitor="struct ImGuiPlatformMonitor",
|
||||
ImGuiPopupData="struct ImGuiPopupData",
|
||||
ImGuiPopupFlags="int",
|
||||
ImGuiPtrOrIndex="struct ImGuiPtrOrIndex",
|
||||
@@ -190,8 +181,6 @@ local t={
|
||||
ImGuiViewportP="struct ImGuiViewportP",
|
||||
ImGuiWindow="struct ImGuiWindow",
|
||||
ImGuiWindowBgClickFlags="int",
|
||||
ImGuiWindowClass="struct ImGuiWindowClass",
|
||||
ImGuiWindowDockStyle="struct ImGuiWindowDockStyle",
|
||||
ImGuiWindowFlags="int",
|
||||
ImGuiWindowRefreshFlags="int",
|
||||
ImGuiWindowSettings="struct ImGuiWindowSettings",
|
||||
|
||||
2
imgui
2
imgui
Submodule imgui updated: f5f6ca07be...6ded5230d0
Reference in New Issue
Block a user