mirror of
https://github.com/cimgui/cimgui.git
synced 2026-04-07 21:21:18 +01:00
Compare commits
10 Commits
1.92.6dock
...
1.92.7dock
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e533fd0b7 | ||
|
|
715802490e | ||
|
|
8de229087f | ||
|
|
e41d6fb1e8 | ||
|
|
c0c044e22f | ||
|
|
2cb5b7d19b | ||
|
|
335ef09f52 | ||
|
|
ee8fbaaff4 | ||
|
|
1a15dc7bcd | ||
|
|
77f726c6ca |
@@ -11,7 +11,7 @@ History:
|
||||
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
|
||||
|
||||
Notes:
|
||||
* currently this wrapper is based on version [1.92.4 of Dear ImGui with internal api]
|
||||
* currently this wrapper is based on version [1.92.7 of Dear ImGui with internal api]
|
||||
* only functions, structs and enums from imgui.h (an optionally imgui_internal.h) are wrapped.
|
||||
* if you are interested in imgui backends you should look [LuaJIT-ImGui](https://github.com/sonoro1234/LuaJIT-ImGui) project.
|
||||
* All naming is algorithmic except for those names that were coded in cimgui_overloads table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L60). In the official version this table is empty.
|
||||
|
||||
36
backend_test/example_sdl_renderer3/CMakeLists.txt
Normal file
36
backend_test/example_sdl_renderer3/CMakeLists.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
cmake_minimum_required(VERSION 3.30)
|
||||
project(cimgui_sdlrenderer3 LANGUAGES C CXX)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
sdl3
|
||||
GIT_REPOSITORY https://github.com/libsdl-org/SDL.git
|
||||
GIT_TAG release-3.4.0
|
||||
#GIT_SHALLOW TRUE
|
||||
GIT_PROGRESS TRUE
|
||||
)
|
||||
|
||||
set(SDL_TEST_LIBRARY OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(sdl3)
|
||||
|
||||
include(../cmake/GenerateCimguiBindings.cmake)
|
||||
|
||||
set(inclulist ${sdl3_SOURCE_DIR}/include)
|
||||
GenerateCimguiBindings(cimgui_with_backend sdl3 sdlrenderer3 inclulist)
|
||||
target_link_libraries(cimgui_with_backend PRIVATE SDL3::SDL3)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
main.c
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE SDL3::SDL3 cimgui_with_backend)
|
||||
target_compile_definitions(
|
||||
${PROJECT_NAME}
|
||||
PRIVATE
|
||||
CIMGUI_DEFINE_ENUMS_AND_STRUCTS=1
|
||||
CIMGUI_USE_SDL3=1
|
||||
CIMGUI_USE_SDLRENDERER3=1
|
||||
)
|
||||
16
backend_test/example_sdl_renderer3/README.md
Normal file
16
backend_test/example_sdl_renderer3/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# SDLRenderer3
|
||||
|
||||
This example takes from `example_sdlgpu3`. We need to generate bindings for SDLRenderer3 backend because they are not native to `cimgui`. Then you can add the compiled library for linking in your application.
|
||||
|
||||
For the generation phase from cmake you need LuaJIT to be present.
|
||||
|
||||
## Building
|
||||
|
||||
From the build directory of your choice:
|
||||
|
||||
`cmake path_to_example_sdlgpu3`
|
||||
|
||||
Then simply run:
|
||||
|
||||
`make`
|
||||
|
||||
158
backend_test/example_sdl_renderer3/main.c
Normal file
158
backend_test/example_sdl_renderer3/main.c
Normal file
@@ -0,0 +1,158 @@
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <cimgui.h>
|
||||
#include <cimgui_impl.h>
|
||||
|
||||
#define igGetIO igGetIO_Nil
|
||||
|
||||
int main() {
|
||||
// Setup SDL library
|
||||
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_GAMEPAD)) {
|
||||
fprintf(stderr, "Failed to init video! %s", SDL_GetError());
|
||||
return 1;
|
||||
};
|
||||
|
||||
// Setup window and renderer
|
||||
float main_scale = SDL_GetDisplayContentScale(SDL_GetPrimaryDisplay());
|
||||
SDL_WindowFlags window_flags = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIDDEN | SDL_WINDOW_HIGH_PIXEL_DENSITY;
|
||||
SDL_Window* window = NULL;
|
||||
SDL_Renderer* renderer = NULL;
|
||||
if (!SDL_CreateWindowAndRenderer("Dear ImGui SDL3 Renderer example", (int)(1280 * main_scale), (int)(720 * main_scale), window_flags, &window, &renderer))
|
||||
{
|
||||
printf("Error: SDL_CreateWindow(): %s\n", SDL_GetError());
|
||||
return -1;
|
||||
}
|
||||
SDL_SetWindowPosition(window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
|
||||
SDL_ShowWindow(window);
|
||||
|
||||
// Setup Dear ImGui context
|
||||
igCreateContext(NULL);
|
||||
ImGuiIO* io = igGetIO(); (void)io;
|
||||
io->ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
||||
io->ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
|
||||
|
||||
// Setup Dear ImGui style
|
||||
igStyleColorsDark(NULL);
|
||||
//igStyleColorsLight(NULL);
|
||||
|
||||
// Setup scaling
|
||||
ImGuiStyle* style = igGetStyle();
|
||||
ImGuiStyle_ScaleAllSizes(style, main_scale);
|
||||
style->FontScaleDpi = main_scale; // Set initial font scale. (using io.ConfigDpiScaleFonts=true makes this unnecessary. We leave both here for documentation purpose)
|
||||
io->ConfigDpiScaleFonts = true; // [Experimental] Automatically overwrite style.FontScaleDpi in Begin() when Monitor DPI changes. This will scale fonts but _NOT_ scale sizes/padding for now.
|
||||
io->ConfigDpiScaleViewports = true; // [Experimental] Scale Dear ImGui and Platform Windows when Monitor DPI changes.
|
||||
|
||||
// Setup Platform/Renderer backends
|
||||
ImGui_ImplSDL3_InitForSDLRenderer(window, renderer);
|
||||
ImGui_ImplSDLRenderer3_Init(renderer);
|
||||
|
||||
// Our state
|
||||
bool show_demo_window = true;
|
||||
bool show_another_window = false;
|
||||
ImVec4 clear_color;
|
||||
clear_color.x = 0.45f;
|
||||
clear_color.y = 0.55f;
|
||||
clear_color.z = 0.60f;
|
||||
clear_color.w = 1.00f;
|
||||
|
||||
// Main loop
|
||||
bool done = false;
|
||||
while (!done)
|
||||
{
|
||||
// Poll and handle events (inputs, window resize, etc.)
|
||||
// You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs.
|
||||
// - When io.WantCaptureMouse is true, do not dispatch mouse input data to your main application, or clear/overwrite your copy of the mouse data.
|
||||
// - When io.WantCaptureKeyboard is true, do not dispatch keyboard input data to your main application, or clear/overwrite your copy of the keyboard data.
|
||||
// Generally you may always pass all inputs to dear imgui, and hide them from your application based on those two flags.
|
||||
// [If using SDL_MAIN_USE_CALLBACKS: call ImGui_ImplSDL3_ProcessEvent() from your SDL_AppEvent() function]
|
||||
SDL_Event event;
|
||||
while (SDL_PollEvent(&event))
|
||||
{
|
||||
ImGui_ImplSDL3_ProcessEvent(&event);
|
||||
if (event.type == SDL_EVENT_QUIT)
|
||||
done = true;
|
||||
if (event.type == SDL_EVENT_WINDOW_CLOSE_REQUESTED && event.window.windowID == SDL_GetWindowID(window))
|
||||
done = true;
|
||||
}
|
||||
|
||||
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppIterate() function]
|
||||
if (SDL_GetWindowFlags(window) & SDL_WINDOW_MINIMIZED)
|
||||
{
|
||||
SDL_Delay(10);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Setup Dear ImGui frame
|
||||
SDL_SetRenderDrawColorFloat(renderer, clear_color.x, clear_color.y, clear_color.z, clear_color.w);
|
||||
SDL_RenderClear(renderer);
|
||||
ImGui_ImplSDLRenderer3_NewFrame();
|
||||
ImGui_ImplSDL3_NewFrame();
|
||||
igNewFrame();
|
||||
|
||||
// 1. Show the big demo window (Most of the sample code is in igShowDemoWindow()! You can browse its code to learn more about Dear ImGui!).
|
||||
if (show_demo_window)
|
||||
igShowDemoWindow(&show_demo_window);
|
||||
|
||||
// 2. Show a simple window that we create ourselves. We use a Begin/End pair to create a named window.
|
||||
{
|
||||
static float f = 0.0f;
|
||||
static int counter = 0;
|
||||
|
||||
igBegin("Hello, world!", NULL, 0); // Create a window called "Hello, world!" and append into it.
|
||||
|
||||
igText("This is some useful text."); // Display some text (you can use a format strings too)
|
||||
igCheckbox("Demo Window", &show_demo_window); // Edit bools storing our window open/close state
|
||||
igCheckbox("Another Window", &show_another_window);
|
||||
|
||||
igSliderFloat("float", &f, 0.0f, 1.0f, "%.3f", 0); // Edit 1 float using a slider from 0.0f to 1.0f
|
||||
igColorEdit4("clear color", (float*)&clear_color, 0); // Edit 3 floats representing a color
|
||||
|
||||
ImVec2 buttonSize;
|
||||
buttonSize.x = 0;
|
||||
buttonSize.y = 0;
|
||||
if (igButton("Button", buttonSize)) // Buttons return true when clicked (most widgets return true when edited/activated)
|
||||
counter++;
|
||||
igSameLine(0.0f, -1.0f);
|
||||
igText("counter = %d", counter);
|
||||
|
||||
igText("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / io->Framerate, io->Framerate);
|
||||
igEnd();
|
||||
}
|
||||
|
||||
// 3. Show another simple window.
|
||||
if (show_another_window)
|
||||
{
|
||||
igBegin("Another Window", &show_another_window, 0); // Pass a pointer to our bool variable (the window will have a closing button that will clear the bool when clicked)
|
||||
igText("Hello from another window!");
|
||||
ImVec2 buttonSize;
|
||||
buttonSize.x = 0; buttonSize.y = 0;
|
||||
if (igButton("Close Me", buttonSize))
|
||||
show_another_window = false;
|
||||
igEnd();
|
||||
}
|
||||
|
||||
// Rendering
|
||||
igRender();
|
||||
ImDrawData* draw_data = igGetDrawData();
|
||||
const bool is_minimized = (draw_data->DisplaySize.x <= 0.0f || draw_data->DisplaySize.y <= 0.0f);
|
||||
ImGui_ImplSDLRenderer3_RenderDrawData(draw_data, renderer);
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
// [If using SDL_MAIN_USE_CALLBACKS: all code below would likely be your SDL_AppQuit() function]
|
||||
ImGui_ImplSDL3_Shutdown();
|
||||
ImGui_ImplSDLRenderer3_Shutdown();
|
||||
igDestroyContext(NULL);
|
||||
|
||||
SDL_DestroyRenderer(renderer);
|
||||
SDL_DestroyWindow(window);
|
||||
SDL_Quit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
46
cimgui.cpp
46
cimgui.cpp
@@ -1,5 +1,5 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.92.6" 19261 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.92.7" 19270 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
//docking branch
|
||||
@@ -1139,6 +1139,10 @@ CIMGUI_API void igSetNextItemStorageID(ImGuiID storage_id)
|
||||
{
|
||||
return ImGui::SetNextItemStorageID(storage_id);
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeGetOpen(ImGuiID storage_id)
|
||||
{
|
||||
return ImGui::TreeNodeGetOpen(storage_id);
|
||||
}
|
||||
CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2_c size)
|
||||
{
|
||||
return ImGui::Selectable(label,selected,flags,ConvertToCPP_ImVec2(size));
|
||||
@@ -3015,6 +3019,10 @@ CIMGUI_API ImVec2_c ImGuiViewport_GetWorkCenter(ImGuiViewport* self)
|
||||
{
|
||||
return ConvertFromCPP_ImVec2(self->GetWorkCenter());
|
||||
}
|
||||
CIMGUI_API const char* ImGuiViewport_GetDebugName(ImGuiViewport* self)
|
||||
{
|
||||
return self->GetDebugName();
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPlatformIO)();
|
||||
@@ -3818,6 +3826,10 @@ CIMGUI_API float ImGuiInputTextState_GetPreferredOffsetX(ImGuiInputTextState* se
|
||||
{
|
||||
return self->GetPreferredOffsetX();
|
||||
}
|
||||
CIMGUI_API const char* ImGuiInputTextState_GetText(ImGuiInputTextState* self)
|
||||
{
|
||||
return self->GetText();
|
||||
}
|
||||
CIMGUI_API void ImGuiInputTextState_CursorAnimReset(ImGuiInputTextState* self)
|
||||
{
|
||||
return self->CursorAnimReset();
|
||||
@@ -4874,6 +4886,14 @@ CIMGUI_API ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags
|
||||
{
|
||||
return ImGui::GetMouseButtonFromPopupFlags(flags);
|
||||
}
|
||||
CIMGUI_API bool igIsPopupOpenRequestForItem(ImGuiPopupFlags flags,ImGuiID id)
|
||||
{
|
||||
return ImGui::IsPopupOpenRequestForItem(flags,id);
|
||||
}
|
||||
CIMGUI_API bool igIsPopupOpenRequestForWindow(ImGuiPopupFlags flags)
|
||||
{
|
||||
return ImGui::IsPopupOpenRequestForWindow(flags);
|
||||
}
|
||||
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags)
|
||||
{
|
||||
return ImGui::BeginTooltipEx(tooltip_flags,extra_window_flags);
|
||||
@@ -5610,6 +5630,10 @@ CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int
|
||||
{
|
||||
return ImGui::TableSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order)
|
||||
{
|
||||
return ImGui::TableQueueSetColumnDisplayOrder(table,column_n,dst_order);
|
||||
}
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table)
|
||||
{
|
||||
return ImGui::TableRemove(table);
|
||||
@@ -5911,6 +5935,10 @@ CIMGUI_API ImGuiID igGetWindowResizeBorderID(ImGuiWindow* window,ImGuiDir dir)
|
||||
{
|
||||
return ImGui::GetWindowResizeBorderID(window,dir);
|
||||
}
|
||||
CIMGUI_API void igExtendHitBoxWhenNearViewportEdge(ImGuiWindow* window,ImRect* bb,float threshold,ImGuiAxis axis)
|
||||
{
|
||||
return ImGui::ExtendHitBoxWhenNearViewportEdge(window,bb,threshold,axis);
|
||||
}
|
||||
CIMGUI_API bool igButtonBehavior(const ImRect_c bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags)
|
||||
{
|
||||
return ImGui::ButtonBehavior(ConvertToCPP_ImRect(bb),id,out_hovered,out_held,flags);
|
||||
@@ -5943,10 +5971,6 @@ CIMGUI_API void igTreePushOverrideID(ImGuiID id)
|
||||
{
|
||||
return ImGui::TreePushOverrideID(id);
|
||||
}
|
||||
CIMGUI_API bool igTreeNodeGetOpen(ImGuiID storage_id)
|
||||
{
|
||||
return ImGui::TreeNodeGetOpen(storage_id);
|
||||
}
|
||||
CIMGUI_API void igTreeNodeSetOpen(ImGuiID storage_id,bool open)
|
||||
{
|
||||
return ImGui::TreeNodeSetOpen(storage_id,open);
|
||||
@@ -5991,9 +6015,9 @@ CIMGUI_API void igInputTextDeactivateHook(ImGuiID id)
|
||||
{
|
||||
return ImGui::InputTextDeactivateHook(id);
|
||||
}
|
||||
CIMGUI_API bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags)
|
||||
CIMGUI_API bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
|
||||
{
|
||||
return ImGui::TempInputText(ConvertToCPP_ImRect(bb),id,label,buf,buf_size,flags);
|
||||
return ImGui::TempInputText(ConvertToCPP_ImRect(bb),id,label,buf,buf_size,flags,callback,user_data);
|
||||
}
|
||||
CIMGUI_API bool igTempInputScalar(const ImRect_c bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max)
|
||||
{
|
||||
@@ -6091,6 +6115,10 @@ CIMGUI_API void igEndErrorTooltip()
|
||||
{
|
||||
return ImGui::EndErrorTooltip();
|
||||
}
|
||||
CIMGUI_API void igDemoMarker(const char* file,int line,const char* section)
|
||||
{
|
||||
return ImGui::DemoMarker(file,line,section);
|
||||
}
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size)
|
||||
{
|
||||
return ImGui::DebugAllocHook(info,frame_count,ptr,size);
|
||||
@@ -6167,9 +6195,9 @@ CIMGUI_API void igDebugNodeFont(ImFont* font)
|
||||
{
|
||||
return ImGui::DebugNodeFont(font);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeFontGlyphesForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask)
|
||||
CIMGUI_API void igDebugNodeFontGlyphsForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask)
|
||||
{
|
||||
return ImGui::DebugNodeFontGlyphesForSrcMask(font,baked,src_mask);
|
||||
return ImGui::DebugNodeFontGlyphsForSrcMask(font,baked,src_mask);
|
||||
}
|
||||
CIMGUI_API void igDebugNodeFontGlyph(ImFont* font,const ImFontGlyph* glyph)
|
||||
{
|
||||
|
||||
47
cimgui.h
47
cimgui.h
@@ -1,5 +1,5 @@
|
||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||
//based on imgui.h file version "1.92.6" 19261 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.92.7" 19270 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
//with imgui_freetype.h api
|
||||
//docking branch
|
||||
@@ -835,6 +835,7 @@ typedef enum {
|
||||
ImGuiStyleVar_TreeLinesRounding,
|
||||
ImGuiStyleVar_ButtonTextAlign,
|
||||
ImGuiStyleVar_SelectableTextAlign,
|
||||
ImGuiStyleVar_SeparatorSize,
|
||||
ImGuiStyleVar_SeparatorTextBorderSize,
|
||||
ImGuiStyleVar_SeparatorTextAlign,
|
||||
ImGuiStyleVar_SeparatorTextPadding,
|
||||
@@ -848,6 +849,7 @@ typedef enum {
|
||||
ImGuiButtonFlags_MouseButtonMiddle = 1 << 2,
|
||||
ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle,
|
||||
ImGuiButtonFlags_EnableNav = 1 << 3,
|
||||
ImGuiButtonFlags_AllowOverlap = 1 << 12,
|
||||
}ImGuiButtonFlags_;
|
||||
typedef enum {
|
||||
ImGuiColorEditFlags_None = 0,
|
||||
@@ -1077,6 +1079,7 @@ struct ImGuiStyle
|
||||
ImGuiDir ColorButtonPosition;
|
||||
ImVec2_c ButtonTextAlign;
|
||||
ImVec2_c SelectableTextAlign;
|
||||
float SeparatorSize;
|
||||
float SeparatorTextBorderSize;
|
||||
ImVec2_c SeparatorTextAlign;
|
||||
ImVec2_c SeparatorTextPadding;
|
||||
@@ -1314,15 +1317,16 @@ typedef enum {
|
||||
}ImGuiListClipperFlags_;
|
||||
struct ImGuiListClipper
|
||||
{
|
||||
ImGuiContext* Ctx;
|
||||
int DisplayStart;
|
||||
int DisplayEnd;
|
||||
int UserIndex;
|
||||
int ItemsCount;
|
||||
float ItemsHeight;
|
||||
ImGuiListClipperFlags Flags;
|
||||
double StartPosY;
|
||||
double StartSeekOffsetY;
|
||||
ImGuiContext* Ctx;
|
||||
void* TempData;
|
||||
ImGuiListClipperFlags Flags;
|
||||
};
|
||||
struct ImColor_c
|
||||
{
|
||||
@@ -1343,10 +1347,12 @@ typedef enum {
|
||||
ImGuiMultiSelectFlags_ClearOnClickVoid = 1 << 10,
|
||||
ImGuiMultiSelectFlags_ScopeWindow = 1 << 11,
|
||||
ImGuiMultiSelectFlags_ScopeRect = 1 << 12,
|
||||
ImGuiMultiSelectFlags_SelectOnClick = 1 << 13,
|
||||
ImGuiMultiSelectFlags_SelectOnClickRelease = 1 << 14,
|
||||
ImGuiMultiSelectFlags_SelectOnAuto = 1 << 13,
|
||||
ImGuiMultiSelectFlags_SelectOnClickAlways = 1 << 14,
|
||||
ImGuiMultiSelectFlags_SelectOnClickRelease = 1 << 15,
|
||||
ImGuiMultiSelectFlags_NavWrapX = 1 << 16,
|
||||
ImGuiMultiSelectFlags_NoSelectOnRightClick = 1 << 17,
|
||||
ImGuiMultiSelectFlags_SelectOnMask_ = ImGuiMultiSelectFlags_SelectOnAuto | ImGuiMultiSelectFlags_SelectOnClickAlways | ImGuiMultiSelectFlags_SelectOnClickRelease,
|
||||
}ImGuiMultiSelectFlags_;
|
||||
typedef struct ImVector_ImGuiSelectionRequest {int Size;int Capacity;ImGuiSelectionRequest* Data;} ImVector_ImGuiSelectionRequest;
|
||||
|
||||
@@ -1856,7 +1862,6 @@ typedef int ImGuiWindowBgClickFlags;
|
||||
typedef int ImGuiWindowRefreshFlags;
|
||||
typedef ImS16 ImGuiTableColumnIdx;
|
||||
typedef ImU16 ImGuiTableDrawChannelIdx;
|
||||
extern ImGuiContext* GImGui;
|
||||
typedef enum {
|
||||
ImDrawTextFlags_None = 0,
|
||||
ImDrawTextFlags_CpuFineClip = 1 << 0,
|
||||
@@ -1998,7 +2003,7 @@ typedef enum {
|
||||
}ImGuiHoveredFlagsPrivate_;
|
||||
typedef enum {
|
||||
ImGuiInputTextFlags_Multiline = 1 << 26,
|
||||
ImGuiInputTextFlags_MergedItem = 1 << 27,
|
||||
ImGuiInputTextFlags_TempInput = 1 << 27,
|
||||
ImGuiInputTextFlags_LocalizeDecimalPoint= 1 << 28,
|
||||
}ImGuiInputTextFlagsPrivate_;
|
||||
typedef enum {
|
||||
@@ -2009,7 +2014,6 @@ typedef enum {
|
||||
ImGuiButtonFlags_PressedOnDoubleClick = 1 << 8,
|
||||
ImGuiButtonFlags_PressedOnDragDropHold = 1 << 9,
|
||||
ImGuiButtonFlags_FlattenChildren = 1 << 11,
|
||||
ImGuiButtonFlags_AllowOverlap = 1 << 12,
|
||||
ImGuiButtonFlags_AlignTextBaseLine = 1 << 15,
|
||||
ImGuiButtonFlags_NoKeyModsAllowed = 1 << 16,
|
||||
ImGuiButtonFlags_NoHoldingActiveId = 1 << 17,
|
||||
@@ -2148,7 +2152,8 @@ struct ImGuiInputTextState
|
||||
bool CursorFollow;
|
||||
bool CursorCenterY;
|
||||
bool SelectedAllMouseLock;
|
||||
bool Edited;
|
||||
bool EditedBefore;
|
||||
bool EditedThisFrame;
|
||||
bool WantReloadUserBuf;
|
||||
ImS8 LastMoveDirectionLR;
|
||||
int ReloadSelectionStart;
|
||||
@@ -2748,7 +2753,7 @@ struct ImGuiViewportP
|
||||
float LastAlpha;
|
||||
bool LastFocusedHadNavWindow;
|
||||
short PlatformMonitor;
|
||||
int BgFgDrawListsLastFrame[2];
|
||||
float BgFgDrawListsLastTimeActive[2];
|
||||
ImDrawList* BgFgDrawLists[2];
|
||||
ImDrawData DrawDataP;
|
||||
ImDrawDataBuilder DrawDataBuilder;
|
||||
@@ -2901,6 +2906,7 @@ struct ImGuiContextHook
|
||||
ImGuiContextHookCallback Callback;
|
||||
void* UserData;
|
||||
};
|
||||
typedef void (*ImGuiDemoMarkerCallback)(const char* file, int line, const char* section);
|
||||
typedef struct ImVector_ImFontAtlasPtr {int Size;int Capacity;ImFontAtlas** Data;} ImVector_ImFontAtlasPtr;
|
||||
|
||||
typedef struct ImVector_ImGuiInputEvent {int Size;int Capacity;ImGuiInputEvent* Data;} ImVector_ImGuiInputEvent;
|
||||
@@ -3086,6 +3092,7 @@ struct ImGuiContext
|
||||
ImGuiWindow* NavWindow;
|
||||
ImGuiID NavFocusScopeId;
|
||||
ImGuiNavLayer NavLayer;
|
||||
ImGuiItemFlags NavIdItemFlags;
|
||||
ImGuiID NavActivateId;
|
||||
ImGuiID NavActivateDownId;
|
||||
ImGuiID NavActivatePressedId;
|
||||
@@ -3093,6 +3100,8 @@ struct ImGuiContext
|
||||
ImVector_ImGuiFocusScopeData NavFocusRoute;
|
||||
ImGuiID NavHighlightActivatedId;
|
||||
float NavHighlightActivatedTimer;
|
||||
ImGuiID NavOpenContextMenuItemId;
|
||||
ImGuiID NavOpenContextMenuWindowId;
|
||||
ImGuiID NavNextActivateId;
|
||||
ImGuiActivateFlags NavNextActivateFlags;
|
||||
ImGuiInputSource NavInputSource;
|
||||
@@ -3193,6 +3202,7 @@ struct ImGuiContext
|
||||
ImGuiInputTextDeactivatedState InputTextDeactivatedState;
|
||||
ImFontBaked InputTextPasswordFontBackupBaked;
|
||||
ImFontFlags InputTextPasswordFontBackupFlags;
|
||||
ImGuiID InputTextReactivateId;
|
||||
ImGuiID TempInputId;
|
||||
ImGuiDataTypeStorage DataTypeZeroValue;
|
||||
int BeginMenuDepth;
|
||||
@@ -3235,6 +3245,7 @@ struct ImGuiContext
|
||||
ImChunkStream_ImGuiTableSettings SettingsTables;
|
||||
ImVector_ImGuiContextHook Hooks;
|
||||
ImGuiID HookIdNext;
|
||||
ImGuiDemoMarkerCallback DemoMarkerCallback;
|
||||
const char* LocalizationTable[ImGuiLocKey_COUNT];
|
||||
bool LogEnabled;
|
||||
bool LogLineFirstItem;
|
||||
@@ -3681,8 +3692,9 @@ struct ImGuiTable
|
||||
ImGuiTableColumnIdx ResizedColumn;
|
||||
ImGuiTableColumnIdx LastResizedColumn;
|
||||
ImGuiTableColumnIdx HeldHeaderColumn;
|
||||
ImGuiTableColumnIdx LastHeldHeaderColumn;
|
||||
ImGuiTableColumnIdx ReorderColumn;
|
||||
ImGuiTableColumnIdx ReorderColumnDir;
|
||||
ImGuiTableColumnIdx ReorderColumnDstOrder;
|
||||
ImGuiTableColumnIdx LeftMostEnabledColumn;
|
||||
ImGuiTableColumnIdx RightMostEnabledColumn;
|
||||
ImGuiTableColumnIdx LeftMostStretchedColumn;
|
||||
@@ -4241,6 +4253,7 @@ CIMGUI_API bool igCollapsingHeader_TreeNodeFlags(const char* label,ImGuiTreeNode
|
||||
CIMGUI_API bool igCollapsingHeader_BoolPtr(const char* label,bool* p_visible,ImGuiTreeNodeFlags flags);
|
||||
CIMGUI_API void igSetNextItemOpen(bool is_open,ImGuiCond cond);
|
||||
CIMGUI_API void igSetNextItemStorageID(ImGuiID storage_id);
|
||||
CIMGUI_API bool igTreeNodeGetOpen(ImGuiID storage_id);
|
||||
CIMGUI_API bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2_c size);
|
||||
CIMGUI_API bool igSelectable_BoolPtr(const char* label,bool* p_selected,ImGuiSelectableFlags flags,const ImVec2_c size);
|
||||
CIMGUI_API ImGuiMultiSelectIO* igBeginMultiSelect(ImGuiMultiSelectFlags flags,int selection_size,int items_count);
|
||||
@@ -4713,6 +4726,7 @@ CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void);
|
||||
CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self);
|
||||
CIMGUI_API ImVec2_c ImGuiViewport_GetCenter(ImGuiViewport* self);
|
||||
CIMGUI_API ImVec2_c ImGuiViewport_GetWorkCenter(ImGuiViewport* self);
|
||||
CIMGUI_API const char* ImGuiViewport_GetDebugName(ImGuiViewport* self);
|
||||
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void);
|
||||
CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self);
|
||||
CIMGUI_API void ImGuiPlatformIO_ClearPlatformHandlers(ImGuiPlatformIO* self);
|
||||
@@ -4915,6 +4929,7 @@ CIMGUI_API void ImGuiInputTextState_ClearFreeMemory(ImGuiInputTextState* self);
|
||||
CIMGUI_API void ImGuiInputTextState_OnKeyPressed(ImGuiInputTextState* self,int key);
|
||||
CIMGUI_API void ImGuiInputTextState_OnCharPressed(ImGuiInputTextState* self,unsigned int c);
|
||||
CIMGUI_API float ImGuiInputTextState_GetPreferredOffsetX(ImGuiInputTextState* self);
|
||||
CIMGUI_API const char* ImGuiInputTextState_GetText(ImGuiInputTextState* self);
|
||||
CIMGUI_API void ImGuiInputTextState_CursorAnimReset(ImGuiInputTextState* self);
|
||||
CIMGUI_API void ImGuiInputTextState_CursorClamp(ImGuiInputTextState* self);
|
||||
CIMGUI_API bool ImGuiInputTextState_HasSelection(ImGuiInputTextState* self);
|
||||
@@ -5179,6 +5194,8 @@ CIMGUI_API ImGuiWindow* igFindBlockingModal(ImGuiWindow* window);
|
||||
CIMGUI_API ImVec2_c igFindBestWindowPosForPopup(ImGuiWindow* window);
|
||||
CIMGUI_API ImVec2_c igFindBestWindowPosForPopupEx(const ImVec2_c ref_pos,const ImVec2_c size,ImGuiDir* last_dir,const ImRect_c r_outer,const ImRect_c r_avoid,ImGuiPopupPositionPolicy policy);
|
||||
CIMGUI_API ImGuiMouseButton igGetMouseButtonFromPopupFlags(ImGuiPopupFlags flags);
|
||||
CIMGUI_API bool igIsPopupOpenRequestForItem(ImGuiPopupFlags flags,ImGuiID id);
|
||||
CIMGUI_API bool igIsPopupOpenRequestForWindow(ImGuiPopupFlags flags);
|
||||
CIMGUI_API bool igBeginTooltipEx(ImGuiTooltipFlags tooltip_flags,ImGuiWindowFlags extra_window_flags);
|
||||
CIMGUI_API bool igBeginTooltipHidden(void);
|
||||
CIMGUI_API bool igBeginViewportSideBar(const char* name,ImGuiViewport* viewport,ImGuiDir dir,float size,ImGuiWindowFlags window_flags);
|
||||
@@ -5363,6 +5380,7 @@ CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n)
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n);
|
||||
CIMGUI_API void igTableSetColumnWidthAutoAll(ImGuiTable* table);
|
||||
CIMGUI_API void igTableSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
||||
CIMGUI_API void igTableQueueSetColumnDisplayOrder(ImGuiTable* table,int column_n,int dst_order);
|
||||
CIMGUI_API void igTableRemove(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TablePtr(ImGuiTable* table);
|
||||
CIMGUI_API void igTableGcCompactTransientBuffers_TableTempDataPtr(ImGuiTableTempData* table);
|
||||
@@ -5439,6 +5457,7 @@ CIMGUI_API ImRect_c igGetWindowScrollbarRect(ImGuiWindow* window,ImGuiAxis axis)
|
||||
CIMGUI_API ImGuiID igGetWindowScrollbarID(ImGuiWindow* window,ImGuiAxis axis);
|
||||
CIMGUI_API ImGuiID igGetWindowResizeCornerID(ImGuiWindow* window,int n);
|
||||
CIMGUI_API ImGuiID igGetWindowResizeBorderID(ImGuiWindow* window,ImGuiDir dir);
|
||||
CIMGUI_API void igExtendHitBoxWhenNearViewportEdge(ImGuiWindow* window,ImRect* bb,float threshold,ImGuiAxis axis);
|
||||
CIMGUI_API bool igButtonBehavior(const ImRect_c bb,ImGuiID id,bool* out_hovered,bool* out_held,ImGuiButtonFlags flags);
|
||||
CIMGUI_API bool igDragBehavior(ImGuiID id,ImGuiDataType data_type,void* p_v,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags);
|
||||
CIMGUI_API bool igSliderBehavior(const ImRect_c bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags,ImRect* out_grab_bb);
|
||||
@@ -5447,7 +5466,6 @@ CIMGUI_API bool igTreeNodeBehavior(ImGuiID id,ImGuiTreeNodeFlags flags,const cha
|
||||
CIMGUI_API void igTreeNodeDrawLineToChildNode(const ImVec2_c target_pos);
|
||||
CIMGUI_API void igTreeNodeDrawLineToTreePop(const ImGuiTreeNodeStackData* data);
|
||||
CIMGUI_API void igTreePushOverrideID(ImGuiID id);
|
||||
CIMGUI_API bool igTreeNodeGetOpen(ImGuiID storage_id);
|
||||
CIMGUI_API void igTreeNodeSetOpen(ImGuiID storage_id,bool open);
|
||||
CIMGUI_API bool igTreeNodeUpdateNextOpen(ImGuiID storage_id,ImGuiTreeNodeFlags flags);
|
||||
CIMGUI_API const ImGuiDataTypeInfo* igDataTypeGetInfo(ImGuiDataType data_type);
|
||||
@@ -5459,7 +5477,7 @@ CIMGUI_API bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void*
|
||||
CIMGUI_API bool igDataTypeIsZero(ImGuiDataType data_type,const void* p_data);
|
||||
CIMGUI_API bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2_c size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
||||
CIMGUI_API void igInputTextDeactivateHook(ImGuiID id);
|
||||
CIMGUI_API bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,int buf_size,ImGuiInputTextFlags flags);
|
||||
CIMGUI_API bool igTempInputText(const ImRect_c bb,ImGuiID id,const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data);
|
||||
CIMGUI_API bool igTempInputScalar(const ImRect_c bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format,const void* p_clamp_min,const void* p_clamp_max);
|
||||
CIMGUI_API bool igTempInputIsActive(ImGuiID id);
|
||||
CIMGUI_API ImGuiInputTextState* igGetInputTextState(ImGuiID id);
|
||||
@@ -5484,6 +5502,7 @@ CIMGUI_API void igErrorCheckUsingSetCursorPosToExtendParentBoundaries(void);
|
||||
CIMGUI_API void igErrorCheckEndFrameFinalizeErrorTooltip(void);
|
||||
CIMGUI_API bool igBeginErrorTooltip(void);
|
||||
CIMGUI_API void igEndErrorTooltip(void);
|
||||
CIMGUI_API void igDemoMarker(const char* file,int line,const char* section);
|
||||
CIMGUI_API void igDebugAllocHook(ImGuiDebugAllocInfo* info,int frame_count,void* ptr,size_t size);
|
||||
CIMGUI_API void igDebugDrawCursorPos(ImU32 col);
|
||||
CIMGUI_API void igDebugDrawLineExtents(ImU32 col);
|
||||
@@ -5503,7 +5522,7 @@ 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);
|
||||
CIMGUI_API void igDebugNodeFontGlyphesForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask);
|
||||
CIMGUI_API void igDebugNodeFontGlyphsForSrcMask(ImFont* font,ImFontBaked* baked,int src_mask);
|
||||
CIMGUI_API void igDebugNodeFontGlyph(ImFont* font,const ImFontGlyph* glyph);
|
||||
CIMGUI_API void igDebugNodeTexture(ImTextureData* tex,int int_id,const ImFontAtlasRect* highlight_rect);
|
||||
CIMGUI_API void igDebugNodeStorage(ImGuiStorage* storage,const char* label);
|
||||
|
||||
@@ -110,11 +110,14 @@ CIMGUI_API void ImGui_ImplSDL3_Shutdown(void);
|
||||
typedef struct ImGui_ImplVulkanH_Frame ImGui_ImplVulkanH_Frame;
|
||||
typedef struct ImGui_ImplVulkanH_Window ImGui_ImplVulkanH_Window;
|
||||
typedef struct ImGui_ImplVulkan_PipelineInfo ImGui_ImplVulkan_PipelineInfo;
|
||||
typedef struct ImVector_VkDynamicState {int Size;int Capacity;VkDynamicState* Data;} ImVector_VkDynamicState;
|
||||
|
||||
struct ImGui_ImplVulkan_PipelineInfo
|
||||
{
|
||||
VkRenderPass RenderPass;
|
||||
uint32_t Subpass;
|
||||
VkSampleCountFlagBits MSAASamples;
|
||||
ImVector_VkDynamicState ExtraDynamicStates;
|
||||
VkPipelineRenderingCreateInfoKHR PipelineRenderingCreateInfo;
|
||||
VkImageUsageFlags SwapChainImageUsage;
|
||||
};
|
||||
@@ -192,6 +195,7 @@ struct ImGui_ImplVulkanH_Window
|
||||
#ifndef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
typedef ImVector<ImGui_ImplVulkanH_Frame> ImVector_ImGui_ImplVulkanH_Frame;
|
||||
typedef ImVector<ImGui_ImplVulkanH_FrameSemaphores> ImVector_ImGui_ImplVulkanH_FrameSemaphores;
|
||||
typedef ImVector<VkDynamicState> ImVector_VkDynamicState;
|
||||
#endif //CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
CIMGUI_API void ImGui_ImplVulkanH_CreateOrResizeWindow(VkInstance instance,VkPhysicalDevice physical_device,VkDevice device,ImGui_ImplVulkanH_Window* wd,uint32_t queue_family,const VkAllocationCallbacks* allocator,int w,int h,uint32_t min_image_count,VkImageUsageFlags image_usage);
|
||||
CIMGUI_API void ImGui_ImplVulkanH_DestroyWindow(VkInstance instance,VkDevice device,ImGui_ImplVulkanH_Window* wd,const VkAllocationCallbacks* allocator);
|
||||
|
||||
@@ -1553,6 +1553,36 @@ local function printItems(items)
|
||||
printItemsKind(items,v)
|
||||
end
|
||||
end
|
||||
|
||||
-------------------------------json saving
|
||||
--avoid mixed tables (with string and integer keys)
|
||||
local function json_prepare(defs)
|
||||
--delete signatures in function
|
||||
for k,def in pairs(defs) do
|
||||
for k2,v in pairs(def) do
|
||||
if type(k2)=="string" then
|
||||
def[k2] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
return defs
|
||||
end
|
||||
|
||||
|
||||
local function save_output(self)
|
||||
save_data("./output/overloads.txt",self.overloadstxt)
|
||||
save_data("./output/definitions.lua",M.serializeTableF(self.defsT))
|
||||
save_data("./output/structs_and_enums.lua",M.serializeTableF(self.structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.lua",M.serializeTableF(self.typedefs_dict))
|
||||
save_data("./output/constants.lua",M.serializeTableF(self.constants))
|
||||
|
||||
local json = require"json"
|
||||
local json_opts = {dict_on_empty={defaults=true}}
|
||||
save_data("./output/definitions.json",json.encode(json_prepare(self.defsT),json_opts))
|
||||
save_data("./output/structs_and_enums.json",json.encode(self.structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.json",json.encode(self.typedefs_dict))
|
||||
save_data("./output/constants.json",json.encode(self.constants))
|
||||
end
|
||||
-------------
|
||||
local numerr = 0 --for popen error file
|
||||
function M.Parser()
|
||||
@@ -1573,6 +1603,7 @@ function M.Parser()
|
||||
par.skipped = {}
|
||||
par.UDTs = {}
|
||||
|
||||
par.save_output = save_output
|
||||
par.genConversors = genConversions
|
||||
par.gen_structs_c = gen_structs_c
|
||||
function par:insert(line,loca)
|
||||
@@ -1624,6 +1655,7 @@ function M.Parser()
|
||||
--try to guess a compiler error
|
||||
assert(not errstr:match" error")
|
||||
os.remove(errfile)
|
||||
self.constants = defines
|
||||
return defines
|
||||
end
|
||||
function par:do_parse()
|
||||
@@ -2072,6 +2104,10 @@ function M.Parser()
|
||||
print("--skip = vardef declaration:",it2)
|
||||
it2 = ""
|
||||
end
|
||||
if it2:match("%s*extern") then
|
||||
print("--skip extern vardef declaration:",it2)
|
||||
it2 = ""
|
||||
end
|
||||
end
|
||||
--table.insert(outtabpre,it2)
|
||||
--table.insert(outtab,it2)
|
||||
@@ -2358,6 +2394,15 @@ function M.Parser()
|
||||
print(it.item)
|
||||
end
|
||||
end
|
||||
elseif it.re_name == "vardef_re" then
|
||||
local it2 = it.item:gsub("constexpr","static const")
|
||||
if it2:match"static const" then
|
||||
local name, assig = it2:match("static const %s*.+%s+([%w_]+)%s*=%s*([^;]*);")
|
||||
--print(it2,name,assig)
|
||||
if name and assig then
|
||||
self.constants[name] = assig
|
||||
end
|
||||
end
|
||||
end
|
||||
elseif it.re_name == "enum_re" then
|
||||
enums_for_table(it, outtab, enumsordered)
|
||||
@@ -2913,7 +2958,8 @@ local function location(file,locpathT,defines,COMPILER,keepemptylines)
|
||||
if name and val then
|
||||
--while defines[val] do val = defines[val] end
|
||||
--if val:match(number_re) or val:match(hex_re) then
|
||||
table.insert(defines,{name , val})
|
||||
--table.insert(defines,{name , val})
|
||||
defines[name] = val
|
||||
--end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -39,10 +39,10 @@ if FREETYPE_GENERATION then
|
||||
end
|
||||
|
||||
if COMPILER == "gcc" or COMPILER == "clang" or COMPILER == "zig cc" then
|
||||
CPRE = COMPILER..[[ -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CPRE = COMPILER..[[ -E -dD -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CTEST = COMPILER.." --version"
|
||||
elseif COMPILER == "cl" then
|
||||
CPRE = COMPILER..[[ /E /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CPRE = COMPILER..[[ /E /d1PP /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_DEBUG_PARANOID /DIMGUI_API="" /DIMGUI_IMPL_API="" ]] .. CFLAGS
|
||||
CTEST = COMPILER
|
||||
else
|
||||
print("Working without compiler ")
|
||||
@@ -398,7 +398,7 @@ local function parseImGuiHeader(header,names)
|
||||
parser.custom_function_post = custom_function_post
|
||||
parser.header_text_insert = header_text_insert
|
||||
local defines = parser:take_lines(CPRE..header,names,COMPILER)
|
||||
|
||||
--cpp2ffi.prtable("defines",defines)
|
||||
return parser
|
||||
end
|
||||
--generation
|
||||
@@ -438,14 +438,8 @@ structs_and_enums_table.templated_structs = parser1.templated_structs
|
||||
structs_and_enums_table.typenames = parser1.typenames
|
||||
structs_and_enums_table.templates_done = parser1.templates_done
|
||||
--structs_and_enums_table.nonPOD_used = parser1.nP_used
|
||||
|
||||
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
|
||||
|
||||
----------save fundefs in definitions.lua for using in bindings
|
||||
--DefsByStruct(pFP)
|
||||
set_defines(parser1.defsT)
|
||||
save_data("./output/definitions.lua",serializeTableF(parser1.defsT))
|
||||
parser1:save_output()
|
||||
|
||||
--check every function has ov_cimguiname
|
||||
-- for k,v in pairs(parser1.defsT) do
|
||||
@@ -549,13 +543,6 @@ local function json_prepare(defs)
|
||||
end
|
||||
---[[
|
||||
local json = require"json"
|
||||
save_data("./output/definitions.json",json.encode(json_prepare(parser1.defsT),{dict_on_empty={defaults=true}}))
|
||||
--delete extra info for json
|
||||
--structs_and_enums_table.templated_structs = nil
|
||||
--structs_and_enums_table.typenames = nil
|
||||
--structs_and_enums_table.templates_done = nil
|
||||
save_data("./output/structs_and_enums.json",json.encode(structs_and_enums_table))
|
||||
save_data("./output/typedefs_dict.json",json.encode(parser1.typedefs_dict))
|
||||
if parser2 then
|
||||
save_data("./output/impl_definitions.json",json.encode(json_prepare(parser2.defsT),{dict_on_empty={defaults=true}}))
|
||||
end
|
||||
|
||||
124
generator/output/constants.json
Normal file
124
generator/output/constants.json
Normal file
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"DOCKING_HOST_DRAW_CHANNEL_BG": "0",
|
||||
"DOCKING_HOST_DRAW_CHANNEL_FG": "1",
|
||||
"IMGUI_CHECKVERSION()": "ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))",
|
||||
"IMGUI_DEBUG_LOG(...)": "ImGui::DebugLog(__VA_ARGS__)",
|
||||
"IMGUI_DEBUG_LOG_ACTIVEID(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_CLIPPER(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_DOCKING(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_ERROR(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0)",
|
||||
"IMGUI_DEBUG_LOG_FOCUS(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_FONT(...)": "do { ImGuiContext* g2 = GImGui; if (g2 && g2->DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_INPUTROUTING(...)": "do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_IO(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_NAV(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_POPUP(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_SELECTION(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_LOG_VIEWPORT(...)": "do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
"IMGUI_DEBUG_PRINTF(_FMT,...)": "printf(_FMT, __VA_ARGS__)",
|
||||
"IMGUI_FONT_SIZE_MAX": "(512.0f)",
|
||||
"IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE": "(128.0f)",
|
||||
"IMGUI_PAYLOAD_TYPE_COLOR_3F": "\"_COL3F\"",
|
||||
"IMGUI_PAYLOAD_TYPE_COLOR_4F": "\"_COL4F\"",
|
||||
"IMGUI_PAYLOAD_TYPE_WINDOW": "\"_IMWINDOW\"",
|
||||
"IMGUI_TABLE_MAX_COLUMNS": "512",
|
||||
"IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)": "((void)0)",
|
||||
"IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)": "((void)g)",
|
||||
"IMGUI_VERSION": "\"1.92.7\"",
|
||||
"IMGUI_VERSION_NUM": "19270",
|
||||
"IMGUI_WINDOW_HARD_MIN_SIZE": "4.0f",
|
||||
"IMSTB_TEXTEDIT_CHARTYPE": "char",
|
||||
"IMSTB_TEXTEDIT_GETWIDTH_NEWLINE": "(-1.0f)",
|
||||
"IMSTB_TEXTEDIT_STRING": "ImGuiInputTextState",
|
||||
"IMSTB_TEXTEDIT_UNDOCHARCOUNT": "999",
|
||||
"IMSTB_TEXTEDIT_UNDOSTATECOUNT": "99",
|
||||
"IM_ALLOC(_SIZE)": "ImGui::MemAlloc(_SIZE)",
|
||||
"IM_ARRAYSIZE": "IM_COUNTOF",
|
||||
"IM_ASSERT(_EXPR)": "assert(_EXPR)",
|
||||
"IM_ASSERT_USER_ERROR(_EXPR,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } } while (0)",
|
||||
"IM_ASSERT_USER_ERROR_RET(_EXPR,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return; } } while (0)",
|
||||
"IM_ASSERT_USER_ERROR_RETV(_EXPR,_RETV,_MSG)": "do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return _RETV; } } while (0)",
|
||||
"IM_BITARRAY_CLEARBIT(_ARRAY,_N)": "((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31))))",
|
||||
"IM_BITARRAY_TESTBIT(_ARRAY,_N)": "((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0)",
|
||||
"IM_COL32(R,G,B,A)": "(((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))",
|
||||
"IM_COL32_A_MASK": "0xFF000000",
|
||||
"IM_COL32_A_SHIFT": "24",
|
||||
"IM_COL32_BLACK": "IM_COL32(0,0,0,255)",
|
||||
"IM_COL32_BLACK_TRANS": "IM_COL32(0,0,0,0)",
|
||||
"IM_COL32_B_SHIFT": "16",
|
||||
"IM_COL32_DISABLE": "IM_COL32(0,0,0,1)",
|
||||
"IM_COL32_G_SHIFT": "8",
|
||||
"IM_COL32_R_SHIFT": "0",
|
||||
"IM_COL32_WHITE": "IM_COL32(255,255,255,255)",
|
||||
"IM_COUNTOF(_ARR)": "((int)(sizeof(_ARR) / sizeof(*(_ARR))))",
|
||||
"IM_DEBUG_BREAK()": "__asm__ volatile(\"int3;nop\")",
|
||||
"IM_DRAWLIST_ARCFAST_SAMPLE_MAX": "IM_DRAWLIST_ARCFAST_TABLE_SIZE",
|
||||
"IM_DRAWLIST_ARCFAST_TABLE_SIZE": "48",
|
||||
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR)": "ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX)",
|
||||
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD)": "((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD))",
|
||||
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR)": "((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))))",
|
||||
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX": "512",
|
||||
"IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN": "4",
|
||||
"IM_DRAWLIST_TEX_LINES_WIDTH_MAX": "(32)",
|
||||
"IM_F32_TO_INT8_SAT(_VAL)": "((int)(ImSaturate(_VAL) * 255.0f + 0.5f))",
|
||||
"IM_F32_TO_INT8_UNBOUND(_VAL)": "((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f)))",
|
||||
"IM_FMTARGS(FMT)": "__attribute__((format(gnu_printf, FMT, FMT+1)))",
|
||||
"IM_FMTLIST(FMT)": "__attribute__((format(gnu_printf, FMT, 0)))",
|
||||
"IM_FREE(_PTR)": "ImGui::MemFree(_PTR)",
|
||||
"IM_MEMALIGN(_OFF,_ALIGN)": "(((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1))",
|
||||
"IM_NEW(_TYPE)": "new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE",
|
||||
"IM_NEWLINE": "\"\\r\\n\"",
|
||||
"IM_PI": "3.14159265358979323846f",
|
||||
"IM_PLACEMENT_NEW(_PTR)": "new(ImNewWrapper(), _PTR)",
|
||||
"IM_PRIX64": "\"llX\"",
|
||||
"IM_PRId64": "\"lld\"",
|
||||
"IM_PRIu64": "\"llu\"",
|
||||
"IM_ROUND(_VAL)": "((float)(int)((_VAL) + 0.5f))",
|
||||
"IM_ROUNDUP_TO_EVEN(_V)": "((((_V) + 1) / 2) * 2)",
|
||||
"IM_STATIC_ASSERT(_COND)": "static_assert(_COND, \"\")",
|
||||
"IM_STRINGIFY(_EXPR)": "IM_STRINGIFY_HELPER(_EXPR)",
|
||||
"IM_STRINGIFY_HELPER(_EXPR)": "#_EXPR",
|
||||
"IM_TABSIZE": "(4)",
|
||||
"IM_TRUNC(_VAL)": "((float)(int)(_VAL))",
|
||||
"IM_UNICODE_CODEPOINT_INVALID": "0xFFFD",
|
||||
"IM_UNICODE_CODEPOINT_MAX": "0xFFFF",
|
||||
"IM_UNUSED(_VAR)": "((void)(_VAR))",
|
||||
"ImAcos(X)": "acosf(X)",
|
||||
"ImAtan2(Y,X)": "atan2f((Y), (X))",
|
||||
"ImAtof(STR)": "atof(STR)",
|
||||
"ImCeil(X)": "ceilf(X)",
|
||||
"ImCos(X)": "cosf(X)",
|
||||
"ImDrawCallback_ResetRenderState": "(ImDrawCallback)(-8)",
|
||||
"ImFabs(X)": "fabsf(X)",
|
||||
"ImFmod(X,Y)": "fmodf((X), (Y))",
|
||||
"ImFontAtlasRectId_GenerationMask_": "(0x3FF00000)",
|
||||
"ImFontAtlasRectId_GenerationShift_": "(20)",
|
||||
"ImFontAtlasRectId_IndexMask_": "(0x0007FFFF)",
|
||||
"ImFontAtlasRectId_Invalid": "-1",
|
||||
"ImGuiKeyOwner_Any": "((ImGuiID)0)",
|
||||
"ImGuiKeyOwner_NoOwner": "((ImGuiID)-1)",
|
||||
"ImGuiKey_Aliases_BEGIN": "(ImGuiKey_Mouse_BEGIN)",
|
||||
"ImGuiKey_Aliases_END": "(ImGuiKey_Mouse_END)",
|
||||
"ImGuiKey_Gamepad_BEGIN": "(ImGuiKey_GamepadStart)",
|
||||
"ImGuiKey_Gamepad_END": "(ImGuiKey_GamepadRStickDown + 1)",
|
||||
"ImGuiKey_Keyboard_BEGIN": "(ImGuiKey_NamedKey_BEGIN)",
|
||||
"ImGuiKey_Keyboard_END": "(ImGuiKey_GamepadStart)",
|
||||
"ImGuiKey_LegacyNativeKey_BEGIN": "0",
|
||||
"ImGuiKey_LegacyNativeKey_END": "512",
|
||||
"ImGuiKey_Mouse_BEGIN": "(ImGuiKey_MouseLeft)",
|
||||
"ImGuiKey_Mouse_END": "(ImGuiKey_MouseWheelY + 1)",
|
||||
"ImGuiKey_NavGamepadActivate": "(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown)",
|
||||
"ImGuiKey_NavGamepadCancel": "(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight)",
|
||||
"ImGuiKey_NavGamepadContextMenu": "ImGuiKey_GamepadFaceUp",
|
||||
"ImGuiKey_NavGamepadMenu": "ImGuiKey_GamepadFaceLeft",
|
||||
"ImGuiKey_NavGamepadTweakFast": "ImGuiKey_GamepadR1",
|
||||
"ImGuiKey_NavGamepadTweakSlow": "ImGuiKey_GamepadL1",
|
||||
"ImGuiKey_NavKeyboardTweakFast": "ImGuiMod_Shift",
|
||||
"ImGuiKey_NavKeyboardTweakSlow": "ImGuiMod_Ctrl",
|
||||
"ImGuiSelectionUserData_Invalid": "((ImGuiSelectionUserData)-1)",
|
||||
"ImMemchr": "memchr",
|
||||
"ImSin(X)": "sinf(X)",
|
||||
"ImSqrt(X)": "sqrtf(X)",
|
||||
"ImStrlen": "strlen",
|
||||
"ImTextureID_Invalid": "((ImTextureID)0)"
|
||||
}
|
||||
124
generator/output/constants.lua
Normal file
124
generator/output/constants.lua
Normal file
@@ -0,0 +1,124 @@
|
||||
local t={
|
||||
DOCKING_HOST_DRAW_CHANNEL_BG="0",
|
||||
DOCKING_HOST_DRAW_CHANNEL_FG="1",
|
||||
["IMGUI_CHECKVERSION()"]="ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))",
|
||||
["IMGUI_DEBUG_LOG(...)"]="ImGui::DebugLog(__VA_ARGS__)",
|
||||
["IMGUI_DEBUG_LOG_ACTIVEID(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventActiveId) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_CLIPPER(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventClipper) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_DOCKING(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventDocking) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_ERROR(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventError) IMGUI_DEBUG_LOG(__VA_ARGS__); else g.DebugLogSkippedErrors++; } while (0)",
|
||||
["IMGUI_DEBUG_LOG_FOCUS(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventFocus) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_FONT(...)"]="do { ImGuiContext* g2 = GImGui; if (g2 && g2->DebugLogFlags & ImGuiDebugLogFlags_EventFont) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_INPUTROUTING(...)"]="do{if (g.DebugLogFlags & ImGuiDebugLogFlags_EventInputRouting)IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_IO(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventIO) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_NAV(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventNav) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_POPUP(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventPopup) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_SELECTION(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventSelection) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_LOG_VIEWPORT(...)"]="do { if (g.DebugLogFlags & ImGuiDebugLogFlags_EventViewport) IMGUI_DEBUG_LOG(__VA_ARGS__); } while (0)",
|
||||
["IMGUI_DEBUG_PRINTF(_FMT,...)"]="printf(_FMT, __VA_ARGS__)",
|
||||
IMGUI_FONT_SIZE_MAX="(512.0f)",
|
||||
IMGUI_FONT_SIZE_THRESHOLD_FOR_LOADADVANCEXONLYMODE="(128.0f)",
|
||||
IMGUI_PAYLOAD_TYPE_COLOR_3F="\"_COL3F\"",
|
||||
IMGUI_PAYLOAD_TYPE_COLOR_4F="\"_COL4F\"",
|
||||
IMGUI_PAYLOAD_TYPE_WINDOW="\"_IMWINDOW\"",
|
||||
IMGUI_TABLE_MAX_COLUMNS="512",
|
||||
["IMGUI_TEST_ENGINE_ITEM_ADD(_ID,_BB,_ITEM_DATA)"]="((void)0)",
|
||||
["IMGUI_TEST_ENGINE_ITEM_INFO(_ID,_LABEL,_FLAGS)"]="((void)g)",
|
||||
IMGUI_VERSION="\"1.92.7\"",
|
||||
IMGUI_VERSION_NUM="19270",
|
||||
IMGUI_WINDOW_HARD_MIN_SIZE="4.0f",
|
||||
IMSTB_TEXTEDIT_CHARTYPE="char",
|
||||
IMSTB_TEXTEDIT_GETWIDTH_NEWLINE="(-1.0f)",
|
||||
IMSTB_TEXTEDIT_STRING="ImGuiInputTextState",
|
||||
IMSTB_TEXTEDIT_UNDOCHARCOUNT="999",
|
||||
IMSTB_TEXTEDIT_UNDOSTATECOUNT="99",
|
||||
["IM_ALLOC(_SIZE)"]="ImGui::MemAlloc(_SIZE)",
|
||||
IM_ARRAYSIZE="IM_COUNTOF",
|
||||
["IM_ASSERT(_EXPR)"]="assert(_EXPR)",
|
||||
["IM_ASSERT_USER_ERROR(_EXPR,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } } } while (0)",
|
||||
["IM_ASSERT_USER_ERROR_RET(_EXPR,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return; } } while (0)",
|
||||
["IM_ASSERT_USER_ERROR_RETV(_EXPR,_RETV,_MSG)"]="do { if (!(_EXPR)) { if (ImGui::ErrorLog(_MSG)) { IM_ASSERT((_EXPR) && _MSG); } return _RETV; } } while (0)",
|
||||
["IM_BITARRAY_CLEARBIT(_ARRAY,_N)"]="((_ARRAY[(_N) >> 5] &= ~((ImU32)1 << ((_N) & 31))))",
|
||||
["IM_BITARRAY_TESTBIT(_ARRAY,_N)"]="((_ARRAY[(_N) >> 5] & ((ImU32)1 << ((_N) & 31))) != 0)",
|
||||
["IM_COL32(R,G,B,A)"]="(((ImU32)(A)<<IM_COL32_A_SHIFT) | ((ImU32)(B)<<IM_COL32_B_SHIFT) | ((ImU32)(G)<<IM_COL32_G_SHIFT) | ((ImU32)(R)<<IM_COL32_R_SHIFT))",
|
||||
IM_COL32_A_MASK="0xFF000000",
|
||||
IM_COL32_A_SHIFT="24",
|
||||
IM_COL32_BLACK="IM_COL32(0,0,0,255)",
|
||||
IM_COL32_BLACK_TRANS="IM_COL32(0,0,0,0)",
|
||||
IM_COL32_B_SHIFT="16",
|
||||
IM_COL32_DISABLE="IM_COL32(0,0,0,1)",
|
||||
IM_COL32_G_SHIFT="8",
|
||||
IM_COL32_R_SHIFT="0",
|
||||
IM_COL32_WHITE="IM_COL32(255,255,255,255)",
|
||||
["IM_COUNTOF(_ARR)"]="((int)(sizeof(_ARR) / sizeof(*(_ARR))))",
|
||||
["IM_DEBUG_BREAK()"]="__asm__ volatile(\"int3;nop\")",
|
||||
IM_DRAWLIST_ARCFAST_SAMPLE_MAX="IM_DRAWLIST_ARCFAST_TABLE_SIZE",
|
||||
IM_DRAWLIST_ARCFAST_TABLE_SIZE="48",
|
||||
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(_RAD,_MAXERROR)"]="ImClamp(IM_ROUNDUP_TO_EVEN((int)ImCeil(IM_PI / ImAcos(1 - ImMin((_MAXERROR), (_RAD)) / (_RAD)))), IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX)",
|
||||
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_ERROR(_N,_RAD)"]="((1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))) / (_RAD))",
|
||||
["IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC_R(_N,_MAXERROR)"]="((_MAXERROR) / (1 - ImCos(IM_PI / ImMax((float)(_N), IM_PI))))",
|
||||
IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX="512",
|
||||
IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MIN="4",
|
||||
IM_DRAWLIST_TEX_LINES_WIDTH_MAX="(32)",
|
||||
["IM_F32_TO_INT8_SAT(_VAL)"]="((int)(ImSaturate(_VAL) * 255.0f + 0.5f))",
|
||||
["IM_F32_TO_INT8_UNBOUND(_VAL)"]="((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f)))",
|
||||
["IM_FMTARGS(FMT)"]="__attribute__((format(gnu_printf, FMT, FMT+1)))",
|
||||
["IM_FMTLIST(FMT)"]="__attribute__((format(gnu_printf, FMT, 0)))",
|
||||
["IM_FREE(_PTR)"]="ImGui::MemFree(_PTR)",
|
||||
["IM_MEMALIGN(_OFF,_ALIGN)"]="(((_OFF) + ((_ALIGN) - 1)) & ~((_ALIGN) - 1))",
|
||||
["IM_NEW(_TYPE)"]="new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE",
|
||||
IM_NEWLINE="\"\\r\\n\"",
|
||||
IM_PI="3.14159265358979323846f",
|
||||
["IM_PLACEMENT_NEW(_PTR)"]="new(ImNewWrapper(), _PTR)",
|
||||
IM_PRIX64="\"llX\"",
|
||||
IM_PRId64="\"lld\"",
|
||||
IM_PRIu64="\"llu\"",
|
||||
["IM_ROUND(_VAL)"]="((float)(int)((_VAL) + 0.5f))",
|
||||
["IM_ROUNDUP_TO_EVEN(_V)"]="((((_V) + 1) / 2) * 2)",
|
||||
["IM_STATIC_ASSERT(_COND)"]="static_assert(_COND, \"\")",
|
||||
["IM_STRINGIFY(_EXPR)"]="IM_STRINGIFY_HELPER(_EXPR)",
|
||||
["IM_STRINGIFY_HELPER(_EXPR)"]="#_EXPR",
|
||||
IM_TABSIZE="(4)",
|
||||
["IM_TRUNC(_VAL)"]="((float)(int)(_VAL))",
|
||||
IM_UNICODE_CODEPOINT_INVALID="0xFFFD",
|
||||
IM_UNICODE_CODEPOINT_MAX="0xFFFF",
|
||||
["IM_UNUSED(_VAR)"]="((void)(_VAR))",
|
||||
["ImAcos(X)"]="acosf(X)",
|
||||
["ImAtan2(Y,X)"]="atan2f((Y), (X))",
|
||||
["ImAtof(STR)"]="atof(STR)",
|
||||
["ImCeil(X)"]="ceilf(X)",
|
||||
["ImCos(X)"]="cosf(X)",
|
||||
ImDrawCallback_ResetRenderState="(ImDrawCallback)(-8)",
|
||||
["ImFabs(X)"]="fabsf(X)",
|
||||
["ImFmod(X,Y)"]="fmodf((X), (Y))",
|
||||
ImFontAtlasRectId_GenerationMask_="(0x3FF00000)",
|
||||
ImFontAtlasRectId_GenerationShift_="(20)",
|
||||
ImFontAtlasRectId_IndexMask_="(0x0007FFFF)",
|
||||
ImFontAtlasRectId_Invalid="-1",
|
||||
ImGuiKeyOwner_Any="((ImGuiID)0)",
|
||||
ImGuiKeyOwner_NoOwner="((ImGuiID)-1)",
|
||||
ImGuiKey_Aliases_BEGIN="(ImGuiKey_Mouse_BEGIN)",
|
||||
ImGuiKey_Aliases_END="(ImGuiKey_Mouse_END)",
|
||||
ImGuiKey_Gamepad_BEGIN="(ImGuiKey_GamepadStart)",
|
||||
ImGuiKey_Gamepad_END="(ImGuiKey_GamepadRStickDown + 1)",
|
||||
ImGuiKey_Keyboard_BEGIN="(ImGuiKey_NamedKey_BEGIN)",
|
||||
ImGuiKey_Keyboard_END="(ImGuiKey_GamepadStart)",
|
||||
ImGuiKey_LegacyNativeKey_BEGIN="0",
|
||||
ImGuiKey_LegacyNativeKey_END="512",
|
||||
ImGuiKey_Mouse_BEGIN="(ImGuiKey_MouseLeft)",
|
||||
ImGuiKey_Mouse_END="(ImGuiKey_MouseWheelY + 1)",
|
||||
ImGuiKey_NavGamepadActivate="(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceRight : ImGuiKey_GamepadFaceDown)",
|
||||
ImGuiKey_NavGamepadCancel="(g.IO.ConfigNavSwapGamepadButtons ? ImGuiKey_GamepadFaceDown : ImGuiKey_GamepadFaceRight)",
|
||||
ImGuiKey_NavGamepadContextMenu="ImGuiKey_GamepadFaceUp",
|
||||
ImGuiKey_NavGamepadMenu="ImGuiKey_GamepadFaceLeft",
|
||||
ImGuiKey_NavGamepadTweakFast="ImGuiKey_GamepadR1",
|
||||
ImGuiKey_NavGamepadTweakSlow="ImGuiKey_GamepadL1",
|
||||
ImGuiKey_NavKeyboardTweakFast="ImGuiMod_Shift",
|
||||
ImGuiKey_NavKeyboardTweakSlow="ImGuiMod_Ctrl",
|
||||
ImGuiSelectionUserData_Invalid="((ImGuiSelectionUserData)-1)",
|
||||
ImMemchr="memchr",
|
||||
["ImSin(X)"]="sinf(X)",
|
||||
["ImSqrt(X)"]="sqrtf(X)",
|
||||
ImStrlen="strlen",
|
||||
ImTextureID_Invalid="((ImTextureID)0)"}
|
||||
return t
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1363,7 +1363,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"location": "imgui_impl_vulkan:207",
|
||||
"location": "imgui_impl_vulkan:208",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
|
||||
@@ -1397,7 +1397,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"location": "imgui_impl_vulkan:208",
|
||||
"location": "imgui_impl_vulkan:209",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_DestroyWindow",
|
||||
"ret": "void",
|
||||
"signature": "(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1419,7 +1419,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"location": "imgui_impl_vulkan:213",
|
||||
"location": "imgui_impl_vulkan:214",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
"ret": "int",
|
||||
"signature": "(VkPresentModeKHR)",
|
||||
@@ -1441,7 +1441,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
"location": "imgui_impl_vulkan:214",
|
||||
"location": "imgui_impl_vulkan:215",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
"ret": "ImGui_ImplVulkanH_Window*",
|
||||
"signature": "(ImGuiViewport*)",
|
||||
@@ -1463,7 +1463,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"location": "imgui_impl_vulkan:211",
|
||||
"location": "imgui_impl_vulkan:212",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
"ret": "VkPhysicalDevice",
|
||||
"signature": "(VkInstance)",
|
||||
@@ -1497,7 +1497,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"location": "imgui_impl_vulkan:210",
|
||||
"location": "imgui_impl_vulkan:211",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectPresentMode",
|
||||
"ret": "VkPresentModeKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1519,7 +1519,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"location": "imgui_impl_vulkan:212",
|
||||
"location": "imgui_impl_vulkan:213",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
"ret": "uint32_t",
|
||||
"signature": "(VkPhysicalDevice)",
|
||||
@@ -1557,7 +1557,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"location": "imgui_impl_vulkan:209",
|
||||
"location": "imgui_impl_vulkan:210",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
"ret": "VkSurfaceFormatKHR",
|
||||
"signature": "(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1575,7 +1575,7 @@
|
||||
"constructor": true,
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkanH_Window",
|
||||
"location": "imgui_impl_vulkan:259",
|
||||
"location": "imgui_impl_vulkan:260",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||
"signature": "()",
|
||||
"stname": "ImGui_ImplVulkanH_Window"
|
||||
@@ -1594,7 +1594,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||
"defaults": {},
|
||||
"destructor": true,
|
||||
"location": "imgui_impl_vulkan:259",
|
||||
"location": "imgui_impl_vulkan:260",
|
||||
"ov_cimguiname": "ImGui_ImplVulkanH_Window_destroy",
|
||||
"ret": "void",
|
||||
"signature": "(ImGui_ImplVulkanH_Window*)",
|
||||
@@ -1624,7 +1624,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_AddTexture",
|
||||
"location": "imgui_impl_vulkan:165",
|
||||
"location": "imgui_impl_vulkan:166",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_AddTexture",
|
||||
"ret": "VkDescriptorSet",
|
||||
"signature": "(VkSampler,VkImageView,VkImageLayout)",
|
||||
@@ -1646,7 +1646,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"location": "imgui_impl_vulkan:157",
|
||||
"location": "imgui_impl_vulkan:158",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_CreateMainPipeline",
|
||||
"ret": "void",
|
||||
"signature": "(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||
@@ -1668,7 +1668,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Init",
|
||||
"location": "imgui_impl_vulkan:148",
|
||||
"location": "imgui_impl_vulkan:149",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Init",
|
||||
"ret": "bool",
|
||||
"signature": "(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1700,7 +1700,7 @@
|
||||
"user_data": "nullptr"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"location": "imgui_impl_vulkan:170",
|
||||
"location": "imgui_impl_vulkan:171",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_LoadFunctions",
|
||||
"ret": "bool",
|
||||
"signature": "(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1717,7 +1717,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_NewFrame",
|
||||
"location": "imgui_impl_vulkan:150",
|
||||
"location": "imgui_impl_vulkan:151",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_NewFrame",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1739,7 +1739,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"location": "imgui_impl_vulkan:166",
|
||||
"location": "imgui_impl_vulkan:167",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RemoveTexture",
|
||||
"ret": "void",
|
||||
"signature": "(VkDescriptorSet)",
|
||||
@@ -1771,7 +1771,7 @@
|
||||
"pipeline": "0ULL"
|
||||
},
|
||||
"funcname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"location": "imgui_impl_vulkan:151",
|
||||
"location": "imgui_impl_vulkan:152",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_RenderDrawData",
|
||||
"ret": "void",
|
||||
"signature": "(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1793,7 +1793,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"location": "imgui_impl_vulkan:152",
|
||||
"location": "imgui_impl_vulkan:153",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_SetMinImageCount",
|
||||
"ret": "void",
|
||||
"signature": "(uint32_t)",
|
||||
@@ -1810,7 +1810,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_Shutdown",
|
||||
"location": "imgui_impl_vulkan:149",
|
||||
"location": "imgui_impl_vulkan:150",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_Shutdown",
|
||||
"ret": "void",
|
||||
"signature": "()",
|
||||
@@ -1832,7 +1832,7 @@
|
||||
"cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"defaults": {},
|
||||
"funcname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"location": "imgui_impl_vulkan:160",
|
||||
"location": "imgui_impl_vulkan:161",
|
||||
"ov_cimguiname": "ImGui_ImplVulkan_UpdateTexture",
|
||||
"ret": "void",
|
||||
"signature": "(ImTextureData*)",
|
||||
|
||||
@@ -1179,7 +1179,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
location="imgui_impl_vulkan:207",
|
||||
location="imgui_impl_vulkan:208",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_CreateOrResizeWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkPhysicalDevice,VkDevice,ImGui_ImplVulkanH_Window*,uint32_t,const VkAllocationCallbacks*,int,int,uint32_t,VkImageUsageFlags)",
|
||||
@@ -1207,7 +1207,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
location="imgui_impl_vulkan:208",
|
||||
location="imgui_impl_vulkan:209",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_DestroyWindow",
|
||||
ret="void",
|
||||
signature="(VkInstance,VkDevice,ImGui_ImplVulkanH_Window*,const VkAllocationCallbacks*)",
|
||||
@@ -1226,7 +1226,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
location="imgui_impl_vulkan:213",
|
||||
location="imgui_impl_vulkan:214",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_GetMinImageCountFromPresentMode",
|
||||
ret="int",
|
||||
signature="(VkPresentModeKHR)",
|
||||
@@ -1245,7 +1245,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
location="imgui_impl_vulkan:214",
|
||||
location="imgui_impl_vulkan:215",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_GetWindowDataFromViewport",
|
||||
ret="ImGui_ImplVulkanH_Window*",
|
||||
signature="(ImGuiViewport*)",
|
||||
@@ -1264,7 +1264,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
location="imgui_impl_vulkan:211",
|
||||
location="imgui_impl_vulkan:212",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPhysicalDevice",
|
||||
ret="VkPhysicalDevice",
|
||||
signature="(VkInstance)",
|
||||
@@ -1292,7 +1292,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
location="imgui_impl_vulkan:210",
|
||||
location="imgui_impl_vulkan:211",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectPresentMode",
|
||||
ret="VkPresentModeKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkPresentModeKHR*,int)",
|
||||
@@ -1311,7 +1311,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
location="imgui_impl_vulkan:212",
|
||||
location="imgui_impl_vulkan:213",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectQueueFamilyIndex",
|
||||
ret="uint32_t",
|
||||
signature="(VkPhysicalDevice)",
|
||||
@@ -1342,7 +1342,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
location="imgui_impl_vulkan:209",
|
||||
location="imgui_impl_vulkan:210",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_SelectSurfaceFormat",
|
||||
ret="VkSurfaceFormatKHR",
|
||||
signature="(VkPhysicalDevice,VkSurfaceKHR,const VkFormat*,int,VkColorSpaceKHR)",
|
||||
@@ -1359,7 +1359,7 @@ local t={
|
||||
constructor=true,
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkanH_Window",
|
||||
location="imgui_impl_vulkan:259",
|
||||
location="imgui_impl_vulkan:260",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_Window_ImGui_ImplVulkanH_Window",
|
||||
signature="()",
|
||||
stname="ImGui_ImplVulkanH_Window"},
|
||||
@@ -1375,7 +1375,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||
defaults={},
|
||||
destructor=true,
|
||||
location="imgui_impl_vulkan:259",
|
||||
location="imgui_impl_vulkan:260",
|
||||
ov_cimguiname="ImGui_ImplVulkanH_Window_destroy",
|
||||
ret="void",
|
||||
signature="(ImGui_ImplVulkanH_Window*)",
|
||||
@@ -1400,7 +1400,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_AddTexture",
|
||||
location="imgui_impl_vulkan:165",
|
||||
location="imgui_impl_vulkan:166",
|
||||
ov_cimguiname="ImGui_ImplVulkan_AddTexture",
|
||||
ret="VkDescriptorSet",
|
||||
signature="(VkSampler,VkImageView,VkImageLayout)",
|
||||
@@ -1419,7 +1419,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
location="imgui_impl_vulkan:157",
|
||||
location="imgui_impl_vulkan:158",
|
||||
ov_cimguiname="ImGui_ImplVulkan_CreateMainPipeline",
|
||||
ret="void",
|
||||
signature="(const ImGui_ImplVulkan_PipelineInfo*)",
|
||||
@@ -1438,7 +1438,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Init",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Init",
|
||||
location="imgui_impl_vulkan:148",
|
||||
location="imgui_impl_vulkan:149",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Init",
|
||||
ret="bool",
|
||||
signature="(ImGui_ImplVulkan_InitInfo*)",
|
||||
@@ -1464,7 +1464,7 @@ local t={
|
||||
defaults={
|
||||
user_data="nullptr"},
|
||||
funcname="ImGui_ImplVulkan_LoadFunctions",
|
||||
location="imgui_impl_vulkan:170",
|
||||
location="imgui_impl_vulkan:171",
|
||||
ov_cimguiname="ImGui_ImplVulkan_LoadFunctions",
|
||||
ret="bool",
|
||||
signature="(uint32_t,PFN_vkVoidFunction(*loader_func)(const char* function_name,void*,void*)",
|
||||
@@ -1480,7 +1480,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_NewFrame",
|
||||
location="imgui_impl_vulkan:150",
|
||||
location="imgui_impl_vulkan:151",
|
||||
ov_cimguiname="ImGui_ImplVulkan_NewFrame",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1499,7 +1499,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_RemoveTexture",
|
||||
location="imgui_impl_vulkan:166",
|
||||
location="imgui_impl_vulkan:167",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RemoveTexture",
|
||||
ret="void",
|
||||
signature="(VkDescriptorSet)",
|
||||
@@ -1525,7 +1525,7 @@ local t={
|
||||
defaults={
|
||||
pipeline="0ULL"},
|
||||
funcname="ImGui_ImplVulkan_RenderDrawData",
|
||||
location="imgui_impl_vulkan:151",
|
||||
location="imgui_impl_vulkan:152",
|
||||
ov_cimguiname="ImGui_ImplVulkan_RenderDrawData",
|
||||
ret="void",
|
||||
signature="(ImDrawData*,VkCommandBuffer,VkPipeline)",
|
||||
@@ -1544,7 +1544,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
location="imgui_impl_vulkan:152",
|
||||
location="imgui_impl_vulkan:153",
|
||||
ov_cimguiname="ImGui_ImplVulkan_SetMinImageCount",
|
||||
ret="void",
|
||||
signature="(uint32_t)",
|
||||
@@ -1560,7 +1560,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_Shutdown",
|
||||
location="imgui_impl_vulkan:149",
|
||||
location="imgui_impl_vulkan:150",
|
||||
ov_cimguiname="ImGui_ImplVulkan_Shutdown",
|
||||
ret="void",
|
||||
signature="()",
|
||||
@@ -1579,7 +1579,7 @@ local t={
|
||||
cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||
defaults={},
|
||||
funcname="ImGui_ImplVulkan_UpdateTexture",
|
||||
location="imgui_impl_vulkan:160",
|
||||
location="imgui_impl_vulkan:161",
|
||||
ov_cimguiname="ImGui_ImplVulkan_UpdateTexture",
|
||||
ret="void",
|
||||
signature="(ImTextureData*)",
|
||||
|
||||
@@ -307,11 +307,6 @@
|
||||
"name": "ImGuiButtonFlags_FlattenChildren",
|
||||
"value": "1 << 11"
|
||||
},
|
||||
{
|
||||
"calc_value": 4096,
|
||||
"name": "ImGuiButtonFlags_AllowOverlap",
|
||||
"value": "1 << 12"
|
||||
},
|
||||
{
|
||||
"calc_value": 32768,
|
||||
"name": "ImGuiButtonFlags_AlignTextBaseLine",
|
||||
@@ -393,6 +388,11 @@
|
||||
"calc_value": 8,
|
||||
"name": "ImGuiButtonFlags_EnableNav",
|
||||
"value": "1 << 3"
|
||||
},
|
||||
{
|
||||
"calc_value": 4096,
|
||||
"name": "ImGuiButtonFlags_AllowOverlap",
|
||||
"value": "1 << 12"
|
||||
}
|
||||
],
|
||||
"ImGuiChildFlags_": [
|
||||
@@ -2040,7 +2040,7 @@
|
||||
},
|
||||
{
|
||||
"calc_value": 134217728,
|
||||
"name": "ImGuiInputTextFlags_MergedItem",
|
||||
"name": "ImGuiInputTextFlags_TempInput",
|
||||
"value": "1 << 27"
|
||||
},
|
||||
{
|
||||
@@ -3481,14 +3481,19 @@
|
||||
},
|
||||
{
|
||||
"calc_value": 8192,
|
||||
"name": "ImGuiMultiSelectFlags_SelectOnClick",
|
||||
"name": "ImGuiMultiSelectFlags_SelectOnAuto",
|
||||
"value": "1 << 13"
|
||||
},
|
||||
{
|
||||
"calc_value": 16384,
|
||||
"name": "ImGuiMultiSelectFlags_SelectOnClickRelease",
|
||||
"name": "ImGuiMultiSelectFlags_SelectOnClickAlways",
|
||||
"value": "1 << 14"
|
||||
},
|
||||
{
|
||||
"calc_value": 32768,
|
||||
"name": "ImGuiMultiSelectFlags_SelectOnClickRelease",
|
||||
"value": "1 << 15"
|
||||
},
|
||||
{
|
||||
"calc_value": 65536,
|
||||
"name": "ImGuiMultiSelectFlags_NavWrapX",
|
||||
@@ -3498,6 +3503,11 @@
|
||||
"calc_value": 131072,
|
||||
"name": "ImGuiMultiSelectFlags_NoSelectOnRightClick",
|
||||
"value": "1 << 17"
|
||||
},
|
||||
{
|
||||
"calc_value": 57344,
|
||||
"name": "ImGuiMultiSelectFlags_SelectOnMask_",
|
||||
"value": "ImGuiMultiSelectFlags_SelectOnAuto | ImGuiMultiSelectFlags_SelectOnClickAlways | ImGuiMultiSelectFlags_SelectOnClickRelease"
|
||||
}
|
||||
],
|
||||
"ImGuiNavLayer": [
|
||||
@@ -4317,28 +4327,33 @@
|
||||
},
|
||||
{
|
||||
"calc_value": 37,
|
||||
"name": "ImGuiStyleVar_SeparatorTextBorderSize",
|
||||
"name": "ImGuiStyleVar_SeparatorSize",
|
||||
"value": "37"
|
||||
},
|
||||
{
|
||||
"calc_value": 38,
|
||||
"name": "ImGuiStyleVar_SeparatorTextAlign",
|
||||
"name": "ImGuiStyleVar_SeparatorTextBorderSize",
|
||||
"value": "38"
|
||||
},
|
||||
{
|
||||
"calc_value": 39,
|
||||
"name": "ImGuiStyleVar_SeparatorTextPadding",
|
||||
"name": "ImGuiStyleVar_SeparatorTextAlign",
|
||||
"value": "39"
|
||||
},
|
||||
{
|
||||
"calc_value": 40,
|
||||
"name": "ImGuiStyleVar_DockingSeparatorSize",
|
||||
"name": "ImGuiStyleVar_SeparatorTextPadding",
|
||||
"value": "40"
|
||||
},
|
||||
{
|
||||
"calc_value": 41,
|
||||
"name": "ImGuiStyleVar_COUNT",
|
||||
"name": "ImGuiStyleVar_DockingSeparatorSize",
|
||||
"value": "41"
|
||||
},
|
||||
{
|
||||
"calc_value": 42,
|
||||
"name": "ImGuiStyleVar_COUNT",
|
||||
"value": "42"
|
||||
}
|
||||
],
|
||||
"ImGuiTabBarFlagsPrivate_": [
|
||||
@@ -5429,221 +5444,221 @@
|
||||
},
|
||||
"locations": {
|
||||
"ImBitVector": "imgui_internal:670",
|
||||
"ImColor": "imgui:3084",
|
||||
"ImDrawChannel": "imgui:3333",
|
||||
"ImDrawCmd": "imgui:3289",
|
||||
"ImDrawCmdHeader": "imgui:3325",
|
||||
"ImDrawData": "imgui:3554",
|
||||
"ImColor": "imgui:3100",
|
||||
"ImDrawChannel": "imgui:3356",
|
||||
"ImDrawCmd": "imgui:3312",
|
||||
"ImDrawCmdHeader": "imgui:3348",
|
||||
"ImDrawData": "imgui:3577",
|
||||
"ImDrawDataBuilder": "imgui_internal:898",
|
||||
"ImDrawFlags_": "imgui:3358",
|
||||
"ImDrawList": "imgui:3396",
|
||||
"ImDrawListFlags_": "imgui:3378",
|
||||
"ImDrawFlags_": "imgui:3381",
|
||||
"ImDrawList": "imgui:3419",
|
||||
"ImDrawListFlags_": "imgui:3401",
|
||||
"ImDrawListSharedData": "imgui_internal:871",
|
||||
"ImDrawListSplitter": "imgui:3341",
|
||||
"ImDrawListSplitter": "imgui:3364",
|
||||
"ImDrawTextFlags_": "imgui_internal:443",
|
||||
"ImDrawVert": "imgui:3310",
|
||||
"ImFont": "imgui:3980",
|
||||
"ImFontAtlas": "imgui:3781",
|
||||
"ImFontAtlasBuilder": "imgui_internal:4159",
|
||||
"ImFontAtlasFlags_": "imgui:3754",
|
||||
"ImFontAtlasPostProcessData": "imgui_internal:4132",
|
||||
"ImFontAtlasRect": "imgui:3744",
|
||||
"ImFontAtlasRectEntry": "imgui_internal:4124",
|
||||
"ImFontBaked": "imgui:3932",
|
||||
"ImFontConfig": "imgui:3663",
|
||||
"ImFontFlags_": "imgui:3967",
|
||||
"ImFontGlyph": "imgui:3706",
|
||||
"ImFontGlyphRangesBuilder": "imgui:3722",
|
||||
"ImFontLoader": "imgui_internal:4073",
|
||||
"ImDrawVert": "imgui:3333",
|
||||
"ImFont": "imgui:4003",
|
||||
"ImFontAtlas": "imgui:3804",
|
||||
"ImFontAtlasBuilder": "imgui_internal:4176",
|
||||
"ImFontAtlasFlags_": "imgui:3777",
|
||||
"ImFontAtlasPostProcessData": "imgui_internal:4149",
|
||||
"ImFontAtlasRect": "imgui:3767",
|
||||
"ImFontAtlasRectEntry": "imgui_internal:4141",
|
||||
"ImFontBaked": "imgui:3955",
|
||||
"ImFontConfig": "imgui:3686",
|
||||
"ImFontFlags_": "imgui:3990",
|
||||
"ImFontGlyph": "imgui:3729",
|
||||
"ImFontGlyphRangesBuilder": "imgui:3745",
|
||||
"ImFontLoader": "imgui_internal:4090",
|
||||
"ImFontStackData": "imgui_internal:906",
|
||||
"ImGuiActivateFlags_": "imgui_internal:1705",
|
||||
"ImGuiAxis": "imgui_internal:1155",
|
||||
"ImGuiBackendFlags_": "imgui:1800",
|
||||
"ImGuiBoxSelectState": "imgui_internal:1896",
|
||||
"ImGuiActivateFlags_": "imgui_internal:1706",
|
||||
"ImGuiAxis": "imgui_internal:1154",
|
||||
"ImGuiBackendFlags_": "imgui:1803",
|
||||
"ImGuiBoxSelectState": "imgui_internal:1897",
|
||||
"ImGuiButtonFlagsPrivate_": "imgui_internal:1042",
|
||||
"ImGuiButtonFlags_": "imgui:1947",
|
||||
"ImGuiChildFlags_": "imgui:1259",
|
||||
"ImGuiCol_": "imgui:1817",
|
||||
"ImGuiColorEditFlags_": "imgui:1958",
|
||||
"ImGuiButtonFlags_": "imgui:1951",
|
||||
"ImGuiChildFlags_": "imgui:1262",
|
||||
"ImGuiCol_": "imgui:1820",
|
||||
"ImGuiColorEditFlags_": "imgui:1963",
|
||||
"ImGuiColorMod": "imgui_internal:926",
|
||||
"ImGuiComboFlagsPrivate_": "imgui_internal:1069",
|
||||
"ImGuiComboFlags_": "imgui:1421",
|
||||
"ImGuiComboPreviewData": "imgui_internal:1169",
|
||||
"ImGuiCond_": "imgui:2074",
|
||||
"ImGuiConfigFlags_": "imgui:1771",
|
||||
"ImGuiContext": "imgui_internal:2383",
|
||||
"ImGuiContextHook": "imgui_internal:2368",
|
||||
"ImGuiContextHookType": "imgui_internal:2366",
|
||||
"ImGuiDataAuthority_": "imgui_internal:2009",
|
||||
"ImGuiComboFlagsPrivate_": "imgui_internal:1068",
|
||||
"ImGuiComboFlags_": "imgui:1424",
|
||||
"ImGuiComboPreviewData": "imgui_internal:1168",
|
||||
"ImGuiCond_": "imgui:2079",
|
||||
"ImGuiConfigFlags_": "imgui:1775",
|
||||
"ImGuiContext": "imgui_internal:2386",
|
||||
"ImGuiContextHook": "imgui_internal:2369",
|
||||
"ImGuiContextHookType": "imgui_internal:2367",
|
||||
"ImGuiDataAuthority_": "imgui_internal:2010",
|
||||
"ImGuiDataTypeInfo": "imgui_internal:952",
|
||||
"ImGuiDataTypePrivate_": "imgui_internal:961",
|
||||
"ImGuiDataTypeStorage": "imgui_internal:946",
|
||||
"ImGuiDataType_": "imgui:1577",
|
||||
"ImGuiDeactivatedItemData": "imgui_internal:1470",
|
||||
"ImGuiDebugAllocEntry": "imgui_internal:2290",
|
||||
"ImGuiDebugAllocInfo": "imgui_internal:2297",
|
||||
"ImGuiDebugItemPathQuery": "imgui_internal:2337",
|
||||
"ImGuiDebugLogFlags_": "imgui_internal:2267",
|
||||
"ImGuiDir": "imgui:1595",
|
||||
"ImGuiDockContext": "imgui_internal:2112",
|
||||
"ImGuiDockNode": "imgui_internal:2025",
|
||||
"ImGuiDockNodeFlagsPrivate_": "imgui_internal:1977",
|
||||
"ImGuiDockNodeFlags_": "imgui:1529",
|
||||
"ImGuiDockNodeState": "imgui_internal:2016",
|
||||
"ImGuiDragDropFlags_": "imgui:1548",
|
||||
"ImGuiErrorRecoveryState": "imgui_internal:1426",
|
||||
"ImGuiFocusRequestFlags_": "imgui_internal:1115",
|
||||
"ImGuiFocusScopeData": "imgui_internal:1793",
|
||||
"ImGuiFocusedFlags_": "imgui:1475",
|
||||
"ImGuiDataType_": "imgui:1580",
|
||||
"ImGuiDeactivatedItemData": "imgui_internal:1471",
|
||||
"ImGuiDebugAllocEntry": "imgui_internal:2291",
|
||||
"ImGuiDebugAllocInfo": "imgui_internal:2298",
|
||||
"ImGuiDebugItemPathQuery": "imgui_internal:2338",
|
||||
"ImGuiDebugLogFlags_": "imgui_internal:2268",
|
||||
"ImGuiDir": "imgui:1598",
|
||||
"ImGuiDockContext": "imgui_internal:2113",
|
||||
"ImGuiDockNode": "imgui_internal:2026",
|
||||
"ImGuiDockNodeFlagsPrivate_": "imgui_internal:1978",
|
||||
"ImGuiDockNodeFlags_": "imgui:1532",
|
||||
"ImGuiDockNodeState": "imgui_internal:2017",
|
||||
"ImGuiDragDropFlags_": "imgui:1551",
|
||||
"ImGuiErrorRecoveryState": "imgui_internal:1427",
|
||||
"ImGuiFocusRequestFlags_": "imgui_internal:1114",
|
||||
"ImGuiFocusScopeData": "imgui_internal:1794",
|
||||
"ImGuiFocusedFlags_": "imgui:1478",
|
||||
"ImGuiFreeTypeLoaderFlags_": "imgui_freetype:29",
|
||||
"ImGuiGroupData": "imgui_internal:1182",
|
||||
"ImGuiGroupData": "imgui_internal:1181",
|
||||
"ImGuiHoveredFlagsPrivate_": "imgui_internal:1025",
|
||||
"ImGuiHoveredFlags_": "imgui:1489",
|
||||
"ImGuiIDStackTool": "imgui_internal:2351",
|
||||
"ImGuiIO": "imgui:2480",
|
||||
"ImGuiInputEvent": "imgui_internal:1565",
|
||||
"ImGuiInputEventAppFocused": "imgui_internal:1563",
|
||||
"ImGuiInputEventKey": "imgui_internal:1561",
|
||||
"ImGuiInputEventMouseButton": "imgui_internal:1559",
|
||||
"ImGuiInputEventMousePos": "imgui_internal:1557",
|
||||
"ImGuiInputEventMouseViewport": "imgui_internal:1560",
|
||||
"ImGuiInputEventMouseWheel": "imgui_internal:1558",
|
||||
"ImGuiInputEventText": "imgui_internal:1562",
|
||||
"ImGuiInputEventType": "imgui_internal:1533",
|
||||
"ImGuiInputFlagsPrivate_": "imgui_internal:1632",
|
||||
"ImGuiInputFlags_": "imgui:1748",
|
||||
"ImGuiInputSource": "imgui_internal:1546",
|
||||
"ImGuiInputTextCallbackData": "imgui:2743",
|
||||
"ImGuiInputTextDeactivatedState": "imgui_internal:1219",
|
||||
"ImGuiHoveredFlags_": "imgui:1492",
|
||||
"ImGuiIDStackTool": "imgui_internal:2352",
|
||||
"ImGuiIO": "imgui:2486",
|
||||
"ImGuiInputEvent": "imgui_internal:1566",
|
||||
"ImGuiInputEventAppFocused": "imgui_internal:1564",
|
||||
"ImGuiInputEventKey": "imgui_internal:1562",
|
||||
"ImGuiInputEventMouseButton": "imgui_internal:1560",
|
||||
"ImGuiInputEventMousePos": "imgui_internal:1558",
|
||||
"ImGuiInputEventMouseViewport": "imgui_internal:1561",
|
||||
"ImGuiInputEventMouseWheel": "imgui_internal:1559",
|
||||
"ImGuiInputEventText": "imgui_internal:1563",
|
||||
"ImGuiInputEventType": "imgui_internal:1534",
|
||||
"ImGuiInputFlagsPrivate_": "imgui_internal:1633",
|
||||
"ImGuiInputFlags_": "imgui:1751",
|
||||
"ImGuiInputSource": "imgui_internal:1547",
|
||||
"ImGuiInputTextCallbackData": "imgui:2749",
|
||||
"ImGuiInputTextDeactivatedState": "imgui_internal:1218",
|
||||
"ImGuiInputTextFlagsPrivate_": "imgui_internal:1033",
|
||||
"ImGuiInputTextFlags_": "imgui:1294",
|
||||
"ImGuiInputTextState": "imgui_internal:1241",
|
||||
"ImGuiInputTextFlags_": "imgui:1297",
|
||||
"ImGuiInputTextState": "imgui_internal:1240",
|
||||
"ImGuiItemFlagsPrivate_": "imgui_internal:974",
|
||||
"ImGuiItemFlags_": "imgui:1280",
|
||||
"ImGuiItemFlags_": "imgui:1283",
|
||||
"ImGuiItemStatusFlags_": "imgui_internal:998",
|
||||
"ImGuiKey": "imgui:1619",
|
||||
"ImGuiKeyData": "imgui:2472",
|
||||
"ImGuiKeyOwnerData": "imgui_internal:1619",
|
||||
"ImGuiKeyRoutingData": "imgui_internal:1593",
|
||||
"ImGuiKeyRoutingTable": "imgui_internal:1607",
|
||||
"ImGuiLastItemData": "imgui_internal:1395",
|
||||
"ImGuiLayoutType_": "imgui_internal:1136",
|
||||
"ImGuiListClipper": "imgui:2983",
|
||||
"ImGuiListClipperData": "imgui_internal:1689",
|
||||
"ImGuiListClipperFlags_": "imgui:2957",
|
||||
"ImGuiListClipperRange": "imgui_internal:1676",
|
||||
"ImGuiLocEntry": "imgui_internal:2238",
|
||||
"ImGuiLocKey": "imgui_internal:2220",
|
||||
"ImGuiLogFlags_": "imgui_internal:1143",
|
||||
"ImGuiMenuColumns": "imgui_internal:1201",
|
||||
"ImGuiMetricsConfig": "imgui_internal:2307",
|
||||
"ImGuiMouseButton_": "imgui:2032",
|
||||
"ImGuiMouseCursor_": "imgui:2042",
|
||||
"ImGuiMouseSource": "imgui:2063",
|
||||
"ImGuiMultiSelectFlags_": "imgui:3142",
|
||||
"ImGuiMultiSelectIO": "imgui:3170",
|
||||
"ImGuiMultiSelectState": "imgui_internal:1953",
|
||||
"ImGuiMultiSelectTempData": "imgui_internal:1928",
|
||||
"ImGuiNavItemData": "imgui_internal:1776",
|
||||
"ImGuiNavLayer": "imgui_internal:1768",
|
||||
"ImGuiNavMoveFlags_": "imgui_internal:1746",
|
||||
"ImGuiNavRenderCursorFlags_": "imgui_internal:1731",
|
||||
"ImGuiNextItemData": "imgui_internal:1373",
|
||||
"ImGuiNextItemDataFlags_": "imgui_internal:1362",
|
||||
"ImGuiNextWindowData": "imgui_internal:1330",
|
||||
"ImGuiNextWindowDataFlags_": "imgui_internal:1310",
|
||||
"ImGuiOldColumnData": "imgui_internal:1861",
|
||||
"ImGuiOldColumnFlags_": "imgui_internal:1841",
|
||||
"ImGuiOldColumns": "imgui_internal:1871",
|
||||
"ImGuiOnceUponAFrame": "imgui:2846",
|
||||
"ImGuiPayload": "imgui:2811",
|
||||
"ImGuiPlatformIO": "imgui:4165",
|
||||
"ImGuiPlatformImeData": "imgui:4287",
|
||||
"ImGuiPlatformMonitor": "imgui:4277",
|
||||
"ImGuiPlotType": "imgui_internal:1162",
|
||||
"ImGuiPopupData": "imgui_internal:1490",
|
||||
"ImGuiPopupFlags_": "imgui:1384",
|
||||
"ImGuiPopupPositionPolicy": "imgui_internal:1482",
|
||||
"ImGuiPtrOrIndex": "imgui_internal:1460",
|
||||
"ImGuiScrollFlags_": "imgui_internal:1717",
|
||||
"ImGuiSelectableFlagsPrivate_": "imgui_internal:1082",
|
||||
"ImGuiSelectableFlags_": "imgui:1403",
|
||||
"ImGuiSelectionBasicStorage": "imgui:3216",
|
||||
"ImGuiSelectionExternalStorage": "imgui:3239",
|
||||
"ImGuiSelectionRequest": "imgui:3190",
|
||||
"ImGuiSelectionRequestType": "imgui:3182",
|
||||
"ImGuiSeparatorFlags_": "imgui_internal:1104",
|
||||
"ImGuiSettingsHandler": "imgui_internal:2200",
|
||||
"ImGuiShrinkWidthItem": "imgui_internal:1453",
|
||||
"ImGuiSizeCallbackData": "imgui:2780",
|
||||
"ImGuiSliderFlagsPrivate_": "imgui_internal:1075",
|
||||
"ImGuiSliderFlags_": "imgui:2015",
|
||||
"ImGuiSortDirection": "imgui:1606",
|
||||
"ImGuiStackLevelInfo": "imgui_internal:2326",
|
||||
"ImGuiStorage": "imgui:2919",
|
||||
"ImGuiStoragePair": "imgui:2902",
|
||||
"ImGuiStyle": "imgui:2361",
|
||||
"ImGuiKey": "imgui:1622",
|
||||
"ImGuiKeyData": "imgui:2478",
|
||||
"ImGuiKeyOwnerData": "imgui_internal:1620",
|
||||
"ImGuiKeyRoutingData": "imgui_internal:1594",
|
||||
"ImGuiKeyRoutingTable": "imgui_internal:1608",
|
||||
"ImGuiLastItemData": "imgui_internal:1396",
|
||||
"ImGuiLayoutType_": "imgui_internal:1135",
|
||||
"ImGuiListClipper": "imgui:2989",
|
||||
"ImGuiListClipperData": "imgui_internal:1690",
|
||||
"ImGuiListClipperFlags_": "imgui:2963",
|
||||
"ImGuiListClipperRange": "imgui_internal:1677",
|
||||
"ImGuiLocEntry": "imgui_internal:2239",
|
||||
"ImGuiLocKey": "imgui_internal:2221",
|
||||
"ImGuiLogFlags_": "imgui_internal:1142",
|
||||
"ImGuiMenuColumns": "imgui_internal:1200",
|
||||
"ImGuiMetricsConfig": "imgui_internal:2308",
|
||||
"ImGuiMouseButton_": "imgui:2037",
|
||||
"ImGuiMouseCursor_": "imgui:2047",
|
||||
"ImGuiMouseSource": "imgui:2068",
|
||||
"ImGuiMultiSelectFlags_": "imgui:3158",
|
||||
"ImGuiMultiSelectIO": "imgui:3193",
|
||||
"ImGuiMultiSelectState": "imgui_internal:1954",
|
||||
"ImGuiMultiSelectTempData": "imgui_internal:1929",
|
||||
"ImGuiNavItemData": "imgui_internal:1777",
|
||||
"ImGuiNavLayer": "imgui_internal:1769",
|
||||
"ImGuiNavMoveFlags_": "imgui_internal:1747",
|
||||
"ImGuiNavRenderCursorFlags_": "imgui_internal:1732",
|
||||
"ImGuiNextItemData": "imgui_internal:1374",
|
||||
"ImGuiNextItemDataFlags_": "imgui_internal:1363",
|
||||
"ImGuiNextWindowData": "imgui_internal:1331",
|
||||
"ImGuiNextWindowDataFlags_": "imgui_internal:1311",
|
||||
"ImGuiOldColumnData": "imgui_internal:1862",
|
||||
"ImGuiOldColumnFlags_": "imgui_internal:1842",
|
||||
"ImGuiOldColumns": "imgui_internal:1872",
|
||||
"ImGuiOnceUponAFrame": "imgui:2852",
|
||||
"ImGuiPayload": "imgui:2817",
|
||||
"ImGuiPlatformIO": "imgui:4191",
|
||||
"ImGuiPlatformImeData": "imgui:4313",
|
||||
"ImGuiPlatformMonitor": "imgui:4303",
|
||||
"ImGuiPlotType": "imgui_internal:1161",
|
||||
"ImGuiPopupData": "imgui_internal:1491",
|
||||
"ImGuiPopupFlags_": "imgui:1387",
|
||||
"ImGuiPopupPositionPolicy": "imgui_internal:1483",
|
||||
"ImGuiPtrOrIndex": "imgui_internal:1461",
|
||||
"ImGuiScrollFlags_": "imgui_internal:1718",
|
||||
"ImGuiSelectableFlagsPrivate_": "imgui_internal:1081",
|
||||
"ImGuiSelectableFlags_": "imgui:1406",
|
||||
"ImGuiSelectionBasicStorage": "imgui:3239",
|
||||
"ImGuiSelectionExternalStorage": "imgui:3262",
|
||||
"ImGuiSelectionRequest": "imgui:3213",
|
||||
"ImGuiSelectionRequestType": "imgui:3205",
|
||||
"ImGuiSeparatorFlags_": "imgui_internal:1103",
|
||||
"ImGuiSettingsHandler": "imgui_internal:2201",
|
||||
"ImGuiShrinkWidthItem": "imgui_internal:1454",
|
||||
"ImGuiSizeCallbackData": "imgui:2786",
|
||||
"ImGuiSliderFlagsPrivate_": "imgui_internal:1074",
|
||||
"ImGuiSliderFlags_": "imgui:2020",
|
||||
"ImGuiSortDirection": "imgui:1609",
|
||||
"ImGuiStackLevelInfo": "imgui_internal:2327",
|
||||
"ImGuiStorage": "imgui:2925",
|
||||
"ImGuiStoragePair": "imgui:2908",
|
||||
"ImGuiStyle": "imgui:2366",
|
||||
"ImGuiStyleMod": "imgui_internal:933",
|
||||
"ImGuiStyleVarInfo": "imgui_internal:917",
|
||||
"ImGuiStyleVar_": "imgui:1899",
|
||||
"ImGuiTabBar": "imgui_internal:3047",
|
||||
"ImGuiTabBarFlagsPrivate_": "imgui_internal:3009",
|
||||
"ImGuiTabBarFlags_": "imgui:1436",
|
||||
"ImGuiTabItem": "imgui_internal:3027",
|
||||
"ImGuiTabItemFlagsPrivate_": "imgui_internal:3017",
|
||||
"ImGuiTabItemFlags_": "imgui:1460",
|
||||
"ImGuiTable": "imgui_internal:3193",
|
||||
"ImGuiTableBgTarget_": "imgui:2215",
|
||||
"ImGuiTableCellData": "imgui_internal:3161",
|
||||
"ImGuiTableColumn": "imgui_internal:3101",
|
||||
"ImGuiTableColumnFlags_": "imgui:2162",
|
||||
"ImGuiTableColumnSettings": "imgui_internal:3342",
|
||||
"ImGuiTableColumnSortSpecs": "imgui:2237",
|
||||
"ImGuiTableFlags_": "imgui:2109",
|
||||
"ImGuiTableHeaderData": "imgui_internal:3170",
|
||||
"ImGuiTableInstanceData": "imgui_internal:3180",
|
||||
"ImGuiTableRowFlags_": "imgui:2200",
|
||||
"ImGuiTableSettings": "imgui_internal:3366",
|
||||
"ImGuiTableSortSpecs": "imgui:2227",
|
||||
"ImGuiTableTempData": "imgui_internal:3318",
|
||||
"ImGuiTextBuffer": "imgui:2881",
|
||||
"ImGuiTextFilter": "imgui:2854",
|
||||
"ImGuiTextFlags_": "imgui_internal:1122",
|
||||
"ImGuiStyleVar_": "imgui:1902",
|
||||
"ImGuiTabBar": "imgui_internal:3057",
|
||||
"ImGuiTabBarFlagsPrivate_": "imgui_internal:3019",
|
||||
"ImGuiTabBarFlags_": "imgui:1439",
|
||||
"ImGuiTabItem": "imgui_internal:3037",
|
||||
"ImGuiTabItemFlagsPrivate_": "imgui_internal:3027",
|
||||
"ImGuiTabItemFlags_": "imgui:1463",
|
||||
"ImGuiTable": "imgui_internal:3203",
|
||||
"ImGuiTableBgTarget_": "imgui:2220",
|
||||
"ImGuiTableCellData": "imgui_internal:3171",
|
||||
"ImGuiTableColumn": "imgui_internal:3111",
|
||||
"ImGuiTableColumnFlags_": "imgui:2167",
|
||||
"ImGuiTableColumnSettings": "imgui_internal:3353",
|
||||
"ImGuiTableColumnSortSpecs": "imgui:2242",
|
||||
"ImGuiTableFlags_": "imgui:2114",
|
||||
"ImGuiTableHeaderData": "imgui_internal:3180",
|
||||
"ImGuiTableInstanceData": "imgui_internal:3190",
|
||||
"ImGuiTableRowFlags_": "imgui:2205",
|
||||
"ImGuiTableSettings": "imgui_internal:3377",
|
||||
"ImGuiTableSortSpecs": "imgui:2232",
|
||||
"ImGuiTableTempData": "imgui_internal:3329",
|
||||
"ImGuiTextBuffer": "imgui:2887",
|
||||
"ImGuiTextFilter": "imgui:2860",
|
||||
"ImGuiTextFlags_": "imgui_internal:1121",
|
||||
"ImGuiTextIndex": "imgui_internal:823",
|
||||
"ImGuiTextRange": "imgui:2864",
|
||||
"ImGuiTooltipFlags_": "imgui_internal:1128",
|
||||
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:1095",
|
||||
"ImGuiTreeNodeFlags_": "imgui:1345",
|
||||
"ImGuiTreeNodeStackData": "imgui_internal:1414",
|
||||
"ImGuiTypingSelectFlags_": "imgui_internal:1804",
|
||||
"ImGuiTypingSelectRequest": "imgui_internal:1812",
|
||||
"ImGuiTypingSelectState": "imgui_internal:1823",
|
||||
"ImGuiViewport": "imgui:4078",
|
||||
"ImGuiViewportFlags_": "imgui:4050",
|
||||
"ImGuiViewportP": "imgui_internal:2129",
|
||||
"ImGuiWindow": "imgui_internal:2854",
|
||||
"ImGuiWindowBgClickFlags_": "imgui_internal:1304",
|
||||
"ImGuiWindowClass": "imgui:2795",
|
||||
"ImGuiWindowDockStyle": "imgui_internal:2107",
|
||||
"ImGuiWindowDockStyleCol": "imgui_internal:2092",
|
||||
"ImGuiWindowFlags_": "imgui:1208",
|
||||
"ImGuiWindowRefreshFlags_": "imgui_internal:1295",
|
||||
"ImGuiWindowSettings": "imgui_internal:2181",
|
||||
"ImGuiWindowStackData": "imgui_internal:1444",
|
||||
"ImGuiWindowTempData": "imgui_internal:2796",
|
||||
"ImGuiTextRange": "imgui:2870",
|
||||
"ImGuiTooltipFlags_": "imgui_internal:1127",
|
||||
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:1094",
|
||||
"ImGuiTreeNodeFlags_": "imgui:1348",
|
||||
"ImGuiTreeNodeStackData": "imgui_internal:1415",
|
||||
"ImGuiTypingSelectFlags_": "imgui_internal:1805",
|
||||
"ImGuiTypingSelectRequest": "imgui_internal:1813",
|
||||
"ImGuiTypingSelectState": "imgui_internal:1824",
|
||||
"ImGuiViewport": "imgui:4103",
|
||||
"ImGuiViewportFlags_": "imgui:4075",
|
||||
"ImGuiViewportP": "imgui_internal:2130",
|
||||
"ImGuiWindow": "imgui_internal:2864",
|
||||
"ImGuiWindowBgClickFlags_": "imgui_internal:1305",
|
||||
"ImGuiWindowClass": "imgui:2801",
|
||||
"ImGuiWindowDockStyle": "imgui_internal:2108",
|
||||
"ImGuiWindowDockStyleCol": "imgui_internal:2093",
|
||||
"ImGuiWindowFlags_": "imgui:1211",
|
||||
"ImGuiWindowRefreshFlags_": "imgui_internal:1296",
|
||||
"ImGuiWindowSettings": "imgui_internal:2182",
|
||||
"ImGuiWindowStackData": "imgui_internal:1445",
|
||||
"ImGuiWindowTempData": "imgui_internal:2806",
|
||||
"ImRect": "imgui_internal:592",
|
||||
"ImTextureData": "imgui:3619",
|
||||
"ImTextureFormat": "imgui:3587",
|
||||
"ImTextureRect": "imgui:3606",
|
||||
"ImTextureRef": "imgui:370",
|
||||
"ImTextureStatus": "imgui:3594",
|
||||
"ImTextureData": "imgui:3642",
|
||||
"ImTextureFormat": "imgui:3610",
|
||||
"ImTextureRect": "imgui:3629",
|
||||
"ImTextureRef": "imgui:372",
|
||||
"ImTextureStatus": "imgui:3617",
|
||||
"ImVec1": "imgui_internal:566",
|
||||
"ImVec2": "imgui:300",
|
||||
"ImVec2i": "imgui_internal:574",
|
||||
"ImVec2ih": "imgui_internal:582",
|
||||
"ImVec4": "imgui:313",
|
||||
"ImWcharClass": "imgui_internal:455",
|
||||
"stbrp_context_opaque": "imgui_internal:4156"
|
||||
"stbrp_context_opaque": "imgui_internal:4173"
|
||||
},
|
||||
"nonPOD": {
|
||||
"ImBitArray": true,
|
||||
@@ -7333,6 +7348,10 @@
|
||||
"name": "NavLayer",
|
||||
"type": "ImGuiNavLayer"
|
||||
},
|
||||
{
|
||||
"name": "NavIdItemFlags",
|
||||
"type": "ImGuiItemFlags"
|
||||
},
|
||||
{
|
||||
"name": "NavActivateId",
|
||||
"type": "ImGuiID"
|
||||
@@ -7362,6 +7381,14 @@
|
||||
"name": "NavHighlightActivatedTimer",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "NavOpenContextMenuItemId",
|
||||
"type": "ImGuiID"
|
||||
},
|
||||
{
|
||||
"name": "NavOpenContextMenuWindowId",
|
||||
"type": "ImGuiID"
|
||||
},
|
||||
{
|
||||
"name": "NavNextActivateId",
|
||||
"type": "ImGuiID"
|
||||
@@ -7774,6 +7801,10 @@
|
||||
"name": "InputTextPasswordFontBackupFlags",
|
||||
"type": "ImFontFlags"
|
||||
},
|
||||
{
|
||||
"name": "InputTextReactivateId",
|
||||
"type": "ImGuiID"
|
||||
},
|
||||
{
|
||||
"name": "TempInputId",
|
||||
"type": "ImGuiID"
|
||||
@@ -7949,6 +7980,10 @@
|
||||
"name": "HookIdNext",
|
||||
"type": "ImGuiID"
|
||||
},
|
||||
{
|
||||
"name": "DemoMarkerCallback",
|
||||
"type": "ImGuiDemoMarkerCallback"
|
||||
},
|
||||
{
|
||||
"name": "LocalizationTable[ImGuiLocKey_COUNT]",
|
||||
"size": 13,
|
||||
@@ -9330,7 +9365,11 @@
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "Edited",
|
||||
"name": "EditedBefore",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "EditedThisFrame",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
@@ -9464,10 +9503,6 @@
|
||||
}
|
||||
],
|
||||
"ImGuiListClipper": [
|
||||
{
|
||||
"name": "Ctx",
|
||||
"type": "ImGuiContext*"
|
||||
},
|
||||
{
|
||||
"name": "DisplayStart",
|
||||
"type": "int"
|
||||
@@ -9476,6 +9511,10 @@
|
||||
"name": "DisplayEnd",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "UserIndex",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "ItemsCount",
|
||||
"type": "int"
|
||||
@@ -9484,6 +9523,10 @@
|
||||
"name": "ItemsHeight",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "Flags",
|
||||
"type": "ImGuiListClipperFlags"
|
||||
},
|
||||
{
|
||||
"name": "StartPosY",
|
||||
"type": "double"
|
||||
@@ -9493,12 +9536,12 @@
|
||||
"type": "double"
|
||||
},
|
||||
{
|
||||
"name": "TempData",
|
||||
"type": "void*"
|
||||
"name": "Ctx",
|
||||
"type": "ImGuiContext*"
|
||||
},
|
||||
{
|
||||
"name": "Flags",
|
||||
"type": "ImGuiListClipperFlags"
|
||||
"name": "TempData",
|
||||
"type": "void*"
|
||||
}
|
||||
],
|
||||
"ImGuiListClipperData": [
|
||||
@@ -10725,6 +10768,10 @@
|
||||
"name": "SelectableTextAlign",
|
||||
"type": "ImVec2"
|
||||
},
|
||||
{
|
||||
"name": "SeparatorSize",
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "SeparatorTextBorderSize",
|
||||
"type": "float"
|
||||
@@ -11360,12 +11407,16 @@
|
||||
"name": "HeldHeaderColumn",
|
||||
"type": "ImGuiTableColumnIdx"
|
||||
},
|
||||
{
|
||||
"name": "LastHeldHeaderColumn",
|
||||
"type": "ImGuiTableColumnIdx"
|
||||
},
|
||||
{
|
||||
"name": "ReorderColumn",
|
||||
"type": "ImGuiTableColumnIdx"
|
||||
},
|
||||
{
|
||||
"name": "ReorderColumnDir",
|
||||
"name": "ReorderColumnDstOrder",
|
||||
"type": "ImGuiTableColumnIdx"
|
||||
},
|
||||
{
|
||||
@@ -12145,9 +12196,9 @@
|
||||
"type": "short"
|
||||
},
|
||||
{
|
||||
"name": "BgFgDrawListsLastFrame[2]",
|
||||
"name": "BgFgDrawListsLastTimeActive[2]",
|
||||
"size": 2,
|
||||
"type": "int"
|
||||
"type": "float"
|
||||
},
|
||||
{
|
||||
"name": "BgFgDrawLists[2]",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -57,6 +57,7 @@
|
||||
"ImGuiDebugAllocInfo": "struct ImGuiDebugAllocInfo",
|
||||
"ImGuiDebugItemPathQuery": "struct ImGuiDebugItemPathQuery",
|
||||
"ImGuiDebugLogFlags": "int",
|
||||
"ImGuiDemoMarkerCallback": "void (*)(const char* file, int line, const char* section);",
|
||||
"ImGuiDockContext": "struct ImGuiDockContext",
|
||||
"ImGuiDockNode": "struct ImGuiDockNode",
|
||||
"ImGuiDockNodeFlags": "int",
|
||||
|
||||
@@ -57,6 +57,7 @@ local t={
|
||||
ImGuiDebugAllocInfo="struct ImGuiDebugAllocInfo",
|
||||
ImGuiDebugItemPathQuery="struct ImGuiDebugItemPathQuery",
|
||||
ImGuiDebugLogFlags="int",
|
||||
ImGuiDemoMarkerCallback="void (*)(const char* file, int line, const char* section);",
|
||||
ImGuiDockContext="struct ImGuiDockContext",
|
||||
ImGuiDockNode="struct ImGuiDockNode",
|
||||
ImGuiDockNodeFlags="int",
|
||||
|
||||
2
imgui
2
imgui
Submodule imgui updated: 2a1b69f057...f5f6ca07be
Reference in New Issue
Block a user