mirror of
https://github.com/cimgui/cimgui.git
synced 2025-10-09 11:21:38 +01:00
Compare commits
24 Commits
4e3e9b5fb2
...
1.91.9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e9a4157067 | ||
![]() |
d6b4ecda71 | ||
![]() |
1427639147 | ||
![]() |
e3b48a15f0 | ||
![]() |
8ec6558ecc | ||
![]() |
43429513a8 | ||
![]() |
79e40b6657 | ||
![]() |
833e9366de | ||
![]() |
74902e7392 | ||
![]() |
143c37b7ac | ||
![]() |
7c79f59fa2 | ||
![]() |
35fdbf393f | ||
![]() |
bf02a1552e | ||
![]() |
481cd32543 | ||
![]() |
d222bc5a4e | ||
![]() |
f0fb387921 | ||
![]() |
c7133969db | ||
![]() |
0821a31dfe | ||
![]() |
9009dd72e9 | ||
![]() |
b6e02f4131 | ||
![]() |
b28023c3f6 | ||
![]() |
1bb9cd7347 | ||
![]() |
d24246adfd | ||
![]() |
6dba58d90f |
@@ -24,8 +24,6 @@
|
||||
#define igButton igButton_Str
|
||||
#endif
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
GLFWwindow *window;
|
||||
|
||||
// Data
|
||||
|
@@ -17,8 +17,6 @@
|
||||
#define igButton igButton_Str
|
||||
#endif
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
GLFWwindow *window;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
@@ -18,8 +18,6 @@
|
||||
#define igButton igButton_Str
|
||||
#endif
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
SDL_Window *window = NULL;
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@@ -1,2 +1,3 @@
|
||||
This example needs vulkan generation before compilation: Vulkan SDK should be installed and then add "vulkan" to generator.bat and generate.
|
||||
|
||||
To build use `cmake path_to_example_sdl_vulkan` and then `make install`
|
||||
|
@@ -26,8 +26,6 @@
|
||||
#define igButton igButton_Str
|
||||
#endif
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
#define IM_UNUSED(_VAR) ((void)(_VAR))
|
||||
#define IM_ASSERT(_EXPR) assert(_EXPR)
|
||||
#define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR) / sizeof(*(_ARR))))
|
||||
|
@@ -1,31 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.30)
|
||||
project(cimgui_sdlgpu3 LANGUAGES C CXX)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
sdl3
|
||||
URL https://github.com/libsdl-org/SDL/releases/download/release-3.2.8/SDL3-3.2.8.tar.gz
|
||||
)
|
||||
|
||||
set(SDL_TEST_LIBRARY OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(sdl3)
|
||||
|
||||
include(GenerateCimguiBindings.cmake)
|
||||
|
||||
GenerateCimguiBindings(cimgui_with_backend)
|
||||
|
||||
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_SDLGPU3=1
|
||||
)
|
@@ -1,68 +0,0 @@
|
||||
# This downloads cimgui, configures it to generate the SDL3 and SDLGPU3 bindings,
|
||||
# and adds it as a cmake target for you to link to. Feel free to copy this file
|
||||
# into your project, or refit it to your needs.
|
||||
|
||||
function(GenerateCimguiBindings target)
|
||||
include(FetchContent)
|
||||
|
||||
# NOTE: In your own project, you may want to pin this project to a particular commit
|
||||
FetchContent_Declare(
|
||||
cimgui
|
||||
EXCLUDE_FROM_ALL
|
||||
GIT_REPOSITORY https://github.com/cimgui/cimgui.git
|
||||
GIT_TAG docking_inter
|
||||
GIT_SUBMODULES_RECURSE true
|
||||
GIT_PROGRESS true
|
||||
GIT_SHALLOW true
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(cimgui)
|
||||
|
||||
file(READ ${cimgui_SOURCE_DIR}/cimgui_impl.h cimgui_impl)
|
||||
|
||||
# We're checking to see if the cimgui_impl.h file already has SDLGPU3 bindings,
|
||||
# since this will be executed on each "configure" (whenever you run cmake)
|
||||
string(FIND "${cimgui_impl}" "SDLGPU3" sdlgpu_position)
|
||||
# If we don't find it, sdlgpu_position will be -1
|
||||
if(sdlgpu_position EQUAL -1)
|
||||
# NOTE: This requires a luajit on your path. If your binary is named different, you will
|
||||
# need to modify this command
|
||||
cmake_path(GET CMAKE_C_COMPILER FILENAME C_COMP)
|
||||
cmake_path(REMOVE_EXTENSION C_COMP)
|
||||
execute_process(
|
||||
COMMAND luajit generator.lua ${C_COMP} internal sdl3 sdlgpu3 -I../imgui -I${sdl3_SOURCE_DIR}/include
|
||||
WORKING_DIRECTORY ${cimgui_SOURCE_DIR}/generator
|
||||
ERROR_VARIABLE error_command
|
||||
RESULT_VARIABLE build_command_result
|
||||
)
|
||||
if(NOT ${build_command_result} EQUAL 0)
|
||||
message(STATUS "cimgui generation failed: ${build_command_result}")
|
||||
message(FATAL_ERROR "error_command: ${error_command}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(${target} SHARED
|
||||
${cimgui_SOURCE_DIR}/cimgui.cpp
|
||||
${cimgui_SOURCE_DIR}/cimgui_impl.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/imgui.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/imgui_draw.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/imgui_demo.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/imgui_widgets.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/imgui_tables.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/backends/imgui_impl_sdl3.cpp
|
||||
${cimgui_SOURCE_DIR}/imgui/backends/imgui_impl_sdlgpu3.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${target} PUBLIC ${cimgui_SOURCE_DIR} ${cimgui_SOURCE_DIR}/generator/output)
|
||||
target_include_directories(${target} PRIVATE ${cimgui_SOURCE_DIR}/imgui ${cimgui_SOURCE_DIR}/imgui/backends)
|
||||
#for ASSERT working on Release mode
|
||||
target_compile_definitions(${target} PUBLIC "-DIMGUI_USER_CONFIG=\"../cimconfig.h\"")
|
||||
target_compile_definitions(${target} PUBLIC "-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1")
|
||||
if (WIN32)
|
||||
target_compile_definitions(${target} PUBLIC "-DIMGUI_IMPL_API=extern \"C\" __declspec\(dllexport\)")
|
||||
else(WIN32)
|
||||
target_compile_definitions(${target} PUBLIC "-DIMGUI_IMPL_API=extern \"C\" ")
|
||||
endif(WIN32)
|
||||
target_compile_features(${target} PRIVATE cxx_std_11)
|
||||
target_link_libraries(${target} PRIVATE SDL3::SDL3)
|
||||
endfunction()
|
@@ -1,16 +0,0 @@
|
||||
# SDLGPU3
|
||||
|
||||
This example is a little different from the others, because `cimgui` doesn't come with bindings for the SDLGPU3 backend out of the box. Instead, this example shows how to generate the necessary bindings during cmake's configure time, then add the compiled library as a target for your application to link to.
|
||||
|
||||
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`
|
||||
|
||||
and after
|
||||
|
||||
`make`
|
||||
|
@@ -1,200 +0,0 @@
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_gpu.h>
|
||||
|
||||
#include <cimgui.h>
|
||||
#include <cimgui_impl.h>
|
||||
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
int main() {
|
||||
if (!SDL_Init(SDL_INIT_VIDEO)) {
|
||||
fprintf(stderr, "Failed to init video! %s", SDL_GetError());
|
||||
return 1;
|
||||
};
|
||||
|
||||
SDL_Window *window = NULL;
|
||||
window = SDL_CreateWindow("cimgui SDL3+SDL_GPU example", 1280, 720, SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY);
|
||||
if (window == NULL)
|
||||
{
|
||||
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Create GPU Device
|
||||
SDL_GPUDevice* gpu_device = SDL_CreateGPUDevice(SDL_GPU_SHADERFORMAT_SPIRV | SDL_GPU_SHADERFORMAT_DXIL | SDL_GPU_SHADERFORMAT_METALLIB,true,NULL);
|
||||
if (gpu_device == NULL)
|
||||
{
|
||||
printf("Error: SDL_CreateGPUDevice(): %s\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Claim window for GPU Device
|
||||
if (!SDL_ClaimWindowForGPUDevice(gpu_device, window))
|
||||
{
|
||||
printf("Error: SDL_ClaimWindowForGPUDevice(): %s\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
SDL_SetGPUSwapchainParameters(gpu_device, window, SDL_GPU_SWAPCHAINCOMPOSITION_SDR, SDL_GPU_PRESENTMODE_MAILBOX);
|
||||
|
||||
// Setup Dear ImGui context
|
||||
//IMGUI_CHECKVERSION();
|
||||
igCreateContext(NULL);
|
||||
ImGuiIO* io = igGetIO(); (void)io;
|
||||
io->ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
|
||||
io->ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
|
||||
|
||||
// Setup Dear ImGui style
|
||||
igStyleColorsDark(NULL);
|
||||
//igStyleColorsLight(NULL);
|
||||
|
||||
// Setup Platform/Renderer backends
|
||||
ImGui_ImplSDL3_InitForSDLGPU(window);
|
||||
ImGui_ImplSDLGPU3_InitInfo init_info = {};
|
||||
init_info.Device = gpu_device;
|
||||
init_info.ColorTargetFormat = SDL_GetGPUSwapchainTextureFormat(gpu_device, window);
|
||||
init_info.MSAASamples = SDL_GPU_SAMPLECOUNT_1;
|
||||
ImGui_ImplSDLGPU3_Init(&init_info);
|
||||
// finish loading data
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
// Start the Dear ImGui frame
|
||||
ImGui_ImplSDLGPU3_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);
|
||||
|
||||
SDL_GPUCommandBuffer* command_buffer = SDL_AcquireGPUCommandBuffer(gpu_device); // Acquire a GPU command buffer
|
||||
|
||||
SDL_GPUTexture* swapchain_texture;
|
||||
SDL_AcquireGPUSwapchainTexture(command_buffer, window, &swapchain_texture, NULL, NULL); // Acquire a swapchain texture
|
||||
|
||||
if (swapchain_texture != NULL && !is_minimized)
|
||||
{
|
||||
// This is mandatory: call Imgui_ImplSDLGPU3_PrepareDrawData() to upload the vertex/index buffer!
|
||||
Imgui_ImplSDLGPU3_PrepareDrawData(draw_data, command_buffer);
|
||||
|
||||
// Setup and start a render pass
|
||||
SDL_GPUColorTargetInfo target_info = {};
|
||||
target_info.texture = swapchain_texture;
|
||||
target_info.clear_color.r = clear_color.x;
|
||||
target_info.clear_color.g = clear_color.y;
|
||||
target_info.clear_color.b = clear_color.z;
|
||||
target_info.clear_color.a = clear_color.w;
|
||||
target_info.load_op = SDL_GPU_LOADOP_CLEAR;
|
||||
target_info.store_op = SDL_GPU_STOREOP_STORE;
|
||||
target_info.mip_level = 0;
|
||||
target_info.layer_or_depth_plane = 0;
|
||||
target_info.cycle = false;
|
||||
SDL_GPURenderPass* render_pass = SDL_BeginGPURenderPass(command_buffer, &target_info, 1, NULL);
|
||||
|
||||
// Render ImGui
|
||||
ImGui_ImplSDLGPU3_RenderDrawData(draw_data, command_buffer, render_pass, NULL);
|
||||
|
||||
SDL_EndGPURenderPass(render_pass);
|
||||
}
|
||||
|
||||
// Submit the command buffer
|
||||
SDL_SubmitGPUCommandBuffer(command_buffer);
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppQuit() function]
|
||||
SDL_WaitForGPUIdle(gpu_device);
|
||||
ImGui_ImplSDL3_Shutdown();
|
||||
ImGui_ImplSDLGPU3_Shutdown();
|
||||
igDestroyContext(NULL);
|
||||
|
||||
SDL_ReleaseWindowFromGPUDevice(gpu_device, window);
|
||||
SDL_DestroyGPUDevice(gpu_device);
|
||||
SDL_DestroyWindow(window);
|
||||
SDL_Quit();
|
||||
|
||||
return 0;
|
||||
}
|
391
cimgui.cpp
391
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.91.9b" 19191 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.9" 19190 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
//docking branch
|
||||
|
||||
#include "./imgui/imgui.h"
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
@@ -53,7 +52,7 @@ CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx)
|
||||
{
|
||||
return ImGui::SetCurrentContext(ctx);
|
||||
}
|
||||
CIMGUI_API ImGuiIO* igGetIO_Nil()
|
||||
CIMGUI_API ImGuiIO* igGetIO()
|
||||
{
|
||||
return &ImGui::GetIO();
|
||||
}
|
||||
@@ -173,10 +172,6 @@ CIMGUI_API ImDrawList* igGetWindowDrawList()
|
||||
{
|
||||
return ImGui::GetWindowDrawList();
|
||||
}
|
||||
CIMGUI_API float igGetWindowDpiScale()
|
||||
{
|
||||
return ImGui::GetWindowDpiScale();
|
||||
}
|
||||
CIMGUI_API void igGetWindowPos(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowPos();
|
||||
@@ -193,10 +188,6 @@ CIMGUI_API float igGetWindowHeight()
|
||||
{
|
||||
return ImGui::GetWindowHeight();
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igGetWindowViewport()
|
||||
{
|
||||
return ImGui::GetWindowViewport();
|
||||
}
|
||||
CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot)
|
||||
{
|
||||
return ImGui::SetNextWindowPos(pos,cond,pivot);
|
||||
@@ -229,10 +220,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 pos,ImGuiCond cond)
|
||||
{
|
||||
return ImGui::SetWindowPos(pos,cond);
|
||||
@@ -1285,30 +1272,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 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class)
|
||||
{
|
||||
return ImGui::DockSpace(dockspace_id,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);
|
||||
@@ -1465,13 +1428,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 size)
|
||||
{
|
||||
@@ -1700,26 +1663,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 id)
|
||||
{
|
||||
return ImGui::FindViewportByID(id);
|
||||
}
|
||||
CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle)
|
||||
{
|
||||
return ImGui::FindViewportByPlatformHandle(platform_handle);
|
||||
}
|
||||
CIMGUI_API ImGuiTableSortSpecs* ImGuiTableSortSpecs_ImGuiTableSortSpecs(void)
|
||||
{
|
||||
return IM_NEW(ImGuiTableSortSpecs)();
|
||||
@@ -1772,10 +1715,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);
|
||||
@@ -1848,14 +1787,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)();
|
||||
@@ -2784,14 +2715,6 @@ CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
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)();
|
||||
@@ -3727,70 +3650,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 void ImGuiDockNode_Rect(ImRect *pOut,ImGuiDockNode* self)
|
||||
{
|
||||
*pOut = 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)();
|
||||
@@ -3799,10 +3658,6 @@ CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiViewportP_ClearRequestFlags(ImGuiViewportP* self)
|
||||
{
|
||||
return self->ClearRequestFlags();
|
||||
}
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min)
|
||||
{
|
||||
*pOut = self->CalcWorkRectPos(inset_min);
|
||||
@@ -3999,7 +3854,7 @@ CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiT
|
||||
{
|
||||
return self->GetColumnSettings();
|
||||
}
|
||||
CIMGUI_API ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx)
|
||||
CIMGUI_API ImGuiIO* igGetIOEx(ImGuiContext* ctx)
|
||||
{
|
||||
return &ImGui::GetIO(ctx);
|
||||
}
|
||||
@@ -4035,9 +3890,9 @@ CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window)
|
||||
{
|
||||
*pOut = 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 igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent)
|
||||
{
|
||||
@@ -4143,6 +3998,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);
|
||||
@@ -4171,10 +4034,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 igUpdateMouseMovingWindowNewFrame()
|
||||
{
|
||||
return ImGui::UpdateMouseMovingWindowNewFrame();
|
||||
@@ -4195,34 +4054,14 @@ CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType ty
|
||||
{
|
||||
return ImGui::CallContextHooks(context,type);
|
||||
}
|
||||
CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2 old_pos,const ImVec2 new_pos,const ImVec2 old_size,const ImVec2 new_size)
|
||||
{
|
||||
return ImGui::TranslateWindowsInViewport(viewport,old_pos,new_pos,old_size,new_size);
|
||||
}
|
||||
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 mouse_platform_pos)
|
||||
{
|
||||
return ImGui::FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos);
|
||||
}
|
||||
CIMGUI_API void igMarkIniSettingsDirty_Nil()
|
||||
{
|
||||
return ImGui::MarkIniSettingsDirty();
|
||||
@@ -4755,174 +4594,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* out_pos)
|
||||
{
|
||||
return ImGui::DockContextCalcDropPosForDocking(target,target_node,payload_window,payload_node,split_dir,split_outer,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 pos)
|
||||
{
|
||||
return ImGui::DockBuilderSetNodePos(node_id,pos);
|
||||
}
|
||||
CIMGUI_API void igDockBuilderSetNodeSize(ImGuiID node_id,ImVec2 size)
|
||||
{
|
||||
return ImGui::DockBuilderSetNodeSize(node_id,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);
|
||||
@@ -5259,10 +4930,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);
|
||||
@@ -5275,10 +4942,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);
|
||||
@@ -5391,10 +5054,6 @@ CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2 pos,ImVec2
|
||||
{
|
||||
return ImGui::RenderArrowPointingAt(draw_list,pos,half_sz,direction,col);
|
||||
}
|
||||
CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col)
|
||||
{
|
||||
return ImGui::RenderArrowDockMenu(draw_list,p_min,sz,col);
|
||||
}
|
||||
CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding)
|
||||
{
|
||||
return ImGui::RenderRectFilledRangeH(draw_list,rect,col,x_start_norm,x_end_norm,rounding);
|
||||
@@ -5403,10 +5062,6 @@ CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect ou
|
||||
{
|
||||
return ImGui::RenderRectFilledWithHole(draw_list,outer,inner,col,rounding);
|
||||
}
|
||||
CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect r_in,const ImRect r_outer,float threshold)
|
||||
{
|
||||
return ImGui::CalcRoundingFlagsForRectInRect(r_in,r_outer,threshold);
|
||||
}
|
||||
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags)
|
||||
{
|
||||
return ImGui::TextEx(text,text_end,flags);
|
||||
@@ -5443,9 +5098,9 @@ CIMGUI_API bool igCloseButton(ImGuiID id,const ImVec2 pos)
|
||||
{
|
||||
return ImGui::CloseButton(id,pos);
|
||||
}
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock_node)
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos)
|
||||
{
|
||||
return ImGui::CollapseButton(id,pos,dock_node);
|
||||
return ImGui::CollapseButton(id,pos);
|
||||
}
|
||||
CIMGUI_API void igScrollbar(ImGuiAxis axis)
|
||||
{
|
||||
@@ -5695,10 +5350,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);
|
||||
@@ -5763,10 +5414,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);
|
||||
|
428
cimgui.h
428
cimgui.h
@@ -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.91.9b" 19191 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.9" 19190 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
//docking branch
|
||||
#ifndef CIMGUI_INCLUDED
|
||||
#define CIMGUI_INCLUDED
|
||||
#include <stdio.h>
|
||||
@@ -66,7 +65,6 @@ typedef struct ImGuiOnceUponAFrame ImGuiOnceUponAFrame;
|
||||
typedef struct ImGuiPayload ImGuiPayload;
|
||||
typedef struct ImGuiPlatformIO ImGuiPlatformIO;
|
||||
typedef struct ImGuiPlatformImeData ImGuiPlatformImeData;
|
||||
typedef struct ImGuiPlatformMonitor ImGuiPlatformMonitor;
|
||||
typedef struct ImGuiSelectionBasicStorage ImGuiSelectionBasicStorage;
|
||||
typedef struct ImGuiSelectionExternalStorage ImGuiSelectionExternalStorage;
|
||||
typedef struct ImGuiSelectionRequest ImGuiSelectionRequest;
|
||||
@@ -79,7 +77,6 @@ typedef struct ImGuiTableColumnSortSpecs ImGuiTableColumnSortSpecs;
|
||||
typedef struct ImGuiTextBuffer ImGuiTextBuffer;
|
||||
typedef struct ImGuiTextFilter ImGuiTextFilter;
|
||||
typedef struct ImGuiViewport ImGuiViewport;
|
||||
typedef struct ImGuiWindowClass ImGuiWindowClass;
|
||||
typedef struct ImBitVector ImBitVector;
|
||||
typedef struct ImRect ImRect;
|
||||
typedef struct ImGuiTextIndex ImGuiTextIndex;
|
||||
@@ -89,10 +86,6 @@ typedef struct ImGuiColorMod ImGuiColorMod;
|
||||
typedef struct ImGuiContextHook ImGuiContextHook;
|
||||
typedef struct ImGuiDataTypeInfo ImGuiDataTypeInfo;
|
||||
typedef struct ImGuiDeactivatedItemData ImGuiDeactivatedItemData;
|
||||
typedef struct ImGuiDockContext ImGuiDockContext;
|
||||
typedef struct ImGuiDockRequest ImGuiDockRequest;
|
||||
typedef struct ImGuiDockNode ImGuiDockNode;
|
||||
typedef struct ImGuiDockNodeSettings ImGuiDockNodeSettings;
|
||||
typedef struct ImGuiErrorRecoveryState ImGuiErrorRecoveryState;
|
||||
typedef struct ImGuiGroupData ImGuiGroupData;
|
||||
typedef struct ImGuiInputTextState ImGuiInputTextState;
|
||||
@@ -125,12 +118,9 @@ typedef struct ImGuiTreeNodeStackData ImGuiTreeNodeStackData;
|
||||
typedef struct ImGuiTypingSelectState ImGuiTypingSelectState;
|
||||
typedef struct ImGuiTypingSelectRequest ImGuiTypingSelectRequest;
|
||||
typedef struct ImGuiWindow ImGuiWindow;
|
||||
typedef struct ImGuiWindowDockStyle ImGuiWindowDockStyle;
|
||||
typedef struct ImGuiWindowTempData ImGuiWindowTempData;
|
||||
typedef struct ImGuiWindowSettings ImGuiWindowSettings;
|
||||
typedef struct STB_TexteditState STB_TexteditState;
|
||||
typedef struct ImVector_const_charPtr {int Size;int Capacity;const char** Data;} ImVector_const_charPtr;
|
||||
|
||||
typedef unsigned int ImGuiID;
|
||||
typedef signed char ImS8;
|
||||
typedef unsigned char ImU8;
|
||||
@@ -164,7 +154,6 @@ struct ImGuiOnceUponAFrame;
|
||||
struct ImGuiPayload;
|
||||
struct ImGuiPlatformIO;
|
||||
struct ImGuiPlatformImeData;
|
||||
struct ImGuiPlatformMonitor;
|
||||
struct ImGuiSelectionBasicStorage;
|
||||
struct ImGuiSelectionExternalStorage;
|
||||
struct ImGuiSelectionRequest;
|
||||
@@ -177,7 +166,6 @@ struct ImGuiTableColumnSortSpecs;
|
||||
struct ImGuiTextBuffer;
|
||||
struct ImGuiTextFilter;
|
||||
struct ImGuiViewport;
|
||||
struct ImGuiWindowClass;
|
||||
typedef int ImGuiCol;
|
||||
typedef int ImGuiCond;
|
||||
typedef int ImGuiDataType;
|
||||
@@ -194,7 +182,6 @@ typedef int ImGuiChildFlags;
|
||||
typedef int ImGuiColorEditFlags;
|
||||
typedef int ImGuiConfigFlags;
|
||||
typedef int ImGuiComboFlags;
|
||||
typedef int ImGuiDockNodeFlags;
|
||||
typedef int ImGuiDragDropFlags;
|
||||
typedef int ImGuiFocusedFlags;
|
||||
typedef int ImGuiHoveredFlags;
|
||||
@@ -214,6 +201,8 @@ typedef int ImGuiTableRowFlags;
|
||||
typedef int ImGuiTreeNodeFlags;
|
||||
typedef int ImGuiViewportFlags;
|
||||
typedef int ImGuiWindowFlags;
|
||||
typedef ImU64 ImTextureID;
|
||||
typedef unsigned short ImDrawIdx;
|
||||
typedef unsigned int ImWchar32;
|
||||
typedef unsigned short ImWchar16;
|
||||
|
||||
@@ -243,7 +232,6 @@ struct ImVec4
|
||||
{
|
||||
float x, y, z, w;
|
||||
};
|
||||
typedef ImU64 ImTextureID;
|
||||
typedef enum {
|
||||
ImGuiWindowFlags_None = 0,
|
||||
ImGuiWindowFlags_NoTitleBar = 1 << 0,
|
||||
@@ -265,11 +253,9 @@ typedef enum {
|
||||
ImGuiWindowFlags_NoNavInputs = 1 << 16,
|
||||
ImGuiWindowFlags_NoNavFocus = 1 << 17,
|
||||
ImGuiWindowFlags_UnsavedDocument = 1 << 18,
|
||||
ImGuiWindowFlags_NoDocking = 1 << 19,
|
||||
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||
ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse,
|
||||
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||
ImGuiWindowFlags_DockNodeHost = 1 << 23,
|
||||
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
||||
ImGuiWindowFlags_Tooltip = 1 << 25,
|
||||
ImGuiWindowFlags_Popup = 1 << 26,
|
||||
@@ -412,7 +398,6 @@ typedef enum {
|
||||
ImGuiFocusedFlags_RootWindow = 1 << 1,
|
||||
ImGuiFocusedFlags_AnyWindow = 1 << 2,
|
||||
ImGuiFocusedFlags_NoPopupHierarchy = 1 << 3,
|
||||
ImGuiFocusedFlags_DockHierarchy = 1 << 4,
|
||||
ImGuiFocusedFlags_RootAndChildWindows = ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows,
|
||||
}ImGuiFocusedFlags_;
|
||||
typedef enum {
|
||||
@@ -421,7 +406,6 @@ typedef enum {
|
||||
ImGuiHoveredFlags_RootWindow = 1 << 1,
|
||||
ImGuiHoveredFlags_AnyWindow = 1 << 2,
|
||||
ImGuiHoveredFlags_NoPopupHierarchy = 1 << 3,
|
||||
ImGuiHoveredFlags_DockHierarchy = 1 << 4,
|
||||
ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 << 5,
|
||||
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 << 7,
|
||||
ImGuiHoveredFlags_AllowWhenOverlappedByItem = 1 << 8,
|
||||
@@ -438,16 +422,6 @@ typedef enum {
|
||||
ImGuiHoveredFlags_DelayNormal = 1 << 16,
|
||||
ImGuiHoveredFlags_NoSharedDelay = 1 << 17,
|
||||
}ImGuiHoveredFlags_;
|
||||
typedef enum {
|
||||
ImGuiDockNodeFlags_None = 0,
|
||||
ImGuiDockNodeFlags_KeepAliveOnly = 1 << 0,
|
||||
ImGuiDockNodeFlags_NoDockingOverCentralNode = 1 << 2,
|
||||
ImGuiDockNodeFlags_PassthruCentralNode = 1 << 3,
|
||||
ImGuiDockNodeFlags_NoDockingSplit = 1 << 4,
|
||||
ImGuiDockNodeFlags_NoResize = 1 << 5,
|
||||
ImGuiDockNodeFlags_AutoHideTabBar = 1 << 6,
|
||||
ImGuiDockNodeFlags_NoUndocking = 1 << 7,
|
||||
}ImGuiDockNodeFlags_;
|
||||
typedef enum {
|
||||
ImGuiDragDropFlags_None = 0,
|
||||
ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0,
|
||||
@@ -678,10 +652,6 @@ typedef enum {
|
||||
ImGuiConfigFlags_NoMouse = 1 << 4,
|
||||
ImGuiConfigFlags_NoMouseCursorChange = 1 << 5,
|
||||
ImGuiConfigFlags_NoKeyboard = 1 << 6,
|
||||
ImGuiConfigFlags_DockingEnable = 1 << 7,
|
||||
ImGuiConfigFlags_ViewportsEnable = 1 << 10,
|
||||
ImGuiConfigFlags_DpiEnableScaleViewports= 1 << 14,
|
||||
ImGuiConfigFlags_DpiEnableScaleFonts = 1 << 15,
|
||||
ImGuiConfigFlags_IsSRGB = 1 << 20,
|
||||
ImGuiConfigFlags_IsTouchScreen = 1 << 21,
|
||||
}ImGuiConfigFlags_;
|
||||
@@ -691,9 +661,6 @@ typedef enum {
|
||||
ImGuiBackendFlags_HasMouseCursors = 1 << 1,
|
||||
ImGuiBackendFlags_HasSetMousePos = 1 << 2,
|
||||
ImGuiBackendFlags_RendererHasVtxOffset = 1 << 3,
|
||||
ImGuiBackendFlags_PlatformHasViewports = 1 << 10,
|
||||
ImGuiBackendFlags_HasMouseHoveredViewport=1 << 11,
|
||||
ImGuiBackendFlags_RendererHasViewports = 1 << 12,
|
||||
}ImGuiBackendFlags_;
|
||||
typedef enum {
|
||||
ImGuiCol_Text,
|
||||
@@ -736,8 +703,6 @@ typedef enum {
|
||||
ImGuiCol_TabDimmed,
|
||||
ImGuiCol_TabDimmedSelected,
|
||||
ImGuiCol_TabDimmedSelectedOverline,
|
||||
ImGuiCol_DockingPreview,
|
||||
ImGuiCol_DockingEmptyBg,
|
||||
ImGuiCol_PlotLines,
|
||||
ImGuiCol_PlotLinesHovered,
|
||||
ImGuiCol_PlotHistogram,
|
||||
@@ -791,7 +756,6 @@ typedef enum {
|
||||
ImGuiStyleVar_SeparatorTextBorderSize,
|
||||
ImGuiStyleVar_SeparatorTextAlign,
|
||||
ImGuiStyleVar_SeparatorTextPadding,
|
||||
ImGuiStyleVar_DockingSeparatorSize,
|
||||
ImGuiStyleVar_COUNT
|
||||
}ImGuiStyleVar_;
|
||||
typedef enum {
|
||||
@@ -1019,7 +983,6 @@ struct ImGuiStyle
|
||||
ImVec2 SeparatorTextPadding;
|
||||
ImVec2 DisplayWindowPadding;
|
||||
ImVec2 DisplaySafeAreaPadding;
|
||||
float DockingSeparatorSize;
|
||||
float MouseCursorScale;
|
||||
bool AntiAliasedLines;
|
||||
bool AntiAliasedLinesUseTex;
|
||||
@@ -1064,14 +1027,6 @@ struct ImGuiIO
|
||||
bool ConfigNavEscapeClearFocusWindow;
|
||||
bool ConfigNavCursorVisibleAuto;
|
||||
bool ConfigNavCursorVisibleAlways;
|
||||
bool ConfigDockingNoSplit;
|
||||
bool ConfigDockingWithShift;
|
||||
bool ConfigDockingAlwaysTabBar;
|
||||
bool ConfigDockingTransparentPayload;
|
||||
bool ConfigViewportsNoAutoMerge;
|
||||
bool ConfigViewportsNoTaskBarIcon;
|
||||
bool ConfigViewportsNoDecoration;
|
||||
bool ConfigViewportsNoDefaultParent;
|
||||
bool MouseDrawCursor;
|
||||
bool ConfigMacOSXBehaviors;
|
||||
bool ConfigInputTrickleEventQueue;
|
||||
@@ -1123,7 +1078,6 @@ struct ImGuiIO
|
||||
float MouseWheel;
|
||||
float MouseWheelH;
|
||||
ImGuiMouseSource MouseSource;
|
||||
ImGuiID MouseHoveredViewport;
|
||||
bool KeyCtrl;
|
||||
bool KeyShift;
|
||||
bool KeyAlt;
|
||||
@@ -1146,7 +1100,6 @@ struct ImGuiIO
|
||||
bool MouseCtrlLeftAsRightClick;
|
||||
float MouseDownDuration[5];
|
||||
float MouseDownDurationPrev[5];
|
||||
ImVec2 MouseDragMaxDistanceAbs[5];
|
||||
float MouseDragMaxDistanceSqr[5];
|
||||
float PenPressure;
|
||||
bool AppFocusLost;
|
||||
@@ -1177,18 +1130,6 @@ struct ImGuiSizeCallbackData
|
||||
ImVec2 CurrentSize;
|
||||
ImVec2 DesiredSize;
|
||||
};
|
||||
struct ImGuiWindowClass
|
||||
{
|
||||
ImGuiID ClassId;
|
||||
ImGuiID ParentViewportId;
|
||||
ImGuiID FocusRouteParentWindowId;
|
||||
ImGuiViewportFlags ViewportFlagsOverrideSet;
|
||||
ImGuiViewportFlags ViewportFlagsOverrideClear;
|
||||
ImGuiTabItemFlags TabItemFlagsOverrideSet;
|
||||
ImGuiDockNodeFlags DockNodeFlagsOverrideSet;
|
||||
bool DockingAlwaysTabBar;
|
||||
bool DockingAllowUnclassed;
|
||||
};
|
||||
struct ImGuiPayload
|
||||
{
|
||||
void* Data;
|
||||
@@ -1309,7 +1250,6 @@ struct ImGuiSelectionExternalStorage
|
||||
void* UserData;
|
||||
void (*AdapterSetItemSelected)(ImGuiSelectionExternalStorage* self, int idx, bool selected);
|
||||
};
|
||||
typedef unsigned short ImDrawIdx;
|
||||
typedef void (*ImDrawCallback)(const ImDrawList* parent_list, const ImDrawCmd* cmd);
|
||||
struct ImDrawCmd
|
||||
{
|
||||
@@ -1538,17 +1478,6 @@ typedef enum {
|
||||
ImGuiViewportFlags_IsPlatformWindow = 1 << 0,
|
||||
ImGuiViewportFlags_IsPlatformMonitor = 1 << 1,
|
||||
ImGuiViewportFlags_OwnedByApp = 1 << 2,
|
||||
ImGuiViewportFlags_NoDecoration = 1 << 3,
|
||||
ImGuiViewportFlags_NoTaskBarIcon = 1 << 4,
|
||||
ImGuiViewportFlags_NoFocusOnAppearing = 1 << 5,
|
||||
ImGuiViewportFlags_NoFocusOnClick = 1 << 6,
|
||||
ImGuiViewportFlags_NoInputs = 1 << 7,
|
||||
ImGuiViewportFlags_NoRendererClear = 1 << 8,
|
||||
ImGuiViewportFlags_NoAutoMerge = 1 << 9,
|
||||
ImGuiViewportFlags_TopMost = 1 << 10,
|
||||
ImGuiViewportFlags_CanHostOtherWindows = 1 << 11,
|
||||
ImGuiViewportFlags_IsMinimized = 1 << 12,
|
||||
ImGuiViewportFlags_IsFocused = 1 << 13,
|
||||
}ImGuiViewportFlags_;
|
||||
struct ImGuiViewport
|
||||
{
|
||||
@@ -1558,22 +1487,9 @@ struct ImGuiViewport
|
||||
ImVec2 Size;
|
||||
ImVec2 WorkPos;
|
||||
ImVec2 WorkSize;
|
||||
float DpiScale;
|
||||
ImGuiID ParentViewportId;
|
||||
ImDrawData* DrawData;
|
||||
void* RendererUserData;
|
||||
void* PlatformUserData;
|
||||
void* PlatformHandle;
|
||||
void* PlatformHandleRaw;
|
||||
bool PlatformWindowCreated;
|
||||
bool PlatformRequestMove;
|
||||
bool PlatformRequestResize;
|
||||
bool PlatformRequestClose;
|
||||
};
|
||||
typedef struct ImVector_ImGuiPlatformMonitor {int Size;int Capacity;ImGuiPlatformMonitor* Data;} ImVector_ImGuiPlatformMonitor;
|
||||
|
||||
typedef struct ImVector_ImGuiViewportPtr {int Size;int Capacity;ImGuiViewport** Data;} ImVector_ImGuiViewportPtr;
|
||||
|
||||
struct ImGuiPlatformIO
|
||||
{
|
||||
const char* (*Platform_GetClipboardTextFn)(ImGuiContext* ctx);
|
||||
@@ -1585,39 +1501,6 @@ struct ImGuiPlatformIO
|
||||
void* Platform_ImeUserData;
|
||||
ImWchar Platform_LocaleDecimalPoint;
|
||||
void* Renderer_RenderState;
|
||||
void (*Platform_CreateWindow)(ImGuiViewport* vp);
|
||||
void (*Platform_DestroyWindow)(ImGuiViewport* vp);
|
||||
void (*Platform_ShowWindow)(ImGuiViewport* vp);
|
||||
void (*Platform_SetWindowPos)(ImGuiViewport* vp, ImVec2 pos);
|
||||
ImVec2 (*Platform_GetWindowPos)(ImGuiViewport* vp);
|
||||
void (*Platform_SetWindowSize)(ImGuiViewport* vp, ImVec2 size);
|
||||
ImVec2 (*Platform_GetWindowSize)(ImGuiViewport* vp);
|
||||
void (*Platform_SetWindowFocus)(ImGuiViewport* vp);
|
||||
bool (*Platform_GetWindowFocus)(ImGuiViewport* vp);
|
||||
bool (*Platform_GetWindowMinimized)(ImGuiViewport* vp);
|
||||
void (*Platform_SetWindowTitle)(ImGuiViewport* vp, const char* str);
|
||||
void (*Platform_SetWindowAlpha)(ImGuiViewport* vp, float alpha);
|
||||
void (*Platform_UpdateWindow)(ImGuiViewport* vp);
|
||||
void (*Platform_RenderWindow)(ImGuiViewport* vp, void* render_arg);
|
||||
void (*Platform_SwapBuffers)(ImGuiViewport* vp, void* render_arg);
|
||||
float (*Platform_GetWindowDpiScale)(ImGuiViewport* vp);
|
||||
void (*Platform_OnChangedViewport)(ImGuiViewport* vp);
|
||||
ImVec4 (*Platform_GetWindowWorkAreaInsets)(ImGuiViewport* vp);
|
||||
int (*Platform_CreateVkSurface)(ImGuiViewport* vp, ImU64 vk_inst, const void* vk_allocators, ImU64* out_vk_surface);
|
||||
void (*Renderer_CreateWindow)(ImGuiViewport* vp);
|
||||
void (*Renderer_DestroyWindow)(ImGuiViewport* vp);
|
||||
void (*Renderer_SetWindowSize)(ImGuiViewport* vp, ImVec2 size);
|
||||
void (*Renderer_RenderWindow)(ImGuiViewport* vp, void* render_arg);
|
||||
void (*Renderer_SwapBuffers)(ImGuiViewport* vp, void* render_arg);
|
||||
ImVector_ImGuiPlatformMonitor Monitors;
|
||||
ImVector_ImGuiViewportPtr Viewports;
|
||||
};
|
||||
struct ImGuiPlatformMonitor
|
||||
{
|
||||
ImVec2 MainPos, MainSize;
|
||||
ImVec2 WorkPos, WorkSize;
|
||||
float DpiScale;
|
||||
void* PlatformHandle;
|
||||
};
|
||||
struct ImGuiPlatformImeData
|
||||
{
|
||||
@@ -1636,10 +1519,6 @@ struct ImGuiContext;
|
||||
struct ImGuiContextHook;
|
||||
struct ImGuiDataTypeInfo;
|
||||
struct ImGuiDeactivatedItemData;
|
||||
struct ImGuiDockContext;
|
||||
struct ImGuiDockRequest;
|
||||
struct ImGuiDockNode;
|
||||
struct ImGuiDockNodeSettings;
|
||||
struct ImGuiErrorRecoveryState;
|
||||
struct ImGuiGroupData;
|
||||
struct ImGuiInputTextState;
|
||||
@@ -1672,10 +1551,8 @@ struct ImGuiTreeNodeStackData;
|
||||
struct ImGuiTypingSelectState;
|
||||
struct ImGuiTypingSelectRequest;
|
||||
struct ImGuiWindow;
|
||||
struct ImGuiWindowDockStyle;
|
||||
struct ImGuiWindowTempData;
|
||||
struct ImGuiWindowSettings;
|
||||
typedef int ImGuiDataAuthority;
|
||||
typedef int ImGuiLayoutType;
|
||||
typedef int ImGuiActivateFlags;
|
||||
typedef int ImGuiDebugLogFlags;
|
||||
@@ -1806,7 +1683,7 @@ typedef enum {
|
||||
}ImGuiItemStatusFlags_;
|
||||
typedef enum {
|
||||
ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay,
|
||||
ImGuiHoveredFlags_AllowedMaskForIsWindowHovered = ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_DockHierarchy | ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary,
|
||||
ImGuiHoveredFlags_AllowedMaskForIsWindowHovered = ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary,
|
||||
ImGuiHoveredFlags_AllowedMaskForIsItemHovered = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped | ImGuiHoveredFlags_AllowWhenDisabled | ImGuiHoveredFlags_NoNavOverride | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayMask_,
|
||||
}ImGuiHoveredFlagsPrivate_;
|
||||
typedef enum {
|
||||
@@ -1979,9 +1856,6 @@ typedef enum {
|
||||
ImGuiNextWindowDataFlags_HasWindowFlags = 1 << 8,
|
||||
ImGuiNextWindowDataFlags_HasChildFlags = 1 << 9,
|
||||
ImGuiNextWindowDataFlags_HasRefreshPolicy = 1 << 10,
|
||||
ImGuiNextWindowDataFlags_HasViewport = 1 << 11,
|
||||
ImGuiNextWindowDataFlags_HasDock = 1 << 12,
|
||||
ImGuiNextWindowDataFlags_HasWindowClass = 1 << 13,
|
||||
}ImGuiNextWindowDataFlags_;
|
||||
struct ImGuiNextWindowData
|
||||
{
|
||||
@@ -1989,7 +1863,6 @@ struct ImGuiNextWindowData
|
||||
ImGuiCond PosCond;
|
||||
ImGuiCond SizeCond;
|
||||
ImGuiCond CollapsedCond;
|
||||
ImGuiCond DockCond;
|
||||
ImVec2 PosVal;
|
||||
ImVec2 PosPivotVal;
|
||||
ImVec2 SizeVal;
|
||||
@@ -1997,15 +1870,11 @@ struct ImGuiNextWindowData
|
||||
ImVec2 ScrollVal;
|
||||
ImGuiWindowFlags WindowFlags;
|
||||
ImGuiChildFlags ChildFlags;
|
||||
bool PosUndock;
|
||||
bool CollapsedVal;
|
||||
ImRect SizeConstraintRect;
|
||||
ImGuiSizeCallback SizeCallback;
|
||||
void* SizeCallbackUserData;
|
||||
float BgAlphaVal;
|
||||
ImGuiID ViewportId;
|
||||
ImGuiID DockId;
|
||||
ImGuiWindowClass WindowClass;
|
||||
ImVec2 MenuBarOffsetMinVal;
|
||||
ImGuiWindowRefreshFlags RefreshFlagsVal;
|
||||
};
|
||||
@@ -2116,7 +1985,6 @@ typedef enum {
|
||||
ImGuiInputEventType_MousePos,
|
||||
ImGuiInputEventType_MouseWheel,
|
||||
ImGuiInputEventType_MouseButton,
|
||||
ImGuiInputEventType_MouseViewport,
|
||||
ImGuiInputEventType_Key,
|
||||
ImGuiInputEventType_Text,
|
||||
ImGuiInputEventType_Focus,
|
||||
@@ -2141,10 +2009,6 @@ typedef struct ImGuiInputEventMouseButton ImGuiInputEventMouseButton;
|
||||
struct ImGuiInputEventMouseButton
|
||||
{ int Button; bool Down; ImGuiMouseSource MouseSource;
|
||||
};
|
||||
typedef struct ImGuiInputEventMouseViewport ImGuiInputEventMouseViewport;
|
||||
struct ImGuiInputEventMouseViewport
|
||||
{ ImGuiID HoveredViewportID;
|
||||
};
|
||||
typedef struct ImGuiInputEventKey ImGuiInputEventKey;
|
||||
struct ImGuiInputEventKey
|
||||
{ ImGuiKey Key; bool Down; float AnalogValue;
|
||||
@@ -2168,7 +2032,6 @@ struct ImGuiInputEvent
|
||||
ImGuiInputEventMousePos MousePos;
|
||||
ImGuiInputEventMouseWheel MouseWheel;
|
||||
ImGuiInputEventMouseButton MouseButton;
|
||||
ImGuiInputEventMouseViewport MouseViewport;
|
||||
ImGuiInputEventKey Key;
|
||||
ImGuiInputEventText Text;
|
||||
ImGuiInputEventAppFocused AppFocused;
|
||||
@@ -2424,132 +2287,14 @@ struct ImGuiMultiSelectState
|
||||
ImGuiSelectionUserData RangeSrcItem;
|
||||
ImGuiSelectionUserData NavIdItem;
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiDockNodeFlags_DockSpace = 1 << 10,
|
||||
ImGuiDockNodeFlags_CentralNode = 1 << 11,
|
||||
ImGuiDockNodeFlags_NoTabBar = 1 << 12,
|
||||
ImGuiDockNodeFlags_HiddenTabBar = 1 << 13,
|
||||
ImGuiDockNodeFlags_NoWindowMenuButton = 1 << 14,
|
||||
ImGuiDockNodeFlags_NoCloseButton = 1 << 15,
|
||||
ImGuiDockNodeFlags_NoResizeX = 1 << 16,
|
||||
ImGuiDockNodeFlags_NoResizeY = 1 << 17,
|
||||
ImGuiDockNodeFlags_DockedWindowsInFocusRoute= 1 << 18,
|
||||
ImGuiDockNodeFlags_NoDockingSplitOther = 1 << 19,
|
||||
ImGuiDockNodeFlags_NoDockingOverMe = 1 << 20,
|
||||
ImGuiDockNodeFlags_NoDockingOverOther = 1 << 21,
|
||||
ImGuiDockNodeFlags_NoDockingOverEmpty = 1 << 22,
|
||||
ImGuiDockNodeFlags_NoDocking = ImGuiDockNodeFlags_NoDockingOverMe | ImGuiDockNodeFlags_NoDockingOverOther | ImGuiDockNodeFlags_NoDockingOverEmpty | ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoDockingSplitOther,
|
||||
ImGuiDockNodeFlags_SharedFlagsInheritMask_ = ~0,
|
||||
ImGuiDockNodeFlags_NoResizeFlagsMask_ = (int)ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY,
|
||||
ImGuiDockNodeFlags_LocalFlagsTransferMask_ = (int)ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | (int)ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton,
|
||||
ImGuiDockNodeFlags_SavedFlagsMask_ = ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton,
|
||||
}ImGuiDockNodeFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiDataAuthority_Auto,
|
||||
ImGuiDataAuthority_DockNode,
|
||||
ImGuiDataAuthority_Window,
|
||||
}ImGuiDataAuthority_;
|
||||
typedef enum {
|
||||
ImGuiDockNodeState_Unknown,
|
||||
ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow,
|
||||
ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing,
|
||||
ImGuiDockNodeState_HostWindowVisible,
|
||||
}ImGuiDockNodeState;
|
||||
typedef struct ImVector_ImGuiWindowPtr {int Size;int Capacity;ImGuiWindow** Data;} ImVector_ImGuiWindowPtr;
|
||||
|
||||
struct ImGuiDockNode
|
||||
{
|
||||
ImGuiID ID;
|
||||
ImGuiDockNodeFlags SharedFlags;
|
||||
ImGuiDockNodeFlags LocalFlags;
|
||||
ImGuiDockNodeFlags LocalFlagsInWindows;
|
||||
ImGuiDockNodeFlags MergedFlags;
|
||||
ImGuiDockNodeState State;
|
||||
ImGuiDockNode* ParentNode;
|
||||
ImGuiDockNode* ChildNodes[2];
|
||||
ImVector_ImGuiWindowPtr Windows;
|
||||
ImGuiTabBar* TabBar;
|
||||
ImVec2 Pos;
|
||||
ImVec2 Size;
|
||||
ImVec2 SizeRef;
|
||||
ImGuiAxis SplitAxis;
|
||||
ImGuiWindowClass WindowClass;
|
||||
ImU32 LastBgColor;
|
||||
ImGuiWindow* HostWindow;
|
||||
ImGuiWindow* VisibleWindow;
|
||||
ImGuiDockNode* CentralNode;
|
||||
ImGuiDockNode* OnlyNodeWithWindows;
|
||||
int CountNodeWithWindows;
|
||||
int LastFrameAlive;
|
||||
int LastFrameActive;
|
||||
int LastFrameFocused;
|
||||
ImGuiID LastFocusedNodeId;
|
||||
ImGuiID SelectedTabId;
|
||||
ImGuiID WantCloseTabId;
|
||||
ImGuiID RefViewportId;
|
||||
ImGuiDataAuthority AuthorityForPos :3;
|
||||
ImGuiDataAuthority AuthorityForSize :3;
|
||||
ImGuiDataAuthority AuthorityForViewport :3;
|
||||
bool IsVisible :1;
|
||||
bool IsFocused :1;
|
||||
bool IsBgDrawnThisFrame :1;
|
||||
bool HasCloseButton :1;
|
||||
bool HasWindowMenuButton :1;
|
||||
bool HasCentralNodeChild :1;
|
||||
bool WantCloseAll :1;
|
||||
bool WantLockSizeOnce :1;
|
||||
bool WantMouseMove :1;
|
||||
bool WantHiddenTabBarUpdate :1;
|
||||
bool WantHiddenTabBarToggle :1;
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiWindowDockStyleCol_Text,
|
||||
ImGuiWindowDockStyleCol_TabHovered,
|
||||
ImGuiWindowDockStyleCol_TabFocused,
|
||||
ImGuiWindowDockStyleCol_TabSelected,
|
||||
ImGuiWindowDockStyleCol_TabSelectedOverline,
|
||||
ImGuiWindowDockStyleCol_TabDimmed,
|
||||
ImGuiWindowDockStyleCol_TabDimmedSelected,
|
||||
ImGuiWindowDockStyleCol_TabDimmedSelectedOverline,
|
||||
ImGuiWindowDockStyleCol_COUNT
|
||||
}ImGuiWindowDockStyleCol;
|
||||
struct ImGuiWindowDockStyle
|
||||
{
|
||||
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT];
|
||||
};
|
||||
typedef struct ImVector_ImGuiDockRequest {int Size;int Capacity;ImGuiDockRequest* Data;} ImVector_ImGuiDockRequest;
|
||||
|
||||
typedef struct ImVector_ImGuiDockNodeSettings {int Size;int Capacity;ImGuiDockNodeSettings* Data;} ImVector_ImGuiDockNodeSettings;
|
||||
|
||||
struct ImGuiDockContext
|
||||
{
|
||||
ImGuiStorage Nodes;
|
||||
ImVector_ImGuiDockRequest Requests;
|
||||
ImVector_ImGuiDockNodeSettings NodesSettings;
|
||||
bool WantFullRebuild;
|
||||
};
|
||||
typedef struct ImGuiViewportP ImGuiViewportP;
|
||||
struct ImGuiViewportP
|
||||
{
|
||||
ImGuiViewport _ImGuiViewport;
|
||||
ImGuiWindow* Window;
|
||||
int Idx;
|
||||
int LastFrameActive;
|
||||
int LastFocusedStampCount;
|
||||
ImGuiID LastNameHash;
|
||||
ImVec2 LastPos;
|
||||
ImVec2 LastSize;
|
||||
float Alpha;
|
||||
float LastAlpha;
|
||||
bool LastFocusedHadNavWindow;
|
||||
short PlatformMonitor;
|
||||
int BgFgDrawListsLastFrame[2];
|
||||
ImDrawList* BgFgDrawLists[2];
|
||||
ImDrawData DrawDataP;
|
||||
ImDrawDataBuilder DrawDataBuilder;
|
||||
ImVec2 LastPlatformPos;
|
||||
ImVec2 LastPlatformSize;
|
||||
ImVec2 LastRendererSize;
|
||||
ImVec2 WorkInsetMin;
|
||||
ImVec2 WorkInsetMax;
|
||||
ImVec2 BuildWorkInsetMin;
|
||||
@@ -2560,11 +2305,6 @@ struct ImGuiWindowSettings
|
||||
ImGuiID ID;
|
||||
ImVec2ih Pos;
|
||||
ImVec2ih Size;
|
||||
ImVec2ih ViewportPos;
|
||||
ImGuiID ViewportId;
|
||||
ImGuiID DockId;
|
||||
ImGuiID ClassId;
|
||||
short DockOrder;
|
||||
bool Collapsed;
|
||||
bool IsChild;
|
||||
bool WantApply;
|
||||
@@ -2593,10 +2333,7 @@ ImGuiLocKey_WindowingPopup=6,
|
||||
ImGuiLocKey_WindowingUntitled=7,
|
||||
ImGuiLocKey_OpenLink_s=8,
|
||||
ImGuiLocKey_CopyLink=9,
|
||||
ImGuiLocKey_DockingHideTabBar=10,
|
||||
ImGuiLocKey_DockingHoldShiftToDock=11,
|
||||
ImGuiLocKey_DockingDragToUndockOrMoveNode=12,
|
||||
ImGuiLocKey_COUNT=13,
|
||||
ImGuiLocKey_COUNT=10,
|
||||
}ImGuiLocKey;
|
||||
struct ImGuiLocEntry
|
||||
{
|
||||
@@ -2647,7 +2384,6 @@ struct ImGuiMetricsConfig
|
||||
bool ShowDrawCmdMesh;
|
||||
bool ShowDrawCmdBoundingBoxes;
|
||||
bool ShowTextEncodingViewer;
|
||||
bool ShowDockingNodes;
|
||||
int ShowWindowsRectsType;
|
||||
int ShowTablesRectsType;
|
||||
int HighlightMonitorIdx;
|
||||
@@ -2687,6 +2423,8 @@ struct ImGuiContextHook
|
||||
};
|
||||
typedef struct ImVector_ImGuiInputEvent {int Size;int Capacity;ImGuiInputEvent* Data;} ImVector_ImGuiInputEvent;
|
||||
|
||||
typedef struct ImVector_ImGuiWindowPtr {int Size;int Capacity;ImGuiWindow** Data;} ImVector_ImGuiWindowPtr;
|
||||
|
||||
typedef struct ImVector_ImGuiWindowStackData {int Size;int Capacity;ImGuiWindowStackData* Data;} ImVector_ImGuiWindowStackData;
|
||||
|
||||
typedef struct ImVector_ImGuiColorMod {int Size;int Capacity;ImGuiColorMod* Data;} ImVector_ImGuiColorMod;
|
||||
@@ -2746,8 +2484,6 @@ struct ImGuiContext
|
||||
ImGuiIO IO;
|
||||
ImGuiPlatformIO PlatformIO;
|
||||
ImGuiStyle Style;
|
||||
ImGuiConfigFlags ConfigFlagsCurrFrame;
|
||||
ImGuiConfigFlags ConfigFlagsLastFrame;
|
||||
ImFont* Font;
|
||||
float FontSize;
|
||||
float FontBaseSize;
|
||||
@@ -2757,7 +2493,6 @@ struct ImGuiContext
|
||||
double Time;
|
||||
int FrameCount;
|
||||
int FrameCountEnded;
|
||||
int FrameCountPlatformEnded;
|
||||
int FrameCountRendered;
|
||||
ImGuiID WithinEndChildID;
|
||||
bool WithinFrameScope;
|
||||
@@ -2846,15 +2581,6 @@ struct ImGuiContext
|
||||
ImVector_ImGuiPopupData BeginPopupStack;
|
||||
ImVector_ImGuiTreeNodeStackData TreeNodeStack;
|
||||
ImVector_ImGuiViewportPPtr Viewports;
|
||||
ImGuiViewportP* CurrentViewport;
|
||||
ImGuiViewportP* MouseViewport;
|
||||
ImGuiViewportP* MouseLastHoveredViewport;
|
||||
ImGuiID PlatformLastFocusedViewportId;
|
||||
ImGuiPlatformMonitor FallbackMonitor;
|
||||
ImRect PlatformMonitorsFullWorkRect;
|
||||
int ViewportCreatedCount;
|
||||
int PlatformWindowsCreatedCount;
|
||||
int ViewportFocusedStampCount;
|
||||
bool NavCursorVisible;
|
||||
bool NavHighlightItemUnderNav;
|
||||
bool NavMousePosDirty;
|
||||
@@ -2994,9 +2720,6 @@ struct ImGuiContext
|
||||
ImGuiTypingSelectState TypingSelectState;
|
||||
ImGuiPlatformImeData PlatformImeData;
|
||||
ImGuiPlatformImeData PlatformImeDataPrev;
|
||||
ImGuiID PlatformImeViewport;
|
||||
ImGuiDockContext DockContext;
|
||||
void (*DockNodeWindowMenuHandler)(ImGuiContext* ctx, ImGuiDockNode* node, ImGuiTabBar* tab_bar);
|
||||
bool SettingsLoaded;
|
||||
float SettingsDirtyTimer;
|
||||
ImGuiTextBuffer SettingsIniData;
|
||||
@@ -3044,7 +2767,6 @@ struct ImGuiContext
|
||||
ImGuiMetricsConfig DebugMetricsConfig;
|
||||
ImGuiIDStackTool DebugIDStackTool;
|
||||
ImGuiDebugAllocInfo DebugAllocInfo;
|
||||
ImGuiDockNode* DebugHoveredDockNode;
|
||||
float FramerateSecPerFrame[60];
|
||||
int FramerateSecPerFrameIdx;
|
||||
int FramerateSecPerFrameCount;
|
||||
@@ -3092,8 +2814,6 @@ struct ImGuiWindowTempData
|
||||
ImU32 ModalDimBgColor;
|
||||
ImGuiItemStatusFlags WindowItemStatusFlags;
|
||||
ImGuiItemStatusFlags ChildItemStatusFlags;
|
||||
ImGuiItemStatusFlags DockTabItemStatusFlags;
|
||||
ImRect DockTabItemRect;
|
||||
float ItemWidth;
|
||||
float TextWrapPos;
|
||||
ImVector_float ItemWidthStack;
|
||||
@@ -3106,13 +2826,9 @@ struct ImGuiWindow
|
||||
ImGuiContext* Ctx;
|
||||
char* Name;
|
||||
ImGuiID ID;
|
||||
ImGuiWindowFlags Flags, FlagsPreviousFrame;
|
||||
ImGuiWindowFlags Flags;
|
||||
ImGuiChildFlags ChildFlags;
|
||||
ImGuiWindowClass WindowClass;
|
||||
ImGuiViewportP* Viewport;
|
||||
ImGuiID ViewportId;
|
||||
ImVec2 ViewportPos;
|
||||
int ViewportAllowPlatformMonitorExtend;
|
||||
ImVec2 Pos;
|
||||
ImVec2 Size;
|
||||
ImVec2 SizeFull;
|
||||
@@ -3128,7 +2844,6 @@ struct ImGuiWindow
|
||||
float DecoInnerSizeX1, DecoInnerSizeY1;
|
||||
int NameBufLen;
|
||||
ImGuiID MoveId;
|
||||
ImGuiID TabId;
|
||||
ImGuiID ChildId;
|
||||
ImGuiID PopupId;
|
||||
ImVec2 Scroll;
|
||||
@@ -3140,7 +2855,6 @@ struct ImGuiWindow
|
||||
bool ScrollbarX, ScrollbarY;
|
||||
bool ScrollbarXStabilizeEnabled;
|
||||
ImU8 ScrollbarXStabilizeToggledHistory;
|
||||
bool ViewportOwned;
|
||||
bool Active;
|
||||
bool WasActive;
|
||||
bool WriteAccessed;
|
||||
@@ -3170,7 +2884,6 @@ struct ImGuiWindow
|
||||
ImGuiCond SetWindowPosAllowFlags : 8;
|
||||
ImGuiCond SetWindowSizeAllowFlags : 8;
|
||||
ImGuiCond SetWindowCollapsedAllowFlags : 8;
|
||||
ImGuiCond SetWindowDockAllowFlags : 8;
|
||||
ImVec2 SetWindowPosVal;
|
||||
ImVec2 SetWindowPosPivot;
|
||||
ImVector_ImGuiID IDStack;
|
||||
@@ -3185,14 +2898,12 @@ struct ImGuiWindow
|
||||
ImVec2ih HitTestHoleSize;
|
||||
ImVec2ih HitTestHoleOffset;
|
||||
int LastFrameActive;
|
||||
int LastFrameJustFocused;
|
||||
float LastTimeActive;
|
||||
float ItemWidthDefault;
|
||||
ImGuiStorage StateStorage;
|
||||
ImVector_ImGuiOldColumns ColumnsStorage;
|
||||
float FontWindowScale;
|
||||
float FontWindowScaleParents;
|
||||
float FontDpiScale;
|
||||
float FontRefSize;
|
||||
int SettingsOffset;
|
||||
ImDrawList* DrawList;
|
||||
@@ -3201,7 +2912,6 @@ struct ImGuiWindow
|
||||
ImGuiWindow* ParentWindowInBeginStack;
|
||||
ImGuiWindow* RootWindow;
|
||||
ImGuiWindow* RootWindowPopupTree;
|
||||
ImGuiWindow* RootWindowDockTree;
|
||||
ImGuiWindow* RootWindowForTitleBarHighlight;
|
||||
ImGuiWindow* RootWindowForNav;
|
||||
ImGuiWindow* ParentWindowForFocusRoute;
|
||||
@@ -3213,15 +2923,6 @@ struct ImGuiWindow
|
||||
int MemoryDrawListIdxCapacity;
|
||||
int MemoryDrawListVtxCapacity;
|
||||
bool MemoryCompacted;
|
||||
bool DockIsActive :1;
|
||||
bool DockNodeIsVisible :1;
|
||||
bool DockTabIsVisible :1;
|
||||
bool DockTabWantClose :1;
|
||||
short DockOrder;
|
||||
ImGuiWindowDockStyle DockStyle;
|
||||
ImGuiDockNode* DockNode;
|
||||
ImGuiDockNode* DockNodeAsHost;
|
||||
ImGuiID DockId;
|
||||
};
|
||||
typedef enum {
|
||||
ImGuiTabBarFlags_DockNode = 1 << 20,
|
||||
@@ -3233,13 +2934,11 @@ typedef enum {
|
||||
ImGuiTabItemFlags_NoCloseButton = 1 << 20,
|
||||
ImGuiTabItemFlags_Button = 1 << 21,
|
||||
ImGuiTabItemFlags_Invisible = 1 << 22,
|
||||
ImGuiTabItemFlags_Unsorted = 1 << 23,
|
||||
}ImGuiTabItemFlagsPrivate_;
|
||||
struct ImGuiTabItem
|
||||
{
|
||||
ImGuiID ID;
|
||||
ImGuiTabItemFlags Flags;
|
||||
ImGuiWindow* Window;
|
||||
int LastFrameVisible;
|
||||
int LastFrameSelected;
|
||||
float Offset;
|
||||
@@ -3545,8 +3244,6 @@ typedef enum {
|
||||
ImGuiFreeTypeBuilderFlags_Bitmap = 1 << 9
|
||||
}ImGuiFreeTypeBuilderFlags;
|
||||
#endif
|
||||
#define IMGUI_HAS_DOCK 1
|
||||
|
||||
#define ImDrawCallback_ResetRenderState (ImDrawCallback)(-8)
|
||||
|
||||
#else
|
||||
@@ -3577,8 +3274,6 @@ typedef ImVector<ImFontConfig> ImVector_ImFontConfig;
|
||||
typedef ImVector<ImFontGlyph> ImVector_ImFontGlyph;
|
||||
typedef ImVector<ImGuiColorMod> ImVector_ImGuiColorMod;
|
||||
typedef ImVector<ImGuiContextHook> ImVector_ImGuiContextHook;
|
||||
typedef ImVector<ImGuiDockNodeSettings> ImVector_ImGuiDockNodeSettings;
|
||||
typedef ImVector<ImGuiDockRequest> ImVector_ImGuiDockRequest;
|
||||
typedef ImVector<ImGuiFocusScopeData> ImVector_ImGuiFocusScopeData;
|
||||
typedef ImVector<ImGuiGroupData> ImVector_ImGuiGroupData;
|
||||
typedef ImVector<ImGuiID> ImVector_ImGuiID;
|
||||
@@ -3590,7 +3285,6 @@ typedef ImVector<ImGuiListClipperRange> ImVector_ImGuiListClipperRange;
|
||||
typedef ImVector<ImGuiMultiSelectTempData> ImVector_ImGuiMultiSelectTempData;
|
||||
typedef ImVector<ImGuiOldColumnData> ImVector_ImGuiOldColumnData;
|
||||
typedef ImVector<ImGuiOldColumns> ImVector_ImGuiOldColumns;
|
||||
typedef ImVector<ImGuiPlatformMonitor> ImVector_ImGuiPlatformMonitor;
|
||||
typedef ImVector<ImGuiPopupData> ImVector_ImGuiPopupData;
|
||||
typedef ImVector<ImGuiPtrOrIndex> ImVector_ImGuiPtrOrIndex;
|
||||
typedef ImVector<ImGuiSelectionRequest> ImVector_ImGuiSelectionRequest;
|
||||
@@ -3606,7 +3300,6 @@ typedef ImVector<ImGuiTableInstanceData> ImVector_ImGuiTableInstanceData;
|
||||
typedef ImVector<ImGuiTableTempData> ImVector_ImGuiTableTempData;
|
||||
typedef ImVector<ImGuiTextRange> ImVector_ImGuiTextRange;
|
||||
typedef ImVector<ImGuiTreeNodeStackData> ImVector_ImGuiTreeNodeStackData;
|
||||
typedef ImVector<ImGuiViewport*> ImVector_ImGuiViewportPtr;
|
||||
typedef ImVector<ImGuiViewportP*> ImVector_ImGuiViewportPPtr;
|
||||
typedef ImVector<ImGuiWindow*> ImVector_ImGuiWindowPtr;
|
||||
typedef ImVector<ImGuiWindowStackData> ImVector_ImGuiWindowStackData;
|
||||
@@ -3618,7 +3311,6 @@ typedef ImVector<ImVec2> ImVector_ImVec2;
|
||||
typedef ImVector<ImVec4> ImVector_ImVec4;
|
||||
typedef ImVector<ImWchar> ImVector_ImWchar;
|
||||
typedef ImVector<char> ImVector_char;
|
||||
typedef ImVector<const char*> ImVector_const_charPtr;
|
||||
typedef ImVector<float> ImVector_float;
|
||||
typedef ImVector<int> ImVector_int;
|
||||
typedef ImVector<unsigned char> ImVector_unsigned_char;
|
||||
@@ -3633,7 +3325,7 @@ CIMGUI_API ImGuiContext* igCreateContext(ImFontAtlas* shared_font_atlas);
|
||||
CIMGUI_API void igDestroyContext(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiContext* igGetCurrentContext(void);
|
||||
CIMGUI_API void igSetCurrentContext(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiIO* igGetIO_Nil(void);
|
||||
CIMGUI_API ImGuiIO* igGetIO(void);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_Nil(void);
|
||||
CIMGUI_API ImGuiStyle* igGetStyle(void);
|
||||
CIMGUI_API void igNewFrame(void);
|
||||
@@ -3663,12 +3355,10 @@ CIMGUI_API bool igIsWindowCollapsed(void);
|
||||
CIMGUI_API bool igIsWindowFocused(ImGuiFocusedFlags flags);
|
||||
CIMGUI_API bool igIsWindowHovered(ImGuiHoveredFlags flags);
|
||||
CIMGUI_API ImDrawList* igGetWindowDrawList(void);
|
||||
CIMGUI_API float igGetWindowDpiScale(void);
|
||||
CIMGUI_API void igGetWindowPos(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetWindowSize(ImVec2 *pOut);
|
||||
CIMGUI_API float igGetWindowWidth(void);
|
||||
CIMGUI_API float igGetWindowHeight(void);
|
||||
CIMGUI_API ImGuiViewport* igGetWindowViewport(void);
|
||||
CIMGUI_API void igSetNextWindowPos(const ImVec2 pos,ImGuiCond cond,const ImVec2 pivot);
|
||||
CIMGUI_API void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond);
|
||||
CIMGUI_API void igSetNextWindowSizeConstraints(const ImVec2 size_min,const ImVec2 size_max,ImGuiSizeCallback custom_callback,void* custom_callback_data);
|
||||
@@ -3677,7 +3367,6 @@ CIMGUI_API void igSetNextWindowCollapsed(bool collapsed,ImGuiCond cond);
|
||||
CIMGUI_API void igSetNextWindowFocus(void);
|
||||
CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll);
|
||||
CIMGUI_API void igSetNextWindowBgAlpha(float alpha);
|
||||
CIMGUI_API void igSetNextWindowViewport(ImGuiID viewport_id);
|
||||
CIMGUI_API void igSetWindowPos_Vec2(const ImVec2 pos,ImGuiCond cond);
|
||||
CIMGUI_API void igSetWindowSize_Vec2(const ImVec2 size,ImGuiCond cond);
|
||||
CIMGUI_API void igSetWindowCollapsed_Bool(bool collapsed,ImGuiCond cond);
|
||||
@@ -3931,12 +3620,6 @@ CIMGUI_API bool igBeginTabItem(const char* label,bool* p_open,ImGuiTabItemFlags
|
||||
CIMGUI_API void igEndTabItem(void);
|
||||
CIMGUI_API bool igTabItemButton(const char* label,ImGuiTabItemFlags flags);
|
||||
CIMGUI_API void igSetTabItemClosed(const char* tab_or_docked_window_label);
|
||||
CIMGUI_API ImGuiID igDockSpace(ImGuiID dockspace_id,const ImVec2 size,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
||||
CIMGUI_API ImGuiID igDockSpaceOverViewport(ImGuiID dockspace_id,const ImGuiViewport* viewport,ImGuiDockNodeFlags flags,const ImGuiWindowClass* window_class);
|
||||
CIMGUI_API void igSetNextWindowDockID(ImGuiID dock_id,ImGuiCond cond);
|
||||
CIMGUI_API void igSetNextWindowClass(const ImGuiWindowClass* window_class);
|
||||
CIMGUI_API ImGuiID igGetWindowDockID(void);
|
||||
CIMGUI_API bool igIsWindowDocked(void);
|
||||
CIMGUI_API void igLogToTTY(int auto_open_depth);
|
||||
CIMGUI_API void igLogToFile(int auto_open_depth,const char* filename);
|
||||
CIMGUI_API void igLogToClipboard(int auto_open_depth);
|
||||
@@ -3976,8 +3659,8 @@ CIMGUI_API void igGetItemRectMin(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetItemRectMax(ImVec2 *pOut);
|
||||
CIMGUI_API void igGetItemRectSize(ImVec2 *pOut);
|
||||
CIMGUI_API ImGuiViewport* igGetMainViewport(void);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList(ImGuiViewport* viewport);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_Nil(void);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_Nil(void);
|
||||
CIMGUI_API bool igIsRectVisible_Nil(const ImVec2 size);
|
||||
CIMGUI_API bool igIsRectVisible_Vec2(const ImVec2 rect_min,const ImVec2 rect_max);
|
||||
CIMGUI_API double igGetTime(void);
|
||||
@@ -4034,11 +3717,6 @@ CIMGUI_API void igSetAllocatorFunctions(ImGuiMemAllocFunc alloc_func,ImGuiMemFre
|
||||
CIMGUI_API void igGetAllocatorFunctions(ImGuiMemAllocFunc* p_alloc_func,ImGuiMemFreeFunc* p_free_func,void** p_user_data);
|
||||
CIMGUI_API void* igMemAlloc(size_t size);
|
||||
CIMGUI_API void igMemFree(void* ptr);
|
||||
CIMGUI_API void igUpdatePlatformWindows(void);
|
||||
CIMGUI_API void igRenderPlatformWindowsDefault(void* platform_render_arg,void* renderer_render_arg);
|
||||
CIMGUI_API void igDestroyPlatformWindows(void);
|
||||
CIMGUI_API ImGuiViewport* igFindViewportByID(ImGuiID id);
|
||||
CIMGUI_API ImGuiViewport* igFindViewportByPlatformHandle(void* platform_handle);
|
||||
CIMGUI_API ImGuiTableSortSpecs* ImGuiTableSortSpecs_ImGuiTableSortSpecs(void);
|
||||
CIMGUI_API void ImGuiTableSortSpecs_destroy(ImGuiTableSortSpecs* self);
|
||||
CIMGUI_API ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs(void);
|
||||
@@ -4052,7 +3730,6 @@ CIMGUI_API void ImGuiIO_AddMousePosEvent(ImGuiIO* self,float x,float y);
|
||||
CIMGUI_API void ImGuiIO_AddMouseButtonEvent(ImGuiIO* self,int button,bool down);
|
||||
CIMGUI_API void ImGuiIO_AddMouseWheelEvent(ImGuiIO* self,float wheel_x,float wheel_y);
|
||||
CIMGUI_API void ImGuiIO_AddMouseSourceEvent(ImGuiIO* self,ImGuiMouseSource source);
|
||||
CIMGUI_API void ImGuiIO_AddMouseViewportEvent(ImGuiIO* self,ImGuiID id);
|
||||
CIMGUI_API void ImGuiIO_AddFocusEvent(ImGuiIO* self,bool focused);
|
||||
CIMGUI_API void ImGuiIO_AddInputCharacter(ImGuiIO* self,unsigned int c);
|
||||
CIMGUI_API void ImGuiIO_AddInputCharacterUTF16(ImGuiIO* self,ImWchar16 c);
|
||||
@@ -4071,8 +3748,6 @@ CIMGUI_API void ImGuiInputTextCallbackData_InsertChars(ImGuiInputTextCallbackDat
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_SelectAll(ImGuiInputTextCallbackData* self);
|
||||
CIMGUI_API void ImGuiInputTextCallbackData_ClearSelection(ImGuiInputTextCallbackData* self);
|
||||
CIMGUI_API bool ImGuiInputTextCallbackData_HasSelection(ImGuiInputTextCallbackData* self);
|
||||
CIMGUI_API ImGuiWindowClass* ImGuiWindowClass_ImGuiWindowClass(void);
|
||||
CIMGUI_API void ImGuiWindowClass_destroy(ImGuiWindowClass* self);
|
||||
CIMGUI_API ImGuiPayload* ImGuiPayload_ImGuiPayload(void);
|
||||
CIMGUI_API void ImGuiPayload_destroy(ImGuiPayload* self);
|
||||
CIMGUI_API void ImGuiPayload_Clear(ImGuiPayload* self);
|
||||
@@ -4305,8 +3980,6 @@ CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self);
|
||||
CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self);
|
||||
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void);
|
||||
CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self);
|
||||
CIMGUI_API ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void);
|
||||
CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self);
|
||||
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void);
|
||||
CIMGUI_API void ImGuiPlatformImeData_destroy(ImGuiPlatformImeData* self);
|
||||
CIMGUI_API ImGuiID igImHashData(const void* data,size_t data_size,ImGuiID seed);
|
||||
@@ -4539,25 +4212,8 @@ CIMGUI_API void ImGuiMultiSelectTempData_Clear(ImGuiMultiSelectTempData* self);
|
||||
CIMGUI_API void ImGuiMultiSelectTempData_ClearIO(ImGuiMultiSelectTempData* self);
|
||||
CIMGUI_API ImGuiMultiSelectState* ImGuiMultiSelectState_ImGuiMultiSelectState(void);
|
||||
CIMGUI_API void ImGuiMultiSelectState_destroy(ImGuiMultiSelectState* self);
|
||||
CIMGUI_API ImGuiDockNode* ImGuiDockNode_ImGuiDockNode(ImGuiID id);
|
||||
CIMGUI_API void ImGuiDockNode_destroy(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsRootNode(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsDockSpace(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsFloatingNode(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsCentralNode(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsHiddenTabBar(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsNoTabBar(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsSplitNode(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsLeafNode(ImGuiDockNode* self);
|
||||
CIMGUI_API bool ImGuiDockNode_IsEmpty(ImGuiDockNode* self);
|
||||
CIMGUI_API void ImGuiDockNode_Rect(ImRect *pOut,ImGuiDockNode* self);
|
||||
CIMGUI_API void ImGuiDockNode_SetLocalFlags(ImGuiDockNode* self,ImGuiDockNodeFlags flags);
|
||||
CIMGUI_API void ImGuiDockNode_UpdateMergedFlags(ImGuiDockNode* self);
|
||||
CIMGUI_API ImGuiDockContext* ImGuiDockContext_ImGuiDockContext(void);
|
||||
CIMGUI_API void ImGuiDockContext_destroy(ImGuiDockContext* self);
|
||||
CIMGUI_API ImGuiViewportP* ImGuiViewportP_ImGuiViewportP(void);
|
||||
CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self);
|
||||
CIMGUI_API void ImGuiViewportP_ClearRequestFlags(ImGuiViewportP* self);
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min);
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min,const ImVec2 inset_max);
|
||||
CIMGUI_API void ImGuiViewportP_UpdateWorkRect(ImGuiViewportP* self);
|
||||
@@ -4607,7 +4263,7 @@ CIMGUI_API void ImGuiTableColumnSettings_destroy(ImGuiTableColumnSettings* self)
|
||||
CIMGUI_API ImGuiTableSettings* ImGuiTableSettings_ImGuiTableSettings(void);
|
||||
CIMGUI_API void ImGuiTableSettings_destroy(ImGuiTableSettings* self);
|
||||
CIMGUI_API ImGuiTableColumnSettings* ImGuiTableSettings_GetColumnSettings(ImGuiTableSettings* self);
|
||||
CIMGUI_API ImGuiIO* igGetIO_ContextPtr(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiIO* igGetIOEx(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO_ContextPtr(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiWindow* igGetCurrentWindowRead(void);
|
||||
CIMGUI_API ImGuiWindow* igGetCurrentWindow(void);
|
||||
@@ -4616,7 +4272,7 @@ CIMGUI_API ImGuiWindow* igFindWindowByName(const char* name);
|
||||
CIMGUI_API void igUpdateWindowParentAndRootLinks(ImGuiWindow* window,ImGuiWindowFlags flags,ImGuiWindow* parent_window);
|
||||
CIMGUI_API void igUpdateWindowSkipRefresh(ImGuiWindow* window);
|
||||
CIMGUI_API void igCalcWindowNextAutoFitSize(ImVec2 *pOut,ImGuiWindow* window);
|
||||
CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy,bool dock_hierarchy);
|
||||
CIMGUI_API bool igIsWindowChildOf(ImGuiWindow* window,ImGuiWindow* potential_parent,bool popup_hierarchy);
|
||||
CIMGUI_API bool igIsWindowWithinBeginStackOf(ImGuiWindow* window,ImGuiWindow* potential_parent);
|
||||
CIMGUI_API bool igIsWindowAbove(ImGuiWindow* potential_above,ImGuiWindow* potential_below);
|
||||
CIMGUI_API bool igIsWindowNavFocusable(ImGuiWindow* window);
|
||||
@@ -4643,6 +4299,8 @@ CIMGUI_API void igSetCurrentFont(ImFont* font);
|
||||
CIMGUI_API ImFont* igGetDefaultFont(void);
|
||||
CIMGUI_API void igPushPasswordFont(void);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_WindowPtr(ImGuiWindow* window);
|
||||
CIMGUI_API ImDrawList* igGetBackgroundDrawList_ViewportPtr(ImGuiViewport* viewport);
|
||||
CIMGUI_API ImDrawList* igGetForegroundDrawList_ViewportPtr(ImGuiViewport* viewport);
|
||||
CIMGUI_API void igAddDrawListToDrawDataEx(ImDrawData* draw_data,ImVector_ImDrawListPtr* out_list,ImDrawList* draw_list);
|
||||
CIMGUI_API void igInitialize(void);
|
||||
CIMGUI_API void igShutdown(void);
|
||||
@@ -4650,19 +4308,13 @@ CIMGUI_API void igUpdateInputEvents(bool trickle_fast_inputs);
|
||||
CIMGUI_API void igUpdateHoveredWindowAndCaptureFlags(void);
|
||||
CIMGUI_API void igFindHoveredWindowEx(const ImVec2 pos,bool find_first_and_in_any_viewport,ImGuiWindow** out_hovered_window,ImGuiWindow** out_hovered_window_under_moving_window);
|
||||
CIMGUI_API void igStartMouseMovingWindow(ImGuiWindow* window);
|
||||
CIMGUI_API void igStartMouseMovingWindowOrNode(ImGuiWindow* window,ImGuiDockNode* node,bool undock);
|
||||
CIMGUI_API void igUpdateMouseMovingWindowNewFrame(void);
|
||||
CIMGUI_API void igUpdateMouseMovingWindowEndFrame(void);
|
||||
CIMGUI_API ImGuiID igAddContextHook(ImGuiContext* context,const ImGuiContextHook* hook);
|
||||
CIMGUI_API void igRemoveContextHook(ImGuiContext* context,ImGuiID hook_to_remove);
|
||||
CIMGUI_API void igCallContextHooks(ImGuiContext* context,ImGuiContextHookType type);
|
||||
CIMGUI_API void igTranslateWindowsInViewport(ImGuiViewportP* viewport,const ImVec2 old_pos,const ImVec2 new_pos,const ImVec2 old_size,const ImVec2 new_size);
|
||||
CIMGUI_API void igScaleWindowsInViewport(ImGuiViewportP* viewport,float scale);
|
||||
CIMGUI_API void igDestroyPlatformWindow(ImGuiViewportP* viewport);
|
||||
CIMGUI_API void igSetWindowViewport(ImGuiWindow* window,ImGuiViewportP* viewport);
|
||||
CIMGUI_API void igSetCurrentViewport(ImGuiWindow* window,ImGuiViewportP* viewport);
|
||||
CIMGUI_API const ImGuiPlatformMonitor* igGetViewportPlatformMonitor(ImGuiViewport* viewport);
|
||||
CIMGUI_API ImGuiViewportP* igFindHoveredViewportFromPlatformWindowStack(const ImVec2 mouse_platform_pos);
|
||||
CIMGUI_API void igMarkIniSettingsDirty_Nil(void);
|
||||
CIMGUI_API void igMarkIniSettingsDirty_WindowPtr(ImGuiWindow* window);
|
||||
CIMGUI_API void igClearIniSettings(void);
|
||||
@@ -4796,48 +4448,6 @@ CIMGUI_API bool igShortcut_ID(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGu
|
||||
CIMGUI_API bool igSetShortcutRouting(ImGuiKeyChord key_chord,ImGuiInputFlags flags,ImGuiID owner_id);
|
||||
CIMGUI_API bool igTestShortcutRouting(ImGuiKeyChord key_chord,ImGuiID owner_id);
|
||||
CIMGUI_API ImGuiKeyRoutingData* igGetShortcutRoutingData(ImGuiKeyChord key_chord);
|
||||
CIMGUI_API void igDockContextInitialize(ImGuiContext* ctx);
|
||||
CIMGUI_API void igDockContextShutdown(ImGuiContext* ctx);
|
||||
CIMGUI_API void igDockContextClearNodes(ImGuiContext* ctx,ImGuiID root_id,bool clear_settings_refs);
|
||||
CIMGUI_API void igDockContextRebuildNodes(ImGuiContext* ctx);
|
||||
CIMGUI_API void igDockContextNewFrameUpdateUndocking(ImGuiContext* ctx);
|
||||
CIMGUI_API void igDockContextNewFrameUpdateDocking(ImGuiContext* ctx);
|
||||
CIMGUI_API void igDockContextEndFrame(ImGuiContext* ctx);
|
||||
CIMGUI_API ImGuiID igDockContextGenNodeID(ImGuiContext* ctx);
|
||||
CIMGUI_API void igDockContextQueueDock(ImGuiContext* ctx,ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload,ImGuiDir split_dir,float split_ratio,bool split_outer);
|
||||
CIMGUI_API void igDockContextQueueUndockWindow(ImGuiContext* ctx,ImGuiWindow* window);
|
||||
CIMGUI_API void igDockContextQueueUndockNode(ImGuiContext* ctx,ImGuiDockNode* node);
|
||||
CIMGUI_API void igDockContextProcessUndockWindow(ImGuiContext* ctx,ImGuiWindow* window,bool clear_persistent_docking_ref);
|
||||
CIMGUI_API void igDockContextProcessUndockNode(ImGuiContext* ctx,ImGuiDockNode* node);
|
||||
CIMGUI_API bool igDockContextCalcDropPosForDocking(ImGuiWindow* target,ImGuiDockNode* target_node,ImGuiWindow* payload_window,ImGuiDockNode* payload_node,ImGuiDir split_dir,bool split_outer,ImVec2* out_pos);
|
||||
CIMGUI_API ImGuiDockNode* igDockContextFindNodeByID(ImGuiContext* ctx,ImGuiID id);
|
||||
CIMGUI_API void igDockNodeWindowMenuHandler_Default(ImGuiContext* ctx,ImGuiDockNode* node,ImGuiTabBar* tab_bar);
|
||||
CIMGUI_API bool igDockNodeBeginAmendTabBar(ImGuiDockNode* node);
|
||||
CIMGUI_API void igDockNodeEndAmendTabBar(void);
|
||||
CIMGUI_API ImGuiDockNode* igDockNodeGetRootNode(ImGuiDockNode* node);
|
||||
CIMGUI_API bool igDockNodeIsInHierarchyOf(ImGuiDockNode* node,ImGuiDockNode* parent);
|
||||
CIMGUI_API int igDockNodeGetDepth(const ImGuiDockNode* node);
|
||||
CIMGUI_API ImGuiID igDockNodeGetWindowMenuButtonId(const ImGuiDockNode* node);
|
||||
CIMGUI_API ImGuiDockNode* igGetWindowDockNode(void);
|
||||
CIMGUI_API bool igGetWindowAlwaysWantOwnTabBar(ImGuiWindow* window);
|
||||
CIMGUI_API void igBeginDocked(ImGuiWindow* window,bool* p_open);
|
||||
CIMGUI_API void igBeginDockableDragDropSource(ImGuiWindow* window);
|
||||
CIMGUI_API void igBeginDockableDragDropTarget(ImGuiWindow* window);
|
||||
CIMGUI_API void igSetWindowDock(ImGuiWindow* window,ImGuiID dock_id,ImGuiCond cond);
|
||||
CIMGUI_API void igDockBuilderDockWindow(const char* window_name,ImGuiID node_id);
|
||||
CIMGUI_API ImGuiDockNode* igDockBuilderGetNode(ImGuiID node_id);
|
||||
CIMGUI_API ImGuiDockNode* igDockBuilderGetCentralNode(ImGuiID node_id);
|
||||
CIMGUI_API ImGuiID igDockBuilderAddNode(ImGuiID node_id,ImGuiDockNodeFlags flags);
|
||||
CIMGUI_API void igDockBuilderRemoveNode(ImGuiID node_id);
|
||||
CIMGUI_API void igDockBuilderRemoveNodeDockedWindows(ImGuiID node_id,bool clear_settings_refs);
|
||||
CIMGUI_API void igDockBuilderRemoveNodeChildNodes(ImGuiID node_id);
|
||||
CIMGUI_API void igDockBuilderSetNodePos(ImGuiID node_id,ImVec2 pos);
|
||||
CIMGUI_API void igDockBuilderSetNodeSize(ImGuiID node_id,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);
|
||||
CIMGUI_API void igDockBuilderCopyDockSpace(ImGuiID src_dockspace_id,ImGuiID dst_dockspace_id,ImVector_const_charPtr* in_window_remap_pairs);
|
||||
CIMGUI_API void igDockBuilderCopyNode(ImGuiID src_node_id,ImGuiID dst_node_id,ImVector_ImGuiID* out_node_remap_pairs);
|
||||
CIMGUI_API void igDockBuilderCopyWindowSettings(const char* src_name,const char* dst_name);
|
||||
CIMGUI_API void igDockBuilderFinish(ImGuiID node_id);
|
||||
CIMGUI_API void igPushFocusScope(ImGuiID id);
|
||||
CIMGUI_API void igPopFocusScope(void);
|
||||
CIMGUI_API ImGuiID igGetCurrentFocusScope(void);
|
||||
@@ -4922,11 +4532,9 @@ CIMGUI_API ImGuiTabBar* igGetCurrentTabBar(void);
|
||||
CIMGUI_API bool igBeginTabBarEx(ImGuiTabBar* tab_bar,const ImRect bb,ImGuiTabBarFlags flags);
|
||||
CIMGUI_API ImGuiTabItem* igTabBarFindTabByID(ImGuiTabBar* tab_bar,ImGuiID tab_id);
|
||||
CIMGUI_API ImGuiTabItem* igTabBarFindTabByOrder(ImGuiTabBar* tab_bar,int order);
|
||||
CIMGUI_API ImGuiTabItem* igTabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBar* tab_bar);
|
||||
CIMGUI_API ImGuiTabItem* igTabBarGetCurrentTab(ImGuiTabBar* tab_bar);
|
||||
CIMGUI_API int igTabBarGetTabOrder(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
CIMGUI_API const char* igTabBarGetTabName(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
CIMGUI_API void igTabBarAddTab(ImGuiTabBar* tab_bar,ImGuiTabItemFlags tab_flags,ImGuiWindow* window);
|
||||
CIMGUI_API void igTabBarRemoveTab(ImGuiTabBar* tab_bar,ImGuiID tab_id);
|
||||
CIMGUI_API void igTabBarCloseTab(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
CIMGUI_API void igTabBarQueueFocus_TabItemPtr(ImGuiTabBar* tab_bar,ImGuiTabItem* tab);
|
||||
@@ -4955,10 +4563,8 @@ CIMGUI_API void igRenderArrow(ImDrawList* draw_list,ImVec2 pos,ImU32 col,ImGuiDi
|
||||
CIMGUI_API void igRenderBullet(ImDrawList* draw_list,ImVec2 pos,ImU32 col);
|
||||
CIMGUI_API void igRenderCheckMark(ImDrawList* draw_list,ImVec2 pos,ImU32 col,float sz);
|
||||
CIMGUI_API void igRenderArrowPointingAt(ImDrawList* draw_list,ImVec2 pos,ImVec2 half_sz,ImGuiDir direction,ImU32 col);
|
||||
CIMGUI_API void igRenderArrowDockMenu(ImDrawList* draw_list,ImVec2 p_min,float sz,ImU32 col);
|
||||
CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect rect,ImU32 col,float x_start_norm,float x_end_norm,float rounding);
|
||||
CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,const ImRect outer,const ImRect inner,ImU32 col,float rounding);
|
||||
CIMGUI_API ImDrawFlags igCalcRoundingFlagsForRectInRect(const ImRect r_in,const ImRect r_outer,float threshold);
|
||||
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags);
|
||||
CIMGUI_API bool igButtonEx(const char* label,const ImVec2 size_arg,ImGuiButtonFlags flags);
|
||||
CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags);
|
||||
@@ -4968,7 +4574,7 @@ CIMGUI_API void igSeparatorTextEx(ImGuiID id,const char* label,const char* label
|
||||
CIMGUI_API bool igCheckboxFlags_S64Ptr(const char* label,ImS64* flags,ImS64 flags_value);
|
||||
CIMGUI_API bool igCheckboxFlags_U64Ptr(const char* label,ImU64* flags,ImU64 flags_value);
|
||||
CIMGUI_API bool igCloseButton(ImGuiID id,const ImVec2 pos);
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock_node);
|
||||
CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos);
|
||||
CIMGUI_API void igScrollbar(ImGuiAxis axis);
|
||||
CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,ImS64* p_scroll_v,ImS64 avail_v,ImS64 contents_v,ImDrawFlags draw_rounding_flags);
|
||||
CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis);
|
||||
@@ -5031,7 +4637,6 @@ CIMGUI_API void igDebugBreakButtonTooltip(bool keyboard_only,const char* descrip
|
||||
CIMGUI_API void igShowFontAtlas(ImFontAtlas* atlas);
|
||||
CIMGUI_API void igDebugHookIdInfo(ImGuiID id,ImGuiDataType data_type,const void* data_id,const void* data_id_end);
|
||||
CIMGUI_API void igDebugNodeColumns(ImGuiOldColumns* columns);
|
||||
CIMGUI_API void igDebugNodeDockNode(ImGuiDockNode* node,const char* label);
|
||||
CIMGUI_API void igDebugNodeDrawList(ImGuiWindow* window,ImGuiViewportP* viewport,const ImDrawList* draw_list,const char* label);
|
||||
CIMGUI_API void igDebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list,const ImDrawList* draw_list,const ImDrawCmd* draw_cmd,bool show_mesh,bool show_aabb);
|
||||
CIMGUI_API void igDebugNodeFont(ImFont* font);
|
||||
@@ -5048,7 +4653,6 @@ CIMGUI_API void igDebugNodeWindowSettings(ImGuiWindowSettings* settings);
|
||||
CIMGUI_API void igDebugNodeWindowsList(ImVector_ImGuiWindowPtr* windows,const char* label);
|
||||
CIMGUI_API void igDebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows,int windows_size,ImGuiWindow* parent_in_begin_stack);
|
||||
CIMGUI_API void igDebugNodeViewport(ImGuiViewportP* viewport);
|
||||
CIMGUI_API void igDebugNodePlatformMonitor(ImGuiPlatformMonitor* monitor,const char* label,int idx);
|
||||
CIMGUI_API void igDebugRenderKeyboardPreview(ImDrawList* draw_list);
|
||||
CIMGUI_API void igDebugRenderViewportThumbnail(ImDrawList* draw_list,ImGuiViewportP* viewport,const ImRect bb);
|
||||
CIMGUI_API const ImFontBuilderIO* igImFontAtlasGetBuilderForStbTruetype(void);
|
||||
|
@@ -5,19 +5,34 @@
|
||||
#include "./imgui/imgui_internal.h"
|
||||
#include "cimgui.h"
|
||||
|
||||
#ifdef CIMGUI_USE_DX9
|
||||
#include "imgui_impl_dx9.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_DX10
|
||||
#include "imgui_impl_dx10.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_DX11
|
||||
#include "imgui_impl_dx11.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_DX12
|
||||
#include "imgui_impl_dx12.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_GLFW
|
||||
#include "imgui_impl_glfw.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_OPENGL3
|
||||
#include "imgui_impl_opengl3.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_OPENGL2
|
||||
#include "imgui_impl_opengl2.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_OPENGL3
|
||||
#include "imgui_impl_opengl3.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_SDL2
|
||||
#include "imgui_impl_sdl2.h"
|
||||
#endif
|
||||
@@ -30,6 +45,10 @@
|
||||
#include "imgui_impl_vulkan.h"
|
||||
#endif
|
||||
|
||||
#ifdef CIMGUI_USE_WIN32
|
||||
#include "imgui_impl_win32.h"
|
||||
#endif
|
||||
|
||||
#include "cimgui_impl.h"
|
||||
|
||||
#ifdef CIMGUI_USE_VULKAN
|
||||
|
@@ -161,6 +161,7 @@ struct ImGui_ImplVulkanH_Window
|
||||
VkSurfaceFormatKHR SurfaceFormat;
|
||||
VkPresentModeKHR PresentMode;
|
||||
VkRenderPass RenderPass;
|
||||
VkPipeline Pipeline;
|
||||
bool UseDynamicRendering;
|
||||
bool ClearEnable;
|
||||
VkClearValue ClearValue;
|
||||
@@ -186,13 +187,13 @@ CIMGUI_API void ImGui_ImplVulkan_SetMinImageCount(uint32_t min_image_count);
|
||||
CIMGUI_API VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler,VkImageView image_view,VkImageLayout image_layout);
|
||||
CIMGUI_API void ImGui_ImplVulkan_RemoveTexture(VkDescriptorSet descriptor_set);
|
||||
CIMGUI_API bool ImGui_ImplVulkan_LoadFunctions(uint32_t api_version,PFN_vkVoidFunction(*loader_func)(const char* function_name,void* user_data),void* user_data);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator);
|
||||
CIMGUI_API VkSurfaceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkFormat* request_formats,int request_formats_count,VkColorSpaceKHR request_color_space);
|
||||
CIMGUI_API VkPresentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device,VkSurfaceKHR surface,const VkPresentModeKHR* request_modes,int request_modes_count);
|
||||
CIMGUI_API VkPhysicalDevice ImGui_ImplVulkanH_SelectPhysicalDevice(VkInstance instance);
|
||||
CIMGUI_API uint32_t ImGui_ImplVulkanH_SelectQueueFamilyIndex(VkPhysicalDevice physical_device);
|
||||
CIMGUI_API int ImGui_ImplVulkanH_GetMinImageCountFromPresentMode(VkPresentModeKHR present_mode);
|
||||
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window(void);
|
||||
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window();
|
||||
|
||||
#endif
|
||||
|
@@ -1,23 +0,0 @@
|
||||
#include "./imgui/imgui.h"
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
#include "./imgui/misc/freetype/imgui_freetype.h"
|
||||
#endif
|
||||
#include "./imgui/imgui_internal.h"
|
||||
#include "cimgui.h"
|
||||
|
||||
GENERATED_PLACEHOLDER
|
||||
|
||||
#include "cimgui_impl.h"
|
||||
|
||||
#ifdef CIMGUI_USE_VULKAN
|
||||
|
||||
CIMGUI_API ImGui_ImplVulkanH_Window* ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window()
|
||||
{
|
||||
return IM_NEW(ImGui_ImplVulkanH_Window)();
|
||||
}
|
||||
CIMGUI_API void ImGui_ImplVulkanH_Window_Construct(ImGui_ImplVulkanH_Window* self)
|
||||
{
|
||||
IM_PLACEMENT_NEW(self) ImGui_ImplVulkanH_Window();
|
||||
}
|
||||
|
||||
#endif
|
@@ -2140,11 +2140,11 @@ function M.Parser()
|
||||
for k,v in pairs(self.alltypes) do print(k, typetoStr(k) ) end
|
||||
end
|
||||
function par:compute_overloads()
|
||||
-- if self.IMGUI_HAS_TEXTURES then
|
||||
-- print"----------replacing ImTextureID with ImTextureUserID"
|
||||
-- REPLACE_TEXTUREID(self)
|
||||
-- print"----------end replacing ImTextureID with ImTextureUserID"
|
||||
-- end
|
||||
if self.IMGUI_HAS_TEXTURES then
|
||||
print"----------replacing ImTextureID with ImTextureUserID"
|
||||
REPLACE_TEXTUREID(self)
|
||||
print"----------end replacing ImTextureID with ImTextureUserID"
|
||||
end
|
||||
ADDIMSTR_S(self)
|
||||
local strt = {}
|
||||
local numoverloaded = 0
|
||||
|
@@ -20,7 +20,7 @@ set PATH=%PATH%;C:\anima;C:\mingws\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\min
|
||||
:: examples: "" "internal" "internal comments"
|
||||
:: arg[3..n] name of implementations to generate and/or CFLAGS (e.g. -DIMGUI_USER_CONFIG)
|
||||
::-DIMGUI_USE_WCHAR32 should not be used (is discarded)
|
||||
luajit ./generator.lua gcc "internal noimstrv" glfw opengl3 opengl2 sdl2 sdl3 vulkan %*
|
||||
luajit ./generator.lua gcc "internal noimstrv" glfw opengl3 opengl2 sdl2 sdl3 vulkan -DIMGUI_USE_WCHAR32 %*
|
||||
|
||||
::leave console open
|
||||
cmd /k
|
||||
|
@@ -13,7 +13,6 @@ local CONSTRUCTORS_GENERATION = script_args[2]:match("constructors") and true or
|
||||
local NOCHAR = script_args[2]:match("nochar") and true or false
|
||||
local NOIMSTRV = script_args[2]:match("noimstrv") and true or false
|
||||
local IMGUI_PATH = os.getenv"IMGUI_PATH" or "../imgui"
|
||||
local CONFIG_GENERATOR_PATH = os.getenv"CONFIG_GENERATOR_PATH" or "./config_generator.lua"
|
||||
local CFLAGS = ""
|
||||
local CPRE,CTEST
|
||||
--get implementations
|
||||
@@ -92,10 +91,10 @@ local cimgui_skipped = {
|
||||
--desired name
|
||||
---------------------------------------------------------------------------
|
||||
local cimgui_overloads = {
|
||||
-- igGetIO = {
|
||||
-- ["()"] = "igGetIO",
|
||||
-- ["(ImGuiContext*)"] = "igGetIOEx",
|
||||
-- },
|
||||
igGetIO = {
|
||||
["()"] = "igGetIO",
|
||||
["(ImGuiContext*)"] = "igGetIOEx",
|
||||
},
|
||||
--igPushID = {
|
||||
--["(const char*)"] = "igPushIDStr",
|
||||
--["(const char*,const char*)"] = "igPushIDRange",
|
||||
@@ -129,7 +128,6 @@ local function func_header_impl_generate(FP)
|
||||
local cimf = FP.defsT[t.cimguiname]
|
||||
local def = cimf[t.signature]
|
||||
local addcoment = def.comment or ""
|
||||
local empty = def.args:match("^%(%)") --no args
|
||||
if def.constructor then
|
||||
-- only vulkan is manually created
|
||||
assert(def.ov_cimguiname=="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window" or
|
||||
@@ -141,6 +139,7 @@ local function func_header_impl_generate(FP)
|
||||
else
|
||||
|
||||
if def.stname == "" then --ImGui namespace or top level
|
||||
local empty = def.args:match("^%(%)") --no args
|
||||
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..def.ov_cimguiname..(empty and "(void)" or def.args)..";"..addcoment.."\n")
|
||||
else
|
||||
cpp2ffi.prtable(def)
|
||||
@@ -455,19 +454,11 @@ local parser2
|
||||
|
||||
if #implementations > 0 then
|
||||
print("------------------implementations generation with "..COMPILER.."------------------------")
|
||||
--parser2 for function defs
|
||||
--parser3 for separated structs and enums in cimgui_impl.h
|
||||
parser2 = cpp2ffi.Parser()
|
||||
|
||||
local config = dofile(CONFIG_GENERATOR_PATH) --"./config_generator.lua"
|
||||
local config = require"config_generator"
|
||||
local impl_str = ""
|
||||
local impl_str_cpp = {}
|
||||
for i,impl in ipairs(implementations) do
|
||||
print("------------implementation:",impl)
|
||||
table.insert(impl_str_cpp, "\n#ifdef CIMGUI_USE_" .. string.upper(impl))
|
||||
table.insert(impl_str_cpp, [[#include "imgui_impl_]]..impl..[[.h"]])
|
||||
table.insert(impl_str_cpp, "#endif")
|
||||
|
||||
local source = backends_folder .. [[imgui_impl_]].. impl .. ".h "
|
||||
local locati = [[imgui_impl_]].. impl
|
||||
|
||||
@@ -481,11 +472,11 @@ if #implementations > 0 then
|
||||
extra_includes = extra_includes .. include_cmd .. inc .. " "
|
||||
end
|
||||
end
|
||||
parser2.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
||||
parser2.cimgui_inherited = dofile([[../../cimgui/generator/output/structs_and_enums.lua]])
|
||||
local defines = parser2:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||
|
||||
local parser3 = cpp2ffi.Parser()
|
||||
parser3.cimgui_inherited = dofile([[./output/structs_and_enums.lua]])
|
||||
parser3.cimgui_inherited = dofile([[../../cimgui/generator/output/structs_and_enums.lua]])
|
||||
parser3:take_lines(CPRE..extra_defines..extra_includes..source, {locati}, COMPILER)
|
||||
parser3:do_parse()
|
||||
local cfuncsstr = func_header_impl_generate(parser3)
|
||||
@@ -504,15 +495,15 @@ if #implementations > 0 then
|
||||
end
|
||||
|
||||
parser2:do_parse()
|
||||
|
||||
-- save ./cimgui_impl.h
|
||||
--local cfuncsstr = func_header_impl_generate(parser2)
|
||||
--local cstructstr1,cstructstr2 = parser2.structs_and_enums[1], parser2.structs_and_enums[2]
|
||||
--save_data("./output/cimgui_impl.h",cstructstr1,cstructstr2,cfuncsstr)
|
||||
save_data("./output/cimgui_impl.h",impl_str)
|
||||
|
||||
----------save fundefs in impl_definitions.lua for using in bindings
|
||||
save_data("./output/impl_definitions.lua",serializeTableF(parser2.defsT))
|
||||
--impl cpp
|
||||
impl_str_cpp = table.concat(impl_str_cpp, "\n")
|
||||
local cppstr = read_data"./cimgui_impl_template.cpp"
|
||||
cppstr = cppstr:gsub("GENERATED_PLACEHOLDER", impl_str_cpp)
|
||||
save_data("./output/cimgui_impl.cpp",cppstr)
|
||||
|
||||
end -- #implementations > 0 then
|
||||
|
||||
@@ -545,10 +536,8 @@ end
|
||||
-------------------copy C files to repo root
|
||||
copyfile("./output/cimgui.h", "../cimgui.h")
|
||||
copyfile("./output/cimgui_impl.h", "../cimgui_impl.h")
|
||||
copyfile("./output/cimgui_impl.cpp", "../cimgui_impl.cpp")
|
||||
copyfile("./output/cimgui.cpp", "../cimgui.cpp")
|
||||
os.remove("./output/cimgui.h")
|
||||
os.remove("./output/cimgui_impl.h")
|
||||
os.remove("./output/cimgui_impl.cpp")
|
||||
os.remove("./output/cimgui.cpp")
|
||||
print"all done!!"
|
||||
|
@@ -25,7 +25,7 @@
|
||||
POSITIONAL_ARGS=()
|
||||
|
||||
TARGETS="internal noimstrv"
|
||||
CFLAGS="glfw opengl3 opengl2 sdl2 sdl3 vulkan"
|
||||
CFLAGS="glfw opengl3 opengl2 sdl2 sdl3"
|
||||
|
||||
help() {
|
||||
cat <<EOF
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_CharCallback",
|
||||
"location": "imgui_impl_glfw:63",
|
||||
"location": "imgui_impl_glfw:60",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,unsigned int)",
|
||||
@@ -42,7 +42,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||
"location": "imgui_impl_glfw:58",
|
||||
"location": "imgui_impl_glfw:55",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CursorEnterCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int)",
|
||||
@@ -71,7 +71,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||
"location": "imgui_impl_glfw:59",
|
||||
"location": "imgui_impl_glfw:56",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_CursorPosCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,double,double)",
|
||||
@@ -96,7 +96,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"location": "imgui_impl_glfw:34",
|
||||
"location": "imgui_impl_glfw:31",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@@ -121,7 +121,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForOther",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InitForOther",
|
||||
"location": "imgui_impl_glfw:36",
|
||||
"location": "imgui_impl_glfw:33",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForOther",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@@ -146,7 +146,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"location": "imgui_impl_glfw:35",
|
||||
"location": "imgui_impl_glfw:32",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
|
||||
"ret": "bool",
|
||||
"signature": "(GLFWwindow*,bool)",
|
||||
@@ -167,7 +167,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||
"location": "imgui_impl_glfw:49",
|
||||
"location": "imgui_impl_glfw:46",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_InstallCallbacks",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*)",
|
||||
@@ -204,7 +204,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"location": "imgui_impl_glfw:62",
|
||||
"location": "imgui_impl_glfw:59",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int,int,int,int)",
|
||||
@@ -229,7 +229,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_MonitorCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_MonitorCallback",
|
||||
"location": "imgui_impl_glfw:64",
|
||||
"location": "imgui_impl_glfw:61",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_MonitorCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWmonitor*,int)",
|
||||
@@ -262,7 +262,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"location": "imgui_impl_glfw:60",
|
||||
"location": "imgui_impl_glfw:57",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int,int,int)",
|
||||
@@ -278,7 +278,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_NewFrame",
|
||||
"location": "imgui_impl_glfw:38",
|
||||
"location": "imgui_impl_glfw:35",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -299,7 +299,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||
"location": "imgui_impl_glfw:50",
|
||||
"location": "imgui_impl_glfw:47",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_RestoreCallbacks",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*)",
|
||||
@@ -328,7 +328,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"location": "imgui_impl_glfw:61",
|
||||
"location": "imgui_impl_glfw:58",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,double,double)",
|
||||
@@ -349,7 +349,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
"location": "imgui_impl_glfw:54",
|
||||
"location": "imgui_impl_glfw:51",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
"ret": "void",
|
||||
"signature": "(bool)",
|
||||
@@ -365,7 +365,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_Shutdown",
|
||||
"location": "imgui_impl_glfw:37",
|
||||
"location": "imgui_impl_glfw:34",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -386,7 +386,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_Sleep",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_Sleep",
|
||||
"location": "imgui_impl_glfw:67",
|
||||
"location": "imgui_impl_glfw:64",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_Sleep",
|
||||
"ret": "void",
|
||||
"signature": "(int)",
|
||||
@@ -411,7 +411,7 @@
|
||||
"cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||
"location": "imgui_impl_glfw:57",
|
||||
"location": "imgui_impl_glfw:54",
|
||||
"ov_cimguiname": "ImGui_ImplGlfw_WindowFocusCallback",
|
||||
"ret": "void",
|
||||
"signature": "(GLFWwindow*,int)",
|
||||
@@ -427,7 +427,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl2:39",
|
||||
"location": "imgui_impl_opengl2:38",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -443,7 +443,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
"location": "imgui_impl_opengl2:37",
|
||||
"location": "imgui_impl_opengl2:36",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -459,7 +459,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl2:40",
|
||||
"location": "imgui_impl_opengl2:39",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -475,7 +475,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
"location": "imgui_impl_opengl2:38",
|
||||
"location": "imgui_impl_opengl2:37",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -491,7 +491,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_Init",
|
||||
"location": "imgui_impl_opengl2:31",
|
||||
"location": "imgui_impl_opengl2:30",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -507,7 +507,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"location": "imgui_impl_opengl2:33",
|
||||
"location": "imgui_impl_opengl2:32",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -528,7 +528,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"location": "imgui_impl_opengl2:34",
|
||||
"location": "imgui_impl_opengl2:33",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@@ -544,7 +544,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"location": "imgui_impl_opengl2:32",
|
||||
"location": "imgui_impl_opengl2:31",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -560,7 +560,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"location": "imgui_impl_opengl3:42",
|
||||
"location": "imgui_impl_opengl3:41",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -576,7 +576,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
"location": "imgui_impl_opengl3:40",
|
||||
"location": "imgui_impl_opengl3:39",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -592,7 +592,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"location": "imgui_impl_opengl3:43",
|
||||
"location": "imgui_impl_opengl3:42",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -608,7 +608,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
"location": "imgui_impl_opengl3:41",
|
||||
"location": "imgui_impl_opengl3:40",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -631,7 +631,7 @@
|
||||
"glsl_version": "nullptr"
|
||||
},
|
||||
"funcname": "ImGui_ImplOpenGL3_Init",
|
||||
"location": "imgui_impl_opengl3:34",
|
||||
"location": "imgui_impl_opengl3:33",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(const char*)",
|
||||
@@ -647,7 +647,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"location": "imgui_impl_opengl3:36",
|
||||
"location": "imgui_impl_opengl3:35",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -668,7 +668,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"location": "imgui_impl_opengl3:37",
|
||||
"location": "imgui_impl_opengl3:36",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*)",
|
||||
@@ -684,7 +684,7 @@
|
||||
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"location": "imgui_impl_opengl3:35",
|
||||
"location": "imgui_impl_opengl3:34",
|
||||
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -705,7 +705,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*)",
|
||||
@@ -726,7 +726,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*)",
|
||||
@@ -751,7 +751,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*)",
|
||||
@@ -772,7 +772,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*)",
|
||||
@@ -797,7 +797,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*)",
|
||||
@@ -818,7 +818,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*)",
|
||||
@@ -834,7 +834,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": "()",
|
||||
@@ -855,7 +855,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*)",
|
||||
@@ -887,7 +887,7 @@
|
||||
"manual_gamepads_count": "-1"
|
||||
},
|
||||
"funcname": "ImGui_ImplSDL2_SetGamepadMode",
|
||||
"location": "imgui_impl_sdl2:48",
|
||||
"location": "imgui_impl_sdl2:44",
|
||||
"ov_cimguiname": "ImGui_ImplSDL2_SetGamepadMode",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
|
||||
@@ -903,7 +903,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": "()",
|
||||
@@ -924,7 +924,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*)",
|
||||
@@ -945,7 +945,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*)",
|
||||
@@ -970,7 +970,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*)",
|
||||
@@ -991,7 +991,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*)",
|
||||
@@ -1012,7 +1012,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*)",
|
||||
@@ -1037,7 +1037,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*)",
|
||||
@@ -1058,7 +1058,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*)",
|
||||
@@ -1074,7 +1074,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": "()",
|
||||
@@ -1095,7 +1095,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*)",
|
||||
@@ -1127,7 +1127,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)",
|
||||
@@ -1143,7 +1143,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": "()",
|
||||
@@ -1152,7 +1152,7 @@
|
||||
],
|
||||
"ImGui_ImplVulkanH_CreateOrResizeWindow": [
|
||||
{
|
||||
"args": "(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)",
|
||||
"args": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "instance",
|
||||
@@ -1167,7 +1167,7 @@
|
||||
"type": "VkDevice"
|
||||
},
|
||||
{
|
||||
"name": "wd",
|
||||
"name": "wnd",
|
||||
"type": "ImGui_ImplVulkanH_Window*"
|
||||
},
|
||||
{
|
||||
@@ -1191,12 +1191,12 @@
|
||||
"type": "uint32_t"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
|
||||
"call_args": "(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count)",
|
||||
"argsoriginal": "(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
|
||||
"call_args": "(instance,physical_device,device,wnd,queue_family,allocator,w,h,min_image_count)",
|
||||
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"location": "imgui_impl_vulkan:166",
|
||||
"location": "imgui_impl_vulkan:165",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)",
|
||||
@@ -1205,7 +1205,7 @@
|
||||
],
|
||||
"ImGui_ImplVulkanH_DestroyWindow": [
|
||||
{
|
||||
"args": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
||||
"args": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
|
||||
"argsT": [
|
||||
{
|
||||
"name": "instance",
|
||||
@@ -1216,7 +1216,7 @@
|
||||
"type": "VkDevice"
|
||||
},
|
||||
{
|
||||
"name": "wd",
|
||||
"name": "wnd",
|
||||
"type": "ImGui_ImplVulkanH_Window*"
|
||||
},
|
||||
{
|
||||
@@ -1224,12 +1224,12 @@
|
||||
"type": "const VkAllocationCallbacks*"
|
||||
}
|
||||
],
|
||||
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
||||
"call_args": "(instance,device,wd,allocator)",
|
||||
"argsoriginal": "(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
|
||||
"call_args": "(instance,device,wnd,allocator)",
|
||||
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"location": "imgui_impl_vulkan:167",
|
||||
"location": "imgui_impl_vulkan:166",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1250,7 +1250,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"location": "imgui_impl_vulkan:172",
|
||||
"location": "imgui_impl_vulkan:171",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"ret": "int",
|
||||
"signature": "(VkPresentModeKHR)",
|
||||
@@ -1271,7 +1271,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"location": "imgui_impl_vulkan:170",
|
||||
"location": "imgui_impl_vulkan:169",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"ret": "VkPhysicalDevice",
|
||||
"signature": "(VkInstance)",
|
||||
@@ -1304,7 +1304,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"location": "imgui_impl_vulkan:169",
|
||||
"location": "imgui_impl_vulkan:168",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"ret": "VkPresentModeKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1325,7 +1325,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"location": "imgui_impl_vulkan:171",
|
||||
"location": "imgui_impl_vulkan:170",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"ret": "uint32_t",
|
||||
"signature": "(VkPhysicalDevice)",
|
||||
@@ -1362,7 +1362,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"location": "imgui_impl_vulkan:168",
|
||||
"location": "imgui_impl_vulkan:167",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"ret": "VkSurfaceFormatKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1427,7 +1427,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_AddTexture",
|
||||
"location": "imgui_impl_vulkan:123",
|
||||
"location": "imgui_impl_vulkan:122",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"ret": "VkDescriptorSet",
|
||||
"signature": "(VkSampler,VkImageView,VkImageLayout)",
|
||||
@@ -1443,7 +1443,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_CreateFontsTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_CreateFontsTexture",
|
||||
"location": "imgui_impl_vulkan:116",
|
||||
"location": "imgui_impl_vulkan:115",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_CreateFontsTexture",
|
||||
"ret": "bool",
|
||||
"signature": "()",
|
||||
@@ -1459,7 +1459,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_DestroyFontsTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_DestroyFontsTexture",
|
||||
"location": "imgui_impl_vulkan:117",
|
||||
"location": "imgui_impl_vulkan:116",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_DestroyFontsTexture",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1480,7 +1480,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Init",
|
||||
"location": "imgui_impl_vulkan:112",
|
||||
"location": "imgui_impl_vulkan:111",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1511,7 +1511,7 @@
|
||||
"user_data": "nullptr"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"location": "imgui_impl_vulkan:128",
|
||||
"location": "imgui_impl_vulkan:127",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"ret": "bool",
|
||||
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1527,7 +1527,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_NewFrame",
|
||||
"location": "imgui_impl_vulkan:114",
|
||||
"location": "imgui_impl_vulkan:113",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1548,7 +1548,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"location": "imgui_impl_vulkan:124",
|
||||
"location": "imgui_impl_vulkan:123",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"ret": "void",
|
||||
"signature": "(VkDescriptorSet)",
|
||||
@@ -1579,7 +1579,7 @@
|
||||
"pipeline": "0ULL"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"location": "imgui_impl_vulkan:115",
|
||||
"location": "imgui_impl_vulkan:114",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1600,7 +1600,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"location": "imgui_impl_vulkan:118",
|
||||
"location": "imgui_impl_vulkan:117",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"ret": "void",
|
||||
"signature": "(uint32_t)",
|
||||
@@ -1616,7 +1616,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Shutdown",
|
||||
"location": "imgui_impl_vulkan:113",
|
||||
"location": "imgui_impl_vulkan:112",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
|
@@ -14,7 +14,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_CharCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_CharCallback",
|
||||
location="imgui_impl_glfw:63",
|
||||
location="imgui_impl_glfw:60",
|
||||
ov_cimguiname="ImGui_ImplGlfw_CharCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,unsigned int)",
|
||||
@@ -35,7 +35,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||
location="imgui_impl_glfw:58",
|
||||
location="imgui_impl_glfw:55",
|
||||
ov_cimguiname="ImGui_ImplGlfw_CursorEnterCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int)",
|
||||
@@ -59,7 +59,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_CursorPosCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_CursorPosCallback",
|
||||
location="imgui_impl_glfw:59",
|
||||
location="imgui_impl_glfw:56",
|
||||
ov_cimguiname="ImGui_ImplGlfw_CursorPosCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,double,double)",
|
||||
@@ -80,7 +80,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InitForOpenGL",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InitForOpenGL",
|
||||
location="imgui_impl_glfw:34",
|
||||
location="imgui_impl_glfw:31",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InitForOpenGL",
|
||||
ret="bool",
|
||||
signature="(GLFWwindow*,bool)",
|
||||
@@ -101,7 +101,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InitForOther",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InitForOther",
|
||||
location="imgui_impl_glfw:36",
|
||||
location="imgui_impl_glfw:33",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InitForOther",
|
||||
ret="bool",
|
||||
signature="(GLFWwindow*,bool)",
|
||||
@@ -122,7 +122,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InitForVulkan",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InitForVulkan",
|
||||
location="imgui_impl_glfw:35",
|
||||
location="imgui_impl_glfw:32",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InitForVulkan",
|
||||
ret="bool",
|
||||
signature="(GLFWwindow*,bool)",
|
||||
@@ -140,7 +140,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_InstallCallbacks",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_InstallCallbacks",
|
||||
location="imgui_impl_glfw:49",
|
||||
location="imgui_impl_glfw:46",
|
||||
ov_cimguiname="ImGui_ImplGlfw_InstallCallbacks",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*)",
|
||||
@@ -170,7 +170,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_KeyCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_KeyCallback",
|
||||
location="imgui_impl_glfw:62",
|
||||
location="imgui_impl_glfw:59",
|
||||
ov_cimguiname="ImGui_ImplGlfw_KeyCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int,int,int,int)",
|
||||
@@ -191,7 +191,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_MonitorCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_MonitorCallback",
|
||||
location="imgui_impl_glfw:64",
|
||||
location="imgui_impl_glfw:61",
|
||||
ov_cimguiname="ImGui_ImplGlfw_MonitorCallback",
|
||||
ret="void",
|
||||
signature="(GLFWmonitor*,int)",
|
||||
@@ -218,7 +218,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||
location="imgui_impl_glfw:60",
|
||||
location="imgui_impl_glfw:57",
|
||||
ov_cimguiname="ImGui_ImplGlfw_MouseButtonCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int,int,int)",
|
||||
@@ -233,7 +233,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_NewFrame",
|
||||
location="imgui_impl_glfw:38",
|
||||
location="imgui_impl_glfw:35",
|
||||
ov_cimguiname="ImGui_ImplGlfw_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -251,7 +251,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||
location="imgui_impl_glfw:50",
|
||||
location="imgui_impl_glfw:47",
|
||||
ov_cimguiname="ImGui_ImplGlfw_RestoreCallbacks",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*)",
|
||||
@@ -275,7 +275,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_ScrollCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_ScrollCallback",
|
||||
location="imgui_impl_glfw:61",
|
||||
location="imgui_impl_glfw:58",
|
||||
ov_cimguiname="ImGui_ImplGlfw_ScrollCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,double,double)",
|
||||
@@ -293,7 +293,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
location="imgui_impl_glfw:54",
|
||||
location="imgui_impl_glfw:51",
|
||||
ov_cimguiname="ImGui_ImplGlfw_SetCallbacksChainForAllWindows",
|
||||
ret="void",
|
||||
signature="(bool)",
|
||||
@@ -308,7 +308,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_Shutdown",
|
||||
location="imgui_impl_glfw:37",
|
||||
location="imgui_impl_glfw:34",
|
||||
ov_cimguiname="ImGui_ImplGlfw_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -326,7 +326,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_Sleep",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_Sleep",
|
||||
location="imgui_impl_glfw:67",
|
||||
location="imgui_impl_glfw:64",
|
||||
ov_cimguiname="ImGui_ImplGlfw_Sleep",
|
||||
ret="void",
|
||||
signature="(int)",
|
||||
@@ -347,7 +347,7 @@ local t={
|
||||
cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||
location="imgui_impl_glfw:57",
|
||||
location="imgui_impl_glfw:54",
|
||||
ov_cimguiname="ImGui_ImplGlfw_WindowFocusCallback",
|
||||
ret="void",
|
||||
signature="(GLFWwindow*,int)",
|
||||
@@ -362,7 +362,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
location="imgui_impl_opengl2:39",
|
||||
location="imgui_impl_opengl2:38",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_CreateDeviceObjects",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -377,7 +377,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
location="imgui_impl_opengl2:37",
|
||||
location="imgui_impl_opengl2:36",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_CreateFontsTexture",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -392,7 +392,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
location="imgui_impl_opengl2:40",
|
||||
location="imgui_impl_opengl2:39",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_DestroyDeviceObjects",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -407,7 +407,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
location="imgui_impl_opengl2:38",
|
||||
location="imgui_impl_opengl2:37",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_DestroyFontsTexture",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -422,7 +422,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_Init",
|
||||
location="imgui_impl_opengl2:31",
|
||||
location="imgui_impl_opengl2:30",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_Init",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -437,7 +437,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_NewFrame",
|
||||
location="imgui_impl_opengl2:33",
|
||||
location="imgui_impl_opengl2:32",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -455,7 +455,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
location="imgui_impl_opengl2:34",
|
||||
location="imgui_impl_opengl2:33",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*)",
|
||||
@@ -470,7 +470,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL2_Shutdown",
|
||||
location="imgui_impl_opengl2:32",
|
||||
location="imgui_impl_opengl2:31",
|
||||
ov_cimguiname="ImGui_ImplOpenGL2_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -485,7 +485,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
location="imgui_impl_opengl3:42",
|
||||
location="imgui_impl_opengl3:41",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_CreateDeviceObjects",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -500,7 +500,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
location="imgui_impl_opengl3:40",
|
||||
location="imgui_impl_opengl3:39",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_CreateFontsTexture",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -515,7 +515,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
location="imgui_impl_opengl3:43",
|
||||
location="imgui_impl_opengl3:42",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_DestroyDeviceObjects",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -530,7 +530,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
location="imgui_impl_opengl3:41",
|
||||
location="imgui_impl_opengl3:40",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_DestroyFontsTexture",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -549,7 +549,7 @@ local t={
|
||||
defaults={
|
||||
glsl_version="nullptr"},
|
||||
funcname="ImGui_ImplOpenGL3_Init",
|
||||
location="imgui_impl_opengl3:34",
|
||||
location="imgui_impl_opengl3:33",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_Init",
|
||||
ret="bool",
|
||||
signature="(const char*)",
|
||||
@@ -564,7 +564,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_NewFrame",
|
||||
location="imgui_impl_opengl3:36",
|
||||
location="imgui_impl_opengl3:35",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -582,7 +582,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||
location="imgui_impl_opengl3:37",
|
||||
location="imgui_impl_opengl3:36",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*)",
|
||||
@@ -597,7 +597,7 @@ local t={
|
||||
cimguiname="ImGui_ImplOpenGL3_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplOpenGL3_Shutdown",
|
||||
location="imgui_impl_opengl3:35",
|
||||
location="imgui_impl_opengl3:34",
|
||||
ov_cimguiname="ImGui_ImplOpenGL3_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -615,7 +615,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*)",
|
||||
@@ -633,7 +633,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*)",
|
||||
@@ -654,7 +654,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*)",
|
||||
@@ -672,7 +672,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*)",
|
||||
@@ -693,7 +693,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*)",
|
||||
@@ -711,7 +711,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*)",
|
||||
@@ -726,7 +726,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="()",
|
||||
@@ -744,7 +744,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*)",
|
||||
@@ -770,7 +770,7 @@ local t={
|
||||
manual_gamepads_array="nullptr",
|
||||
manual_gamepads_count="-1"},
|
||||
funcname="ImGui_ImplSDL2_SetGamepadMode",
|
||||
location="imgui_impl_sdl2:48",
|
||||
location="imgui_impl_sdl2:44",
|
||||
ov_cimguiname="ImGui_ImplSDL2_SetGamepadMode",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplSDL2_GamepadMode,struct _SDL_GameController**,int)",
|
||||
@@ -785,7 +785,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="()",
|
||||
@@ -803,7 +803,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*)",
|
||||
@@ -821,7 +821,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*)",
|
||||
@@ -842,7 +842,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*)",
|
||||
@@ -860,7 +860,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*)",
|
||||
@@ -878,7 +878,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*)",
|
||||
@@ -899,7 +899,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*)",
|
||||
@@ -917,7 +917,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*)",
|
||||
@@ -932,7 +932,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="()",
|
||||
@@ -950,7 +950,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*)",
|
||||
@@ -976,7 +976,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)",
|
||||
@@ -991,7 +991,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="()",
|
||||
@@ -999,7 +999,7 @@ local t={
|
||||
["()"]=nil},
|
||||
ImGui_ImplVulkanH_CreateOrResizeWindow={
|
||||
[1]={
|
||||
args="(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)",
|
||||
args="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
|
||||
argsT={
|
||||
[1]={
|
||||
name="instance",
|
||||
@@ -1011,7 +1011,7 @@ local t={
|
||||
name="device",
|
||||
type="VkDevice"},
|
||||
[4]={
|
||||
name="wd",
|
||||
name="wnd",
|
||||
type="ImGui_ImplVulkanH_Window*"},
|
||||
[5]={
|
||||
name="queue_family",
|
||||
@@ -1028,12 +1028,12 @@ local t={
|
||||
[9]={
|
||||
name="min_image_count",
|
||||
type="uint32_t"}},
|
||||
argsoriginal="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
|
||||
call_args="(instance,physical_device,device,wd,queue_family,allocator,w,h,min_image_count)",
|
||||
argsoriginal="(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wnd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count)",
|
||||
call_args="(instance,physical_device,device,wnd,queue_family,allocator,w,h,min_image_count)",
|
||||
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
location="imgui_impl_vulkan:166",
|
||||
location="imgui_impl_vulkan:165",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)",
|
||||
@@ -1041,7 +1041,7 @@ local t={
|
||||
["(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t)"]=nil},
|
||||
ImGui_ImplVulkanH_DestroyWindow={
|
||||
[1]={
|
||||
args="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
||||
args="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
|
||||
argsT={
|
||||
[1]={
|
||||
name="instance",
|
||||
@@ -1050,17 +1050,17 @@ local t={
|
||||
name="device",
|
||||
type="VkDevice"},
|
||||
[3]={
|
||||
name="wd",
|
||||
name="wnd",
|
||||
type="ImGui_ImplVulkanH_Window*"},
|
||||
[4]={
|
||||
name="allocator",
|
||||
type="const VkAllocationCallbacks*"}},
|
||||
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator)",
|
||||
call_args="(instance,device,wd,allocator)",
|
||||
argsoriginal="(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wnd,const VkAllocationCallbacks* allocator)",
|
||||
call_args="(instance,device,wnd,allocator)",
|
||||
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
location="imgui_impl_vulkan:167",
|
||||
location="imgui_impl_vulkan:166",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1078,7 +1078,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
location="imgui_impl_vulkan:172",
|
||||
location="imgui_impl_vulkan:171",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
ret="int",
|
||||
signature="(VkPresentModeKHR)",
|
||||
@@ -1096,7 +1096,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
location="imgui_impl_vulkan:170",
|
||||
location="imgui_impl_vulkan:169",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
ret="VkPhysicalDevice",
|
||||
signature="(VkInstance)",
|
||||
@@ -1123,7 +1123,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
location="imgui_impl_vulkan:169",
|
||||
location="imgui_impl_vulkan:168",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
ret="VkPresentModeKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1141,7 +1141,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
location="imgui_impl_vulkan:171",
|
||||
location="imgui_impl_vulkan:170",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
ret="uint32_t",
|
||||
signature="(VkPhysicalDevice)",
|
||||
@@ -1171,7 +1171,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
location="imgui_impl_vulkan:168",
|
||||
location="imgui_impl_vulkan:167",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
ret="VkSurfaceFormatKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1227,7 +1227,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_AddTexture",
|
||||
location="imgui_impl_vulkan:123",
|
||||
location="imgui_impl_vulkan:122",
|
||||
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
ret="VkDescriptorSet",
|
||||
signature="(VkSampler,VkImageView,VkImageLayout)",
|
||||
@@ -1242,7 +1242,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_CreateFontsTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_CreateFontsTexture",
|
||||
location="imgui_impl_vulkan:116",
|
||||
location="imgui_impl_vulkan:115",
|
||||
ov_cimguiname="ImGui_ImplVulkan_CreateFontsTexture",
|
||||
ret="bool",
|
||||
signature="()",
|
||||
@@ -1257,7 +1257,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_DestroyFontsTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_DestroyFontsTexture",
|
||||
location="imgui_impl_vulkan:117",
|
||||
location="imgui_impl_vulkan:116",
|
||||
ov_cimguiname="ImGui_ImplVulkan_DestroyFontsTexture",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1275,7 +1275,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Init",
|
||||
location="imgui_impl_vulkan:112",
|
||||
location="imgui_impl_vulkan:111",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Init",
|
||||
ret="bool",
|
||||
signature="(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1300,7 +1300,7 @@ local t={
|
||||
defaults={
|
||||
user_data="nullptr"},
|
||||
funcname="ImGui_ImplVulkan_LoadFunctions",
|
||||
location="imgui_impl_vulkan:128",
|
||||
location="imgui_impl_vulkan:127",
|
||||
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
||||
ret="bool",
|
||||
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1315,7 +1315,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_NewFrame",
|
||||
location="imgui_impl_vulkan:114",
|
||||
location="imgui_impl_vulkan:113",
|
||||
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1333,7 +1333,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_RemoveTexture",
|
||||
location="imgui_impl_vulkan:124",
|
||||
location="imgui_impl_vulkan:123",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
ret="void",
|
||||
signature="(VkDescriptorSet)",
|
||||
@@ -1358,7 +1358,7 @@ local t={
|
||||
defaults={
|
||||
pipeline="0ULL"},
|
||||
funcname="ImGui_ImplVulkan_RenderDrawData",
|
||||
location="imgui_impl_vulkan:115",
|
||||
location="imgui_impl_vulkan:114",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1376,7 +1376,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
location="imgui_impl_vulkan:118",
|
||||
location="imgui_impl_vulkan:117",
|
||||
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
ret="void",
|
||||
signature="(uint32_t)",
|
||||
@@ -1391,7 +1391,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Shutdown",
|
||||
location="imgui_impl_vulkan:113",
|
||||
location="imgui_impl_vulkan:112",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
|
@@ -108,13 +108,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*)
|
||||
@@ -124,8 +128,8 @@ igGetIDWithSeed 2
|
||||
1 ImGuiID igGetIDWithSeed_Str (const char*,const char*,ImGuiID)
|
||||
2 ImGuiID igGetIDWithSeed_Int (int,ImGuiID)
|
||||
igGetIO 2
|
||||
1 ImGuiIO* igGetIO_Nil ()
|
||||
2 ImGuiIO* igGetIO_ContextPtr (ImGuiContext*)
|
||||
1 ImGuiIO* igGetIO ()
|
||||
2 ImGuiIO* igGetIOEx (ImGuiContext*)
|
||||
igGetKeyData 2
|
||||
1 ImGuiKeyData* igGetKeyData_ContextPtr (ImGuiContext*,ImGuiKey)
|
||||
2 ImGuiKeyData* igGetKeyData_Key (ImGuiKey)
|
||||
@@ -299,4 +303,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*)
|
||||
209 overloaded
|
||||
212 overloaded
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -40,7 +40,6 @@
|
||||
"ImGuiContext": "struct ImGuiContext",
|
||||
"ImGuiContextHook": "struct ImGuiContextHook",
|
||||
"ImGuiContextHookCallback": "void (*)(ImGuiContext* ctx, ImGuiContextHook* hook);",
|
||||
"ImGuiDataAuthority": "int",
|
||||
"ImGuiDataType": "int",
|
||||
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
|
||||
"ImGuiDataTypeStorage": "struct ImGuiDataTypeStorage",
|
||||
@@ -48,11 +47,6 @@
|
||||
"ImGuiDebugAllocEntry": "struct ImGuiDebugAllocEntry",
|
||||
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
||||
"ImGuiDebugLogFlags": "int",
|
||||
"ImGuiDockContext": "struct ImGuiDockContext",
|
||||
"ImGuiDockNode": "struct ImGuiDockNode",
|
||||
"ImGuiDockNodeFlags": "int",
|
||||
"ImGuiDockNodeSettings": "struct ImGuiDockNodeSettings",
|
||||
"ImGuiDockRequest": "struct ImGuiDockRequest",
|
||||
"ImGuiDragDropFlags": "int",
|
||||
"ImGuiErrorCallback": "void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
|
||||
"ImGuiErrorRecoveryState": "struct ImGuiErrorRecoveryState",
|
||||
@@ -69,7 +63,6 @@
|
||||
"ImGuiInputEventKey": "struct ImGuiInputEventKey",
|
||||
"ImGuiInputEventMouseButton": "struct ImGuiInputEventMouseButton",
|
||||
"ImGuiInputEventMousePos": "struct ImGuiInputEventMousePos",
|
||||
"ImGuiInputEventMouseViewport": "struct ImGuiInputEventMouseViewport",
|
||||
"ImGuiInputEventMouseWheel": "struct ImGuiInputEventMouseWheel",
|
||||
"ImGuiInputEventText": "struct ImGuiInputEventText",
|
||||
"ImGuiInputFlags": "int",
|
||||
@@ -118,7 +111,6 @@
|
||||
"ImGuiPayload": "struct ImGuiPayload",
|
||||
"ImGuiPlatformIO": "struct ImGuiPlatformIO",
|
||||
"ImGuiPlatformImeData": "struct ImGuiPlatformImeData",
|
||||
"ImGuiPlatformMonitor": "struct ImGuiPlatformMonitor",
|
||||
"ImGuiPopupData": "struct ImGuiPopupData",
|
||||
"ImGuiPopupFlags": "int",
|
||||
"ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex",
|
||||
@@ -177,8 +169,6 @@
|
||||
"ImGuiViewportFlags": "int",
|
||||
"ImGuiViewportP": "struct ImGuiViewportP",
|
||||
"ImGuiWindow": "struct ImGuiWindow",
|
||||
"ImGuiWindowClass": "struct ImGuiWindowClass",
|
||||
"ImGuiWindowDockStyle": "struct ImGuiWindowDockStyle",
|
||||
"ImGuiWindowFlags": "int",
|
||||
"ImGuiWindowRefreshFlags": "int",
|
||||
"ImGuiWindowSettings": "struct ImGuiWindowSettings",
|
||||
|
@@ -40,7 +40,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",
|
||||
@@ -48,11 +47,6 @@ local t={
|
||||
ImGuiDebugAllocEntry="struct ImGuiDebugAllocEntry",
|
||||
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
|
||||
ImGuiDebugLogFlags="int",
|
||||
ImGuiDockContext="struct ImGuiDockContext",
|
||||
ImGuiDockNode="struct ImGuiDockNode",
|
||||
ImGuiDockNodeFlags="int",
|
||||
ImGuiDockNodeSettings="struct ImGuiDockNodeSettings",
|
||||
ImGuiDockRequest="struct ImGuiDockRequest",
|
||||
ImGuiDragDropFlags="int",
|
||||
ImGuiErrorCallback="void (*)(ImGuiContext* ctx, void* user_data, const char* msg);",
|
||||
ImGuiErrorRecoveryState="struct ImGuiErrorRecoveryState",
|
||||
@@ -69,7 +63,6 @@ local t={
|
||||
ImGuiInputEventKey="struct ImGuiInputEventKey",
|
||||
ImGuiInputEventMouseButton="struct ImGuiInputEventMouseButton",
|
||||
ImGuiInputEventMousePos="struct ImGuiInputEventMousePos",
|
||||
ImGuiInputEventMouseViewport="struct ImGuiInputEventMouseViewport",
|
||||
ImGuiInputEventMouseWheel="struct ImGuiInputEventMouseWheel",
|
||||
ImGuiInputEventText="struct ImGuiInputEventText",
|
||||
ImGuiInputFlags="int",
|
||||
@@ -118,7 +111,6 @@ local t={
|
||||
ImGuiPayload="struct ImGuiPayload",
|
||||
ImGuiPlatformIO="struct ImGuiPlatformIO",
|
||||
ImGuiPlatformImeData="struct ImGuiPlatformImeData",
|
||||
ImGuiPlatformMonitor="struct ImGuiPlatformMonitor",
|
||||
ImGuiPopupData="struct ImGuiPopupData",
|
||||
ImGuiPopupFlags="int",
|
||||
ImGuiPtrOrIndex="struct ImGuiPtrOrIndex",
|
||||
@@ -177,8 +169,6 @@ local t={
|
||||
ImGuiViewportFlags="int",
|
||||
ImGuiViewportP="struct ImGuiViewportP",
|
||||
ImGuiWindow="struct ImGuiWindow",
|
||||
ImGuiWindowClass="struct ImGuiWindowClass",
|
||||
ImGuiWindowDockStyle="struct ImGuiWindowDockStyle",
|
||||
ImGuiWindowFlags="int",
|
||||
ImGuiWindowRefreshFlags="int",
|
||||
ImGuiWindowSettings="struct ImGuiWindowSettings",
|
||||
|
2
imgui
2
imgui
Submodule imgui updated: 4806a1924f...97428e8ac9
@@ -11,8 +11,6 @@
|
||||
#define igDebugCheckVersionAndDataLayout igDebugCheckVersionAndDataLayout_Str
|
||||
#endif
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
int main(void)
|
||||
{
|
||||
assert(igDebugCheckVersionAndDataLayout(igGetVersion(), sizeof(ImGuiIO), sizeof(ImGuiStyle),
|
||||
|
Reference in New Issue
Block a user