Compare commits

...

10 Commits

Author SHA1 Message Date
sonoro1234
68483775b3 pull imgui 1.89.1 docking and generate 2022-11-26 08:32:02 +01:00
sonoro1234
0369ceb1b4 generator.lua: use IMGUI_VERSION_NUM 2022-11-25 10:27:13 +01:00
sonoro1234
4f089273b1 cpp2ffi.lua: changes to keep comments from struct and enums (from branch comments4000) 2022-11-16 17:13:33 +01:00
sonoro1234
b0649485e9 correcting errors on last merge: example_glfw_opengl3 2022-11-16 11:15:37 +01:00
Victor Bombi
a0a7ca3ca2 Merge pull request #224 from seafork/docking_inter
Adding an example for GLFW + OpenGL
2022-11-16 11:02:33 +01:00
seafork
3e823cd2ee fixed misspelt cmake file 2022-11-15 23:06:35 -05:00
seafork
6a2b18fa65 made glfw more portable 2022-11-15 22:59:36 -05:00
seafork
75ec483e75 fixed compilation error on windows. 2022-11-15 22:09:06 -05:00
seafork
08f24307b8 cleaned up a comment 2022-11-15 19:44:24 -05:00
seafork
a9a9fa4e9e add example for glfw3 and opengl3 2022-11-15 19:27:21 -05:00
13 changed files with 2303 additions and 1660 deletions

View File

@@ -0,0 +1,103 @@
Project(cimgui_glfw)
cmake_minimum_required(VERSION 3.11)
if(WIN32) # to mingw work as all the others
set(CMAKE_SHARED_LIBRARY_PREFIX "")
endif(WIN32)
set (CMAKE_CXX_STANDARD 11)
# general settings
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../../imgui/backends)
set(BAKENDS_FOLDER "../../imgui/backends/")
else()
set(BAKENDS_FOLDER "../../imgui/examples/")
endif()
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../../imgui/imgui_tables.cpp)
set(TABLES_SOURCE "../../imgui/imgui_tables.cpp")
else()
set(TABLES_SOURCE "")
endif()
include_directories(../../imgui)
add_definitions("-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS=1")
include_directories(../../)
set(IMGUI_SOURCES
../../cimgui.cpp
../../imgui/imgui.cpp
../../imgui/imgui_draw.cpp
../../imgui/imgui_demo.cpp
../../imgui/imgui_widgets.cpp
${TABLES_SOURCE}
)
set(IMGUI_SOURCES_sdl)
set(IMGUI_LIBRARIES )
if (WIN32)
add_definitions("-DIMGUI_IMPL_API=extern \"C\" __declspec\(dllexport\)")
else(WIN32)
add_definitions("-DIMGUI_IMPL_API=extern \"C\" ")
endif(WIN32)
add_compile_definitions("IMGUI_IMPL_OPENGL_LOADER_GL3W")
# optional adding freetype
option(IMGUI_FREETYPE "add Freetype2" OFF)
if(IMGUI_FREETYPE)
FIND_PACKAGE(freetype REQUIRED PATHS ${FREETYPE_PATH})
list(APPEND IMGUI_LIBRARIES freetype)
list(APPEND IMGUI_SOURCES ../../imgui/misc/freetype/imgui_freetype.cpp)
add_definitions("-DCIMGUI_FREETYPE=1")
endif(IMGUI_FREETYPE)
# opengl3
list(APPEND IMGUI_SOURCES ${BAKENDS_FOLDER}imgui_impl_opengl3.cpp)
include_directories(../../imgui/examples/libs/gl3w)
if(WIN32)
list(APPEND IMGUI_LIBRARIES opengl32)
else(WIN32) # Unix
list(APPEND IMGUI_LIBRARIES GL)
endif(WIN32)
# GLFW
list(APPEND IMGUI_SOURCES ${BAKENDS_FOLDER}imgui_impl_glfw.cpp)
set(GLFW_VERSION 3.3.8)
include(FetchContent)
FetchContent_Declare(
glfw
URL https://github.com/glfw/glfw/archive/refs/tags/${GLFW_VERSION}.tar.gz)
FetchContent_GetProperties(glfw)
if (NOT glfw_POPULATED)
set(FETCHCONTENT_QUIET NO)
FetchContent_Populate(glfw)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
add_subdirectory(${glfw_SOURCE_DIR} ${glfw_BINARY_DIR})
endif()
# glfw/imgui gets confused if it is not statically built.
IF (WIN32)
add_library(cimgui STATIC ${IMGUI_SOURCES})
ELSE()
add_library(cimgui SHARED ${IMGUI_SOURCES})
ENDIF()
target_link_libraries(cimgui ${IMGUI_LIBRARIES} glfw)
# using library
include_directories(../../generator/output/)
add_executable(${PROJECT_NAME} main.c)
target_compile_definitions(${PROJECT_NAME} PUBLIC -DCIMGUI_USE_OPENGL3 -DCIMGUI_USE_GLFW)
if (MINGW)
target_link_options(${PROJECT_NAME} PRIVATE "-mconsole")
endif()
target_link_libraries(${PROJECT_NAME} ${IMGUI_SDL_LIBRARY} cimgui)

View File

@@ -0,0 +1,169 @@
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#include "cimgui.h"
#include "cimgui_impl.h"
#include <GLFW/glfw3.h>
#include <stdio.h>
#ifdef _MSC_VER
#include <windows.h>
#endif
#include <GL/gl.h>
#ifdef IMGUI_HAS_IMSTR
#define igBegin igBegin_Str
#define igSliderFloat igSliderFloat_Str
#define igCheckbox igCheckbox_Str
#define igColorEdit3 igColorEdit3_Str
#define igButton igButton_Str
#endif
GLFWwindow *window;
int main(int argc, char *argv[])
{
if (!glfwInit())
return -1;
// Decide GL+GLSL versions
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
#if __APPLE__
// GL 3.2 Core + GLSL 150
const char *glsl_version = "#version 150";
#else
// GL 3.2 + GLSL 130
const char *glsl_version = "#version 130";
#endif
// just an extra window hint for resize
glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);
window = glfwCreateWindow(1024, 768, "Hello World!", NULL, NULL);
if (!window)
{
printf("Failed to create window! Terminating!\n");
glfwTerminate();
return -1;
}
glfwMakeContextCurrent(window);
// enable vsync
glfwSwapInterval(1);
// check opengl version sdl uses
printf("opengl version: %s\n", (char *)glGetString(GL_VERSION));
// setup imgui
igCreateContext(NULL);
// set docking
ImGuiIO *ioptr = igGetIO();
ioptr->ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
//ioptr->ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
#ifdef IMGUI_HAS_DOCK
ioptr->ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
ioptr->ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable Multi-Viewport / Platform Windows
#endif
ImGui_ImplGlfw_InitForOpenGL(window, true);
ImGui_ImplOpenGL3_Init(glsl_version);
igStyleColorsDark(NULL);
// ImFontAtlas_AddFontDefault(io.Fonts, NULL);
bool showDemoWindow = true;
bool showAnotherWindow = false;
ImVec4 clearColor;
clearColor.x = 0.45f;
clearColor.y = 0.55f;
clearColor.z = 0.60f;
clearColor.w = 1.00f;
// main event loop
bool quit = false;
while (!glfwWindowShouldClose(window))
{
glfwPollEvents();
// start imgui frame
ImGui_ImplOpenGL3_NewFrame();
ImGui_ImplGlfw_NewFrame();
igNewFrame();
if (showDemoWindow)
igShowDemoWindow(&showDemoWindow);
// show a simple window that we created ourselves.
{
static float f = 0.0f;
static int counter = 0;
igBegin("Hello, world!", NULL, 0);
igText("This is some useful text");
igCheckbox("Demo window", &showDemoWindow);
igCheckbox("Another window", &showAnotherWindow);
igSliderFloat("Float", &f, 0.0f, 1.0f, "%.3f", 0);
igColorEdit3("clear color", (float *)&clearColor, 0);
ImVec2 buttonSize;
buttonSize.x = 0;
buttonSize.y = 0;
if (igButton("Button", buttonSize))
counter++;
igSameLine(0.0f, -1.0f);
igText("counter = %d", counter);
igText("Application average %.3f ms/frame (%.1f FPS)",
1000.0f / igGetIO()->Framerate, igGetIO()->Framerate);
igEnd();
}
if (showAnotherWindow)
{
igBegin("imgui Another Window", &showAnotherWindow, 0);
igText("Hello from imgui");
ImVec2 buttonSize;
buttonSize.x = 0;
buttonSize.y = 0;
if (igButton("Close me", buttonSize)) {
showAnotherWindow = false;
}
igEnd();
}
// render
igRender();
glfwMakeContextCurrent(window);
glViewport(0, 0, (int)ioptr->DisplaySize.x, (int)ioptr->DisplaySize.y);
glClearColor(clearColor.x, clearColor.y, clearColor.z, clearColor.w);
glClear(GL_COLOR_BUFFER_BIT);
ImGui_ImplOpenGL3_RenderDrawData(igGetDrawData());
#ifdef IMGUI_HAS_DOCK
if (ioptr->ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{
GLFWwindow *backup_current_window = glfwGetCurrentContext();
igUpdatePlatformWindows();
igRenderPlatformWindowsDefault(NULL, NULL);
glfwMakeContextCurrent(backup_current_window);
}
#endif
glfwSwapBuffers(window);
}
// clean up
ImGui_ImplOpenGL3_Shutdown();
ImGui_ImplGlfw_Shutdown();
igDestroyContext(NULL);
glfwDestroyWindow(window);
glfwTerminate();
return 0;
}

View File

@@ -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.89" from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.89.1 WIP" 18910 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
//docking branch
#ifdef IMGUI_ENABLE_FREETYPE
@@ -3976,6 +3976,14 @@ CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name)
{
return ImGui::FindSettingsHandler(type_name);
}
CIMGUI_API void igLocalizeRegisterEntries(const ImGuiLocEntry* entries,int count)
{
return ImGui::LocalizeRegisterEntries(entries,count);
}
CIMGUI_API const char* igLocalizeGetMsg(ImGuiLocKey key)
{
return ImGui::LocalizeGetMsg(key);
}
CIMGUI_API void igSetScrollX_WindowPtr(ImGuiWindow* window,float scroll_x)
{
return ImGui::SetScrollX(window,scroll_x);
@@ -4272,10 +4280,18 @@ CIMGUI_API bool igIsLegacyKey(ImGuiKey key)
{
return ImGui::IsLegacyKey(key);
}
CIMGUI_API bool igIsKeyboardKey(ImGuiKey key)
{
return ImGui::IsKeyboardKey(key);
}
CIMGUI_API bool igIsGamepadKey(ImGuiKey key)
{
return ImGui::IsGamepadKey(key);
}
CIMGUI_API bool igIsMouseKey(ImGuiKey key)
{
return ImGui::IsMouseKey(key);
}
CIMGUI_API bool igIsAliasKey(ImGuiKey key)
{
return ImGui::IsAliasKey(key);

View File

@@ -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.89" from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.89.1 WIP" 18910 from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
//docking branch
#ifndef CIMGUI_INCLUDED
@@ -87,6 +87,7 @@ typedef struct ImGuiDockNodeSettings ImGuiDockNodeSettings;
typedef struct ImGuiGroupData ImGuiGroupData;
typedef struct ImGuiInputTextState ImGuiInputTextState;
typedef struct ImGuiLastItemData ImGuiLastItemData;
typedef struct ImGuiLocEntry ImGuiLocEntry;
typedef struct ImGuiMenuColumns ImGuiMenuColumns;
typedef struct ImGuiNavItemData ImGuiNavItemData;
typedef struct ImGuiMetricsConfig ImGuiMetricsConfig;
@@ -1338,6 +1339,7 @@ struct ImGuiViewport
void* PlatformUserData;
void* PlatformHandle;
void* PlatformHandleRaw;
bool PlatformWindowCreated;
bool PlatformRequestMove;
bool PlatformRequestResize;
bool PlatformRequestClose;
@@ -1401,6 +1403,7 @@ struct ImGuiDockNodeSettings;
struct ImGuiGroupData;
struct ImGuiInputTextState;
struct ImGuiLastItemData;
struct ImGuiLocEntry;
struct ImGuiMenuColumns;
struct ImGuiNavItemData;
struct ImGuiMetricsConfig;
@@ -2172,7 +2175,6 @@ struct ImGuiViewportP
float Alpha;
float LastAlpha;
short PlatformMonitor;
bool PlatformWindowCreated;
ImGuiWindow* Window;
int DrawListsLastFrame[2];
ImDrawList* DrawLists[2];
@@ -2211,6 +2213,21 @@ struct ImGuiSettingsHandler
void (*WriteAllFn)(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* out_buf);
void* UserData;
};
typedef enum {
ImGuiLocKey_TableSizeOne=0,
ImGuiLocKey_TableSizeAllFit=1,
ImGuiLocKey_TableSizeAllDefault=2,
ImGuiLocKey_TableResetOrder=3,
ImGuiLocKey_WindowingMainMenuBar=4,
ImGuiLocKey_WindowingPopup=5,
ImGuiLocKey_WindowingUntitled=6,
ImGuiLocKey_COUNT=7,
}ImGuiLocKey;
struct ImGuiLocEntry
{
ImGuiLocKey Key;
const char* Text;
};
typedef enum {
ImGuiDebugLogFlags_None = 0,
ImGuiDebugLogFlags_EventActiveId = 1 << 0,
@@ -2528,6 +2545,7 @@ struct ImGuiContext
ImChunkStream_ImGuiTableSettings SettingsTables;
ImVector_ImGuiContextHook Hooks;
ImGuiID HookIdNext;
const char* LocalizationTable[ImGuiLocKey_COUNT];
bool LogEnabled;
ImGuiLogType LogType;
ImFileHandle LogFile;
@@ -4037,6 +4055,8 @@ CIMGUI_API ImGuiWindowSettings* igFindOrCreateWindowSettings(const char* name);
CIMGUI_API void igAddSettingsHandler(const ImGuiSettingsHandler* handler);
CIMGUI_API void igRemoveSettingsHandler(const char* type_name);
CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name);
CIMGUI_API void igLocalizeRegisterEntries(const ImGuiLocEntry* entries,int count);
CIMGUI_API const char* igLocalizeGetMsg(ImGuiLocKey key);
CIMGUI_API void igSetScrollX_WindowPtr(ImGuiWindow* window,float scroll_x);
CIMGUI_API void igSetScrollY_WindowPtr(ImGuiWindow* window,float scroll_y);
CIMGUI_API void igSetScrollFromPosX_WindowPtr(ImGuiWindow* window,float local_x,float center_x_ratio);
@@ -4111,7 +4131,9 @@ CIMGUI_API void igSetNavID(ImGuiID id,ImGuiNavLayer nav_layer,ImGuiID focus_scop
CIMGUI_API bool igIsNamedKey(ImGuiKey key);
CIMGUI_API bool igIsNamedKeyOrModKey(ImGuiKey key);
CIMGUI_API bool igIsLegacyKey(ImGuiKey key);
CIMGUI_API bool igIsKeyboardKey(ImGuiKey key);
CIMGUI_API bool igIsGamepadKey(ImGuiKey key);
CIMGUI_API bool igIsMouseKey(ImGuiKey key);
CIMGUI_API bool igIsAliasKey(ImGuiKey key);
CIMGUI_API ImGuiKey igConvertSingleModFlagToKey(ImGuiKey key);
CIMGUI_API ImGuiKeyData* igGetKeyData(ImGuiKey key);

View File

@@ -129,6 +129,23 @@ local function clean_comments(txt)
txt = txt:gsub("%s*//[^\n]*","")
return txt,comms
end
--dont keep commens above empty line
local function clean_outercomms(oc)
local oc2 = {}
for i,v in ipairs(oc) do
--print(string.format("%d\n%q",i,v))
if v:match"\n%s*\n" then
--print(string.format("match:\n%q",v))--,v:match"\n%s*\n"))
v=v:gsub("\n%s*\n","")
--print("clean",v)
oc2 = {}
else
--print"dont clean"
end
table.insert(oc2,v)
end
return table.concat(oc2)--,"\n")
end
local function strip(cad)
return cad:gsub("^%s*(.-)%s*$","%1") --remove initial and final spaces
end
@@ -317,11 +334,13 @@ local function getRE()
functionD_re = "^([^;{}]-%b()[\n%s%w]*%b{}%s-;*)",
--functionD_re = "^([^;{}]-%b()[^{}%(%)]*%b{})",
functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)%s*;",
comment_re = "^%s*//[^\n]*",
comment2_re = "^%s*/%*.-%*/"
comment_re = "^\n*%s*//[^\n]*",
comment2_re = "^%s*/%*.-%*/",
emptyline_re = "^\n%s*\n"
}
local resN = {"comment2_re","comment_re","functypedef_re","functype_re","function_re","functionD_re","typedef_st_re","struct_re","enum_re","union_re","namespace_re","class_re","typedef_re","vardef_re"}
local resN = {"comment2_re","comment_re","emptyline_re",
"functypedef_re","functype_re","function_re","functionD_re","typedef_st_re","struct_re","enum_re","union_re","namespace_re","class_re","typedef_re","vardef_re"}
return res,resN
end
@@ -348,7 +367,7 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
if i then
item = txt:sub(i,e)
--print("re_name",re_name,item)
--print("re_name:",re_name,string.format("%q",item))
------------------
--[[
--if re~=functionD_re then --skip defined functions
@@ -359,7 +378,8 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
table.insert(items[re_name],item)
--]]
--------------------
if re_name=="comment_re" or re_name=="comment2_re" then
if re_name=="comment_re" or re_name=="comment2_re" or re_name=="emptyline_re" then
--print("parit",item)
--[[
table.insert(outercomms,item)
-- comments to previous item
@@ -368,6 +388,13 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
itemarr[#itemarr].comments = prev .. item
end
--]]
--clean initial spaces
--item = item:gsub("^%s*(//.-)$","%1")
--if item:match"^[^\n%S]*" then
--print("commspace1",string.format("%q",item))
item = item:gsub("^[^\n%S]*(//.-)$","%1")
--print("commspace2",string.format("%q",item))
--end
--comments begining with \n will go to next item
if item:match("^%s*\n") then
table.insert(outercomms,item)
@@ -382,7 +409,8 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
--item,inercoms = clean_comments(item)
local itemold = item
item = item:gsub("extern __attribute__%(%(dllexport%)%) ","")
local comments = table.concat(outercomms,"\n") --..inercoms
local comments = clean_outercomms(outercomms)
--local comments = table.concat(outercomms,"\n") --..inercoms
if comments=="" then comments=nil end
outercomms = {}
local loca
@@ -417,7 +445,7 @@ local function parseItems(txt,linenumdict, itparent, dumpit)
else
error"no linenumdict"
end
table.insert(itemarr,{re_name=re_name,item=item,locat=loca})--,comments=comments})
table.insert(itemarr,{re_name=re_name,item=item,locat=loca,prevcomments=comments})
items[re_name] = items[re_name] or {}
table.insert(items[re_name],item)
end
@@ -1178,7 +1206,7 @@ function M.Parser()
end
local defines = {}
local preprocessed = {}--
for line,loca,loca2 in M.location(pipe,names,defines,compiler) do
for line,loca,loca2 in M.location(pipe,names,defines,compiler,self.COMMENTS_GENERATION) do
self:insert(line, tostring(loca)..":"..tostring(loca2))
table.insert(preprocessed,line)--
end
@@ -1413,14 +1441,14 @@ function M.Parser()
it2 = it2:gsub("%s*=.+;",";")
end
table.insert(outtab,it2)
table.insert(commtab,it.comments or "")
table.insert(commtab,{above=it.prevcomments,sameline=it.comments})--it.comments or "")
end
elseif it.re_name == "struct_re" then
--check if has declaration
local decl = it.item:match"%b{}%s*([^%s}{]+)%s*;"
if decl then
table.insert(outtab,"\n "..it.name.." "..decl..";")
table.insert(commtab,it.comments or "")
table.insert(commtab,{above=it.prevcomments,sameline=it.comments})--it.comments or "")
end
local cleanst,structname,strtab,comstab,predec = self:clean_structR1(it,doheader)
if doheader then
@@ -1624,7 +1652,11 @@ function M.Parser()
end
-----------
function par:parse_struct_line(line,outtab,comment)
comment = comment ~= "" and comment or nil
if type(comment)=="string" then
comment = comment ~= "" and comment or nil
else
comment = next(comment) and comment or nil
end
local functype_re = "^%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)"
local functype_reex = "^(%s*[%w%s%*]+%(%*)([%w_]+)(%)%([^%(%)]*%))"
line = clean_spaces(line)
@@ -1677,6 +1709,8 @@ function M.Parser()
print("enumtype",enumtype)
outtab.enumtypes[enumname] = enumtype
end
outtab.enum_comments[enumname] = {sameline=it.comments, above=it.prevcomments}
outtab.enum_comments[enumname] = next(outtab.enum_comments[enumname]) and outtab.enum_comments[enumname] or nil
outtab.enums[enumname] = {}
table.insert(enumsordered,enumname)
local inner = strip_end(it.item:match("%b{}"):sub(2,-2))
@@ -1698,6 +1732,7 @@ function M.Parser()
for j,line in ipairs(enumarr) do
local comment
line, comment = split_comment(line)
comment = comment and comment:gsub("^[^\n%S]*(//.-)$","%1") or nil
assert(line~="")
local name,value = line:match("%s*([%w_]+)%s*=%s*([^,]+)")
if value then
@@ -1725,7 +1760,7 @@ function M.Parser()
par.enums_for_table = enums_for_table
function par:gen_structs_and_enums_table()
print"--------------gen_structs_and_enums_table"
local outtab = {enums={},structs={},locations={},enumtypes={}}
local outtab = {enums={},structs={},locations={},enumtypes={},struct_comments={},enum_comments={}}
self.typedefs_table = {}
local enumsordered = {}
unnamed_enum_counter = 0
@@ -1759,6 +1794,8 @@ function M.Parser()
if not structname then print("NO NAME",cleanst,it.item) end
if structname and not self.typenames[structname] then
outtab.structs[structname] = {}
outtab.struct_comments[structname] = {sameline=it.comments,above=it.prevcomments}
outtab.struct_comments[structname] = next(outtab.struct_comments[structname]) and outtab.struct_comments[structname] or nil
outtab.locations[structname] = it.locat
for j=3,#strtab-1 do
self:parse_struct_line(strtab[j],outtab.structs[structname],comstab[j])
@@ -1829,6 +1866,11 @@ function M.Parser()
end
end
end
--delete comments tables if not desired
if not self.COMMENTS_GENERATION then
outtab.enum_comments = nil
outtab.struct_comments = nil
end
self.structs_and_enums_table = outtab
return outtab
end
@@ -2121,7 +2163,7 @@ M.serializeTableF = function(t)
return M.serializeTable("defs",t).."\nreturn defs"
end
--iterates lines from a gcc/clang -E in a specific location
local function location(file,locpathT,defines,COMPILER)
local function location(file,locpathT,defines,COMPILER,keepemptylines)
local define_re = "^#define%s+([^%s]+)%s+(.+)$"
local number_re = "^-?[0-9]+u*$"
local hex_re = "0x[0-9a-fA-F]+u*$"
@@ -2186,7 +2228,7 @@ local function location(file,locpathT,defines,COMPILER)
local loc_num_real = loc_num + loc_num_incr
loc_num_incr = loc_num_incr + 1
--if doprint then print(which_locationold,which_location) end
if line:match("%S") then --nothing on emptyline
if keepemptylines or line:match("%S") then --nothing on emptyline
if (which_locationold~=which_location) or (loc_num_realold and loc_num_realold < loc_num_real) then
--old line complete
--doprint = false
@@ -2395,11 +2437,22 @@ M.func_header_generate = func_header_generate
local code = [[
enum pedro : int ;
int pedro;
//linea1
//linea2
enum coco
{
uno,
dos
};
]]
local parser = M.Parser()
for line in code:gmatch("[^\n]+") do
--for line in code:gmatch("[^\n]+") do
for line in code:gmatch'(.-)\r?\n' do
--print("inserting",line)
parser:insert(line,"11")
end

View File

@@ -269,12 +269,12 @@ end
--------------------------------------------------------
--get imgui.h version and IMGUI_HAS_DOCK--------------------------
--defines for the cl compiler must be present in the print_defines.cpp file
gdefines = get_defines{"IMGUI_VERSION","FLT_MAX","FLT_MIN","IMGUI_HAS_DOCK","IMGUI_HAS_IMSTR"}
gdefines = get_defines{"IMGUI_VERSION","IMGUI_VERSION_NUM","FLT_MAX","FLT_MIN","IMGUI_HAS_DOCK","IMGUI_HAS_IMSTR"}
if gdefines.IMGUI_HAS_DOCK then gdefines.IMGUI_HAS_DOCK = true end
if gdefines.IMGUI_HAS_IMSTR then gdefines.IMGUI_HAS_IMSTR = true end
cimgui_header = cimgui_header:gsub("XXX",gdefines.IMGUI_VERSION)
cimgui_header = cimgui_header:gsub("XXX",gdefines.IMGUI_VERSION .. " "..(gdefines.IMGUI_VERSION_NUM or ""))
if INTERNAL_GENERATION then
cimgui_header = cimgui_header..[[//with imgui_internal.h api
]]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2695,6 +2695,48 @@
"value": "1"
}
],
"ImGuiLocKey": [
{
"calc_value": 0,
"name": "ImGuiLocKey_TableSizeOne",
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiLocKey_TableSizeAllFit",
"value": "1"
},
{
"calc_value": 2,
"name": "ImGuiLocKey_TableSizeAllDefault",
"value": "2"
},
{
"calc_value": 3,
"name": "ImGuiLocKey_TableResetOrder",
"value": "3"
},
{
"calc_value": 4,
"name": "ImGuiLocKey_WindowingMainMenuBar",
"value": "4"
},
{
"calc_value": 5,
"name": "ImGuiLocKey_WindowingPopup",
"value": "5"
},
{
"calc_value": 6,
"name": "ImGuiLocKey_WindowingUntitled",
"value": "6"
},
{
"calc_value": 7,
"name": "ImGuiLocKey_COUNT",
"value": "7"
}
],
"ImGuiLogType": [
{
"calc_value": 0,
@@ -4434,177 +4476,180 @@
]
},
"enumtypes": {
"ImGuiKey": "int"
"ImGuiKey": "int",
"ImGuiLocKey": "int"
},
"locations": {
"ImBitVector": "imgui_internal:587",
"ImBitVector": "imgui_internal:593",
"ImColor": "imgui:2458",
"ImDrawChannel": "imgui:2548",
"ImDrawCmd": "imgui:2507",
"ImDrawCmdHeader": "imgui:2540",
"ImDrawData": "imgui:2740",
"ImDrawDataBuilder": "imgui_internal:776",
"ImDrawDataBuilder": "imgui_internal:782",
"ImDrawFlags_": "imgui:2574",
"ImDrawList": "imgui:2612",
"ImDrawListFlags_": "imgui:2594",
"ImDrawListSharedData": "imgui_internal:753",
"ImDrawListSharedData": "imgui_internal:759",
"ImDrawListSplitter": "imgui:2557",
"ImDrawVert": "imgui:2525",
"ImFont": "imgui:2959",
"ImFontAtlas": "imgui:2857",
"ImFontAtlasCustomRect": "imgui:2819",
"ImFontAtlasFlags_": "imgui:2832",
"ImFontBuilderIO": "imgui_internal:3433",
"ImFontBuilderIO": "imgui_internal:3475",
"ImFontConfig": "imgui:2763",
"ImFontGlyph": "imgui:2792",
"ImFontGlyphRangesBuilder": "imgui:2804",
"ImGuiActivateFlags_": "imgui_internal:1420",
"ImGuiAxis": "imgui_internal:943",
"ImGuiActivateFlags_": "imgui_internal:1428",
"ImGuiAxis": "imgui_internal:949",
"ImGuiBackendFlags_": "imgui:1579",
"ImGuiButtonFlagsPrivate_": "imgui_internal:847",
"ImGuiButtonFlagsPrivate_": "imgui_internal:853",
"ImGuiButtonFlags_": "imgui:1693",
"ImGuiCol_": "imgui:1594",
"ImGuiColorEditFlags_": "imgui:1706",
"ImGuiColorMod": "imgui_internal:986",
"ImGuiComboFlagsPrivate_": "imgui_internal:872",
"ImGuiColorMod": "imgui_internal:992",
"ImGuiComboFlagsPrivate_": "imgui_internal:878",
"ImGuiComboFlags_": "imgui:1124",
"ImGuiComboPreviewData": "imgui_internal:1003",
"ImGuiComboPreviewData": "imgui_internal:1009",
"ImGuiCond_": "imgui:1797",
"ImGuiConfigFlags_": "imgui:1554",
"ImGuiContext": "imgui_internal:1873",
"ImGuiContextHook": "imgui_internal:1858",
"ImGuiContextHookType": "imgui_internal:1856",
"ImGuiDataAuthority_": "imgui_internal:1591",
"ImGuiDataTypeInfo": "imgui_internal:969",
"ImGuiDataTypePrivate_": "imgui_internal:978",
"ImGuiDataTypeTempStorage": "imgui_internal:963",
"ImGuiContext": "imgui_internal:1904",
"ImGuiContextHook": "imgui_internal:1889",
"ImGuiContextHookType": "imgui_internal:1887",
"ImGuiDataAuthority_": "imgui_internal:1599",
"ImGuiDataTypeInfo": "imgui_internal:975",
"ImGuiDataTypePrivate_": "imgui_internal:984",
"ImGuiDataTypeTempStorage": "imgui_internal:969",
"ImGuiDataType_": "imgui:1376",
"ImGuiDebugLogFlags_": "imgui_internal:1788",
"ImGuiDebugLogFlags_": "imgui_internal:1819",
"ImGuiDir_": "imgui:1392",
"ImGuiDockContext": "imgui_internal:1689",
"ImGuiDockNode": "imgui_internal:1607",
"ImGuiDockNodeFlagsPrivate_": "imgui_internal:1566",
"ImGuiDockContext": "imgui_internal:1697",
"ImGuiDockNode": "imgui_internal:1615",
"ImGuiDockNodeFlagsPrivate_": "imgui_internal:1574",
"ImGuiDockNodeFlags_": "imgui:1341",
"ImGuiDockNodeState": "imgui_internal:1598",
"ImGuiDockNodeState": "imgui_internal:1606",
"ImGuiDragDropFlags_": "imgui:1354",
"ImGuiFocusedFlags_": "imgui:1301",
"ImGuiGroupData": "imgui_internal:1016",
"ImGuiGroupData": "imgui_internal:1022",
"ImGuiHoveredFlags_": "imgui:1315",
"ImGuiIO": "imgui:1974",
"ImGuiInputEvent": "imgui_internal:1278",
"ImGuiInputEventAppFocused": "imgui_internal:1276",
"ImGuiInputEventKey": "imgui_internal:1274",
"ImGuiInputEventMouseButton": "imgui_internal:1272",
"ImGuiInputEventMousePos": "imgui_internal:1270",
"ImGuiInputEventMouseViewport": "imgui_internal:1273",
"ImGuiInputEventMouseWheel": "imgui_internal:1271",
"ImGuiInputEventText": "imgui_internal:1275",
"ImGuiInputEventType": "imgui_internal:1244",
"ImGuiInputFlags_": "imgui_internal:1341",
"ImGuiInputSource": "imgui_internal:1257",
"ImGuiInputEvent": "imgui_internal:1286",
"ImGuiInputEventAppFocused": "imgui_internal:1284",
"ImGuiInputEventKey": "imgui_internal:1282",
"ImGuiInputEventMouseButton": "imgui_internal:1280",
"ImGuiInputEventMousePos": "imgui_internal:1278",
"ImGuiInputEventMouseViewport": "imgui_internal:1281",
"ImGuiInputEventMouseWheel": "imgui_internal:1279",
"ImGuiInputEventText": "imgui_internal:1283",
"ImGuiInputEventType": "imgui_internal:1252",
"ImGuiInputFlags_": "imgui_internal:1349",
"ImGuiInputSource": "imgui_internal:1265",
"ImGuiInputTextCallbackData": "imgui:2162",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:838",
"ImGuiInputTextFlagsPrivate_": "imgui_internal:844",
"ImGuiInputTextFlags_": "imgui:1036",
"ImGuiInputTextState": "imgui_internal:1051",
"ImGuiItemFlags_": "imgui_internal:795",
"ImGuiItemStatusFlags_": "imgui_internal:815",
"ImGuiInputTextState": "imgui_internal:1057",
"ImGuiItemFlags_": "imgui_internal:801",
"ImGuiItemStatusFlags_": "imgui_internal:821",
"ImGuiKey": "imgui:1413",
"ImGuiKeyData": "imgui:1966",
"ImGuiKeyOwnerData": "imgui_internal:1329",
"ImGuiKeyRoutingData": "imgui_internal:1304",
"ImGuiKeyRoutingTable": "imgui_internal:1317",
"ImGuiLastItemData": "imgui_internal:1165",
"ImGuiLayoutType_": "imgui_internal:927",
"ImGuiKeyOwnerData": "imgui_internal:1337",
"ImGuiKeyRoutingData": "imgui_internal:1312",
"ImGuiKeyRoutingTable": "imgui_internal:1325",
"ImGuiLastItemData": "imgui_internal:1171",
"ImGuiLayoutType_": "imgui_internal:933",
"ImGuiListClipper": "imgui:2407",
"ImGuiListClipperData": "imgui_internal:1404",
"ImGuiListClipperRange": "imgui_internal:1391",
"ImGuiLogType": "imgui_internal:933",
"ImGuiMenuColumns": "imgui_internal:1032",
"ImGuiMetricsConfig": "imgui_internal:1804",
"ImGuiListClipperData": "imgui_internal:1412",
"ImGuiListClipperRange": "imgui_internal:1399",
"ImGuiLocEntry": "imgui_internal:1808",
"ImGuiLocKey": "imgui_internal:1796",
"ImGuiLogType": "imgui_internal:939",
"ImGuiMenuColumns": "imgui_internal:1038",
"ImGuiMetricsConfig": "imgui_internal:1835",
"ImGuiMouseButton_": "imgui:1769",
"ImGuiMouseCursor_": "imgui:1779",
"ImGuiNavHighlightFlags_": "imgui_internal:1443",
"ImGuiNavHighlightFlags_": "imgui_internal:1451",
"ImGuiNavInput": "imgui:1545",
"ImGuiNavItemData": "imgui_internal:1477",
"ImGuiNavLayer": "imgui_internal:1470",
"ImGuiNavMoveFlags_": "imgui_internal:1452",
"ImGuiNextItemData": "imgui_internal:1152",
"ImGuiNextItemDataFlags_": "imgui_internal:1145",
"ImGuiNextWindowData": "imgui_internal:1118",
"ImGuiNextWindowDataFlags_": "imgui_internal:1101",
"ImGuiOldColumnData": "imgui_internal:1517",
"ImGuiOldColumnFlags_": "imgui_internal:1497",
"ImGuiOldColumns": "imgui_internal:1527",
"ImGuiNavItemData": "imgui_internal:1485",
"ImGuiNavLayer": "imgui_internal:1478",
"ImGuiNavMoveFlags_": "imgui_internal:1460",
"ImGuiNextItemData": "imgui_internal:1158",
"ImGuiNextItemDataFlags_": "imgui_internal:1151",
"ImGuiNextWindowData": "imgui_internal:1124",
"ImGuiNextWindowDataFlags_": "imgui_internal:1107",
"ImGuiOldColumnData": "imgui_internal:1525",
"ImGuiOldColumnFlags_": "imgui_internal:1505",
"ImGuiOldColumns": "imgui_internal:1535",
"ImGuiOnceUponAFrame": "imgui:2282",
"ImGuiPayload": "imgui:2223",
"ImGuiPlatformIO": "imgui:3123",
"ImGuiPlatformImeData": "imgui:3195",
"ImGuiPlatformMonitor": "imgui:3186",
"ImGuiPlotType": "imgui_internal:950",
"ImGuiPopupData": "imgui_internal:1087",
"ImGuiPlatformIO": "imgui:3124",
"ImGuiPlatformImeData": "imgui:3196",
"ImGuiPlatformMonitor": "imgui:3187",
"ImGuiPlotType": "imgui_internal:956",
"ImGuiPopupData": "imgui_internal:1093",
"ImGuiPopupFlags_": "imgui:1097",
"ImGuiPopupPositionPolicy": "imgui_internal:956",
"ImGuiPtrOrIndex": "imgui_internal:1209",
"ImGuiScrollFlags_": "imgui_internal:1429",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:885",
"ImGuiPopupPositionPolicy": "imgui_internal:962",
"ImGuiPtrOrIndex": "imgui_internal:1215",
"ImGuiScrollFlags_": "imgui_internal:1437",
"ImGuiSelectableFlagsPrivate_": "imgui_internal:891",
"ImGuiSelectableFlags_": "imgui:1113",
"ImGuiSeparatorFlags_": "imgui_internal:905",
"ImGuiSettingsHandler": "imgui_internal:1769",
"ImGuiShrinkWidthItem": "imgui_internal:1202",
"ImGuiSeparatorFlags_": "imgui_internal:911",
"ImGuiSettingsHandler": "imgui_internal:1776",
"ImGuiShrinkWidthItem": "imgui_internal:1208",
"ImGuiSizeCallbackData": "imgui:2193",
"ImGuiSliderFlagsPrivate_": "imgui_internal:878",
"ImGuiSliderFlagsPrivate_": "imgui_internal:884",
"ImGuiSliderFlags_": "imgui:1752",
"ImGuiSortDirection_": "imgui:1403",
"ImGuiStackLevelInfo": "imgui_internal:1827",
"ImGuiStackSizes": "imgui_internal:1177",
"ImGuiStackTool": "imgui_internal:1839",
"ImGuiStackLevelInfo": "imgui_internal:1858",
"ImGuiStackSizes": "imgui_internal:1183",
"ImGuiStackTool": "imgui_internal:1870",
"ImGuiStorage": "imgui:2344",
"ImGuiStoragePair": "imgui:2347",
"ImGuiStyle": "imgui:1909",
"ImGuiStyleMod": "imgui_internal:993",
"ImGuiStyleMod": "imgui_internal:999",
"ImGuiStyleVar_": "imgui:1661",
"ImGuiTabBar": "imgui_internal:2575",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:2537",
"ImGuiTabBar": "imgui_internal:2611",
"ImGuiTabBarFlagsPrivate_": "imgui_internal:2573",
"ImGuiTabBarFlags_": "imgui:1138",
"ImGuiTabItem": "imgui_internal:2555",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:2545",
"ImGuiTabItem": "imgui_internal:2591",
"ImGuiTabItemFlagsPrivate_": "imgui_internal:2581",
"ImGuiTabItemFlags_": "imgui:1154",
"ImGuiTable": "imgui_internal:2711",
"ImGuiTable": "imgui_internal:2747",
"ImGuiTableBgTarget_": "imgui:1292",
"ImGuiTableCellData": "imgui_internal:2695",
"ImGuiTableColumn": "imgui_internal:2636",
"ImGuiTableCellData": "imgui_internal:2731",
"ImGuiTableColumn": "imgui_internal:2672",
"ImGuiTableColumnFlags_": "imgui:1240",
"ImGuiTableColumnSettings": "imgui_internal:2846",
"ImGuiTableColumnSettings": "imgui_internal:2882",
"ImGuiTableColumnSortSpecs": "imgui:2245",
"ImGuiTableFlags_": "imgui:1189",
"ImGuiTableInstanceData": "imgui_internal:2702",
"ImGuiTableInstanceData": "imgui_internal:2738",
"ImGuiTableRowFlags_": "imgui:1277",
"ImGuiTableSettings": "imgui_internal:2870",
"ImGuiTableSettings": "imgui_internal:2906",
"ImGuiTableSortSpecs": "imgui:2259",
"ImGuiTableTempData": "imgui_internal:2825",
"ImGuiTableTempData": "imgui_internal:2861",
"ImGuiTextBuffer": "imgui:2317",
"ImGuiTextFilter": "imgui:2290",
"ImGuiTextFlags_": "imgui_internal:913",
"ImGuiTextIndex": "imgui_internal:710",
"ImGuiTextFlags_": "imgui_internal:919",
"ImGuiTextIndex": "imgui_internal:716",
"ImGuiTextRange": "imgui:2300",
"ImGuiTooltipFlags_": "imgui_internal:919",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:900",
"ImGuiTooltipFlags_": "imgui_internal:925",
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:906",
"ImGuiTreeNodeFlags_": "imgui:1068",
"ImGuiViewport": "imgui:3040",
"ImGuiViewportFlags_": "imgui:3015",
"ImGuiViewportP": "imgui_internal:1706",
"ImGuiWindow": "imgui_internal:2393",
"ImGuiViewportP": "imgui_internal:1714",
"ImGuiWindow": "imgui_internal:2429",
"ImGuiWindowClass": "imgui:2208",
"ImGuiWindowDockStyle": "imgui_internal:1684",
"ImGuiWindowDockStyleCol": "imgui_internal:1673",
"ImGuiWindowDockStyle": "imgui_internal:1692",
"ImGuiWindowDockStyleCol": "imgui_internal:1681",
"ImGuiWindowFlags_": "imgui:995",
"ImGuiWindowSettings": "imgui_internal:1752",
"ImGuiWindowStackData": "imgui_internal:1195",
"ImGuiWindowTempData": "imgui_internal:2345",
"ImRect": "imgui_internal:515",
"ImVec1": "imgui_internal:497",
"ImGuiWindowSettings": "imgui_internal:1759",
"ImGuiWindowStackData": "imgui_internal:1201",
"ImGuiWindowTempData": "imgui_internal:2381",
"ImRect": "imgui_internal:521",
"ImVec1": "imgui_internal:503",
"ImVec2": "imgui:259",
"ImVec2ih": "imgui_internal:505",
"ImVec2ih": "imgui_internal:511",
"ImVec4": "imgui:272",
"STB_TexteditState": "imstb_textedit:319",
"StbTexteditRow": "imstb_textedit:366",
@@ -6149,6 +6194,11 @@
"name": "HookIdNext",
"type": "ImGuiID"
},
{
"name": "LocalizationTable[ImGuiLocKey_COUNT]",
"size": 7,
"type": "const char*"
},
{
"name": "LogEnabled",
"type": "bool"
@@ -7339,6 +7389,16 @@
"type": "ImS8"
}
],
"ImGuiLocEntry": [
{
"name": "Key",
"type": "ImGuiLocKey"
},
{
"name": "Text",
"type": "const char*"
}
],
"ImGuiMenuColumns": [
{
"name": "TotalWidth",
@@ -9260,6 +9320,10 @@
"name": "PlatformHandleRaw",
"type": "void*"
},
{
"name": "PlatformWindowCreated",
"type": "bool"
},
{
"name": "PlatformRequestMove",
"type": "bool"
@@ -9310,10 +9374,6 @@
"name": "PlatformMonitor",
"type": "short"
},
{
"name": "PlatformWindowCreated",
"type": "bool"
},
{
"name": "Window",
"type": "ImGuiWindow*"

View File

@@ -2135,6 +2135,39 @@ defs["enums"]["ImGuiLayoutType_"][2] = {}
defs["enums"]["ImGuiLayoutType_"][2]["calc_value"] = 1
defs["enums"]["ImGuiLayoutType_"][2]["name"] = "ImGuiLayoutType_Vertical"
defs["enums"]["ImGuiLayoutType_"][2]["value"] = "1"
defs["enums"]["ImGuiLocKey"] = {}
defs["enums"]["ImGuiLocKey"][1] = {}
defs["enums"]["ImGuiLocKey"][1]["calc_value"] = 0
defs["enums"]["ImGuiLocKey"][1]["name"] = "ImGuiLocKey_TableSizeOne"
defs["enums"]["ImGuiLocKey"][1]["value"] = "0"
defs["enums"]["ImGuiLocKey"][2] = {}
defs["enums"]["ImGuiLocKey"][2]["calc_value"] = 1
defs["enums"]["ImGuiLocKey"][2]["name"] = "ImGuiLocKey_TableSizeAllFit"
defs["enums"]["ImGuiLocKey"][2]["value"] = "1"
defs["enums"]["ImGuiLocKey"][3] = {}
defs["enums"]["ImGuiLocKey"][3]["calc_value"] = 2
defs["enums"]["ImGuiLocKey"][3]["name"] = "ImGuiLocKey_TableSizeAllDefault"
defs["enums"]["ImGuiLocKey"][3]["value"] = "2"
defs["enums"]["ImGuiLocKey"][4] = {}
defs["enums"]["ImGuiLocKey"][4]["calc_value"] = 3
defs["enums"]["ImGuiLocKey"][4]["name"] = "ImGuiLocKey_TableResetOrder"
defs["enums"]["ImGuiLocKey"][4]["value"] = "3"
defs["enums"]["ImGuiLocKey"][5] = {}
defs["enums"]["ImGuiLocKey"][5]["calc_value"] = 4
defs["enums"]["ImGuiLocKey"][5]["name"] = "ImGuiLocKey_WindowingMainMenuBar"
defs["enums"]["ImGuiLocKey"][5]["value"] = "4"
defs["enums"]["ImGuiLocKey"][6] = {}
defs["enums"]["ImGuiLocKey"][6]["calc_value"] = 5
defs["enums"]["ImGuiLocKey"][6]["name"] = "ImGuiLocKey_WindowingPopup"
defs["enums"]["ImGuiLocKey"][6]["value"] = "5"
defs["enums"]["ImGuiLocKey"][7] = {}
defs["enums"]["ImGuiLocKey"][7]["calc_value"] = 6
defs["enums"]["ImGuiLocKey"][7]["name"] = "ImGuiLocKey_WindowingUntitled"
defs["enums"]["ImGuiLocKey"][7]["value"] = "6"
defs["enums"]["ImGuiLocKey"][8] = {}
defs["enums"]["ImGuiLocKey"][8]["calc_value"] = 7
defs["enums"]["ImGuiLocKey"][8]["name"] = "ImGuiLocKey_COUNT"
defs["enums"]["ImGuiLocKey"][8]["value"] = "7"
defs["enums"]["ImGuiLogType"] = {}
defs["enums"]["ImGuiLogType"][1] = {}
defs["enums"]["ImGuiLogType"][1]["calc_value"] = 0
@@ -3505,175 +3538,178 @@ defs["enums"]["ImGuiWindowFlags_"][32]["name"] = "ImGuiWindowFlags_DockNodeHost"
defs["enums"]["ImGuiWindowFlags_"][32]["value"] = "1 << 29"
defs["enumtypes"] = {}
defs["enumtypes"]["ImGuiKey"] = "int"
defs["enumtypes"]["ImGuiLocKey"] = "int"
defs["locations"] = {}
defs["locations"]["ImBitVector"] = "imgui_internal:587"
defs["locations"]["ImBitVector"] = "imgui_internal:593"
defs["locations"]["ImColor"] = "imgui:2458"
defs["locations"]["ImDrawChannel"] = "imgui:2548"
defs["locations"]["ImDrawCmd"] = "imgui:2507"
defs["locations"]["ImDrawCmdHeader"] = "imgui:2540"
defs["locations"]["ImDrawData"] = "imgui:2740"
defs["locations"]["ImDrawDataBuilder"] = "imgui_internal:776"
defs["locations"]["ImDrawDataBuilder"] = "imgui_internal:782"
defs["locations"]["ImDrawFlags_"] = "imgui:2574"
defs["locations"]["ImDrawList"] = "imgui:2612"
defs["locations"]["ImDrawListFlags_"] = "imgui:2594"
defs["locations"]["ImDrawListSharedData"] = "imgui_internal:753"
defs["locations"]["ImDrawListSharedData"] = "imgui_internal:759"
defs["locations"]["ImDrawListSplitter"] = "imgui:2557"
defs["locations"]["ImDrawVert"] = "imgui:2525"
defs["locations"]["ImFont"] = "imgui:2959"
defs["locations"]["ImFontAtlas"] = "imgui:2857"
defs["locations"]["ImFontAtlasCustomRect"] = "imgui:2819"
defs["locations"]["ImFontAtlasFlags_"] = "imgui:2832"
defs["locations"]["ImFontBuilderIO"] = "imgui_internal:3433"
defs["locations"]["ImFontBuilderIO"] = "imgui_internal:3475"
defs["locations"]["ImFontConfig"] = "imgui:2763"
defs["locations"]["ImFontGlyph"] = "imgui:2792"
defs["locations"]["ImFontGlyphRangesBuilder"] = "imgui:2804"
defs["locations"]["ImGuiActivateFlags_"] = "imgui_internal:1420"
defs["locations"]["ImGuiAxis"] = "imgui_internal:943"
defs["locations"]["ImGuiActivateFlags_"] = "imgui_internal:1428"
defs["locations"]["ImGuiAxis"] = "imgui_internal:949"
defs["locations"]["ImGuiBackendFlags_"] = "imgui:1579"
defs["locations"]["ImGuiButtonFlagsPrivate_"] = "imgui_internal:847"
defs["locations"]["ImGuiButtonFlagsPrivate_"] = "imgui_internal:853"
defs["locations"]["ImGuiButtonFlags_"] = "imgui:1693"
defs["locations"]["ImGuiCol_"] = "imgui:1594"
defs["locations"]["ImGuiColorEditFlags_"] = "imgui:1706"
defs["locations"]["ImGuiColorMod"] = "imgui_internal:986"
defs["locations"]["ImGuiComboFlagsPrivate_"] = "imgui_internal:872"
defs["locations"]["ImGuiColorMod"] = "imgui_internal:992"
defs["locations"]["ImGuiComboFlagsPrivate_"] = "imgui_internal:878"
defs["locations"]["ImGuiComboFlags_"] = "imgui:1124"
defs["locations"]["ImGuiComboPreviewData"] = "imgui_internal:1003"
defs["locations"]["ImGuiComboPreviewData"] = "imgui_internal:1009"
defs["locations"]["ImGuiCond_"] = "imgui:1797"
defs["locations"]["ImGuiConfigFlags_"] = "imgui:1554"
defs["locations"]["ImGuiContext"] = "imgui_internal:1873"
defs["locations"]["ImGuiContextHook"] = "imgui_internal:1858"
defs["locations"]["ImGuiContextHookType"] = "imgui_internal:1856"
defs["locations"]["ImGuiDataAuthority_"] = "imgui_internal:1591"
defs["locations"]["ImGuiDataTypeInfo"] = "imgui_internal:969"
defs["locations"]["ImGuiDataTypePrivate_"] = "imgui_internal:978"
defs["locations"]["ImGuiDataTypeTempStorage"] = "imgui_internal:963"
defs["locations"]["ImGuiContext"] = "imgui_internal:1904"
defs["locations"]["ImGuiContextHook"] = "imgui_internal:1889"
defs["locations"]["ImGuiContextHookType"] = "imgui_internal:1887"
defs["locations"]["ImGuiDataAuthority_"] = "imgui_internal:1599"
defs["locations"]["ImGuiDataTypeInfo"] = "imgui_internal:975"
defs["locations"]["ImGuiDataTypePrivate_"] = "imgui_internal:984"
defs["locations"]["ImGuiDataTypeTempStorage"] = "imgui_internal:969"
defs["locations"]["ImGuiDataType_"] = "imgui:1376"
defs["locations"]["ImGuiDebugLogFlags_"] = "imgui_internal:1788"
defs["locations"]["ImGuiDebugLogFlags_"] = "imgui_internal:1819"
defs["locations"]["ImGuiDir_"] = "imgui:1392"
defs["locations"]["ImGuiDockContext"] = "imgui_internal:1689"
defs["locations"]["ImGuiDockNode"] = "imgui_internal:1607"
defs["locations"]["ImGuiDockNodeFlagsPrivate_"] = "imgui_internal:1566"
defs["locations"]["ImGuiDockContext"] = "imgui_internal:1697"
defs["locations"]["ImGuiDockNode"] = "imgui_internal:1615"
defs["locations"]["ImGuiDockNodeFlagsPrivate_"] = "imgui_internal:1574"
defs["locations"]["ImGuiDockNodeFlags_"] = "imgui:1341"
defs["locations"]["ImGuiDockNodeState"] = "imgui_internal:1598"
defs["locations"]["ImGuiDockNodeState"] = "imgui_internal:1606"
defs["locations"]["ImGuiDragDropFlags_"] = "imgui:1354"
defs["locations"]["ImGuiFocusedFlags_"] = "imgui:1301"
defs["locations"]["ImGuiGroupData"] = "imgui_internal:1016"
defs["locations"]["ImGuiGroupData"] = "imgui_internal:1022"
defs["locations"]["ImGuiHoveredFlags_"] = "imgui:1315"
defs["locations"]["ImGuiIO"] = "imgui:1974"
defs["locations"]["ImGuiInputEvent"] = "imgui_internal:1278"
defs["locations"]["ImGuiInputEventAppFocused"] = "imgui_internal:1276"
defs["locations"]["ImGuiInputEventKey"] = "imgui_internal:1274"
defs["locations"]["ImGuiInputEventMouseButton"] = "imgui_internal:1272"
defs["locations"]["ImGuiInputEventMousePos"] = "imgui_internal:1270"
defs["locations"]["ImGuiInputEventMouseViewport"] = "imgui_internal:1273"
defs["locations"]["ImGuiInputEventMouseWheel"] = "imgui_internal:1271"
defs["locations"]["ImGuiInputEventText"] = "imgui_internal:1275"
defs["locations"]["ImGuiInputEventType"] = "imgui_internal:1244"
defs["locations"]["ImGuiInputFlags_"] = "imgui_internal:1341"
defs["locations"]["ImGuiInputSource"] = "imgui_internal:1257"
defs["locations"]["ImGuiInputEvent"] = "imgui_internal:1286"
defs["locations"]["ImGuiInputEventAppFocused"] = "imgui_internal:1284"
defs["locations"]["ImGuiInputEventKey"] = "imgui_internal:1282"
defs["locations"]["ImGuiInputEventMouseButton"] = "imgui_internal:1280"
defs["locations"]["ImGuiInputEventMousePos"] = "imgui_internal:1278"
defs["locations"]["ImGuiInputEventMouseViewport"] = "imgui_internal:1281"
defs["locations"]["ImGuiInputEventMouseWheel"] = "imgui_internal:1279"
defs["locations"]["ImGuiInputEventText"] = "imgui_internal:1283"
defs["locations"]["ImGuiInputEventType"] = "imgui_internal:1252"
defs["locations"]["ImGuiInputFlags_"] = "imgui_internal:1349"
defs["locations"]["ImGuiInputSource"] = "imgui_internal:1265"
defs["locations"]["ImGuiInputTextCallbackData"] = "imgui:2162"
defs["locations"]["ImGuiInputTextFlagsPrivate_"] = "imgui_internal:838"
defs["locations"]["ImGuiInputTextFlagsPrivate_"] = "imgui_internal:844"
defs["locations"]["ImGuiInputTextFlags_"] = "imgui:1036"
defs["locations"]["ImGuiInputTextState"] = "imgui_internal:1051"
defs["locations"]["ImGuiItemFlags_"] = "imgui_internal:795"
defs["locations"]["ImGuiItemStatusFlags_"] = "imgui_internal:815"
defs["locations"]["ImGuiInputTextState"] = "imgui_internal:1057"
defs["locations"]["ImGuiItemFlags_"] = "imgui_internal:801"
defs["locations"]["ImGuiItemStatusFlags_"] = "imgui_internal:821"
defs["locations"]["ImGuiKey"] = "imgui:1413"
defs["locations"]["ImGuiKeyData"] = "imgui:1966"
defs["locations"]["ImGuiKeyOwnerData"] = "imgui_internal:1329"
defs["locations"]["ImGuiKeyRoutingData"] = "imgui_internal:1304"
defs["locations"]["ImGuiKeyRoutingTable"] = "imgui_internal:1317"
defs["locations"]["ImGuiLastItemData"] = "imgui_internal:1165"
defs["locations"]["ImGuiLayoutType_"] = "imgui_internal:927"
defs["locations"]["ImGuiKeyOwnerData"] = "imgui_internal:1337"
defs["locations"]["ImGuiKeyRoutingData"] = "imgui_internal:1312"
defs["locations"]["ImGuiKeyRoutingTable"] = "imgui_internal:1325"
defs["locations"]["ImGuiLastItemData"] = "imgui_internal:1171"
defs["locations"]["ImGuiLayoutType_"] = "imgui_internal:933"
defs["locations"]["ImGuiListClipper"] = "imgui:2407"
defs["locations"]["ImGuiListClipperData"] = "imgui_internal:1404"
defs["locations"]["ImGuiListClipperRange"] = "imgui_internal:1391"
defs["locations"]["ImGuiLogType"] = "imgui_internal:933"
defs["locations"]["ImGuiMenuColumns"] = "imgui_internal:1032"
defs["locations"]["ImGuiMetricsConfig"] = "imgui_internal:1804"
defs["locations"]["ImGuiListClipperData"] = "imgui_internal:1412"
defs["locations"]["ImGuiListClipperRange"] = "imgui_internal:1399"
defs["locations"]["ImGuiLocEntry"] = "imgui_internal:1808"
defs["locations"]["ImGuiLocKey"] = "imgui_internal:1796"
defs["locations"]["ImGuiLogType"] = "imgui_internal:939"
defs["locations"]["ImGuiMenuColumns"] = "imgui_internal:1038"
defs["locations"]["ImGuiMetricsConfig"] = "imgui_internal:1835"
defs["locations"]["ImGuiMouseButton_"] = "imgui:1769"
defs["locations"]["ImGuiMouseCursor_"] = "imgui:1779"
defs["locations"]["ImGuiNavHighlightFlags_"] = "imgui_internal:1443"
defs["locations"]["ImGuiNavHighlightFlags_"] = "imgui_internal:1451"
defs["locations"]["ImGuiNavInput"] = "imgui:1545"
defs["locations"]["ImGuiNavItemData"] = "imgui_internal:1477"
defs["locations"]["ImGuiNavLayer"] = "imgui_internal:1470"
defs["locations"]["ImGuiNavMoveFlags_"] = "imgui_internal:1452"
defs["locations"]["ImGuiNextItemData"] = "imgui_internal:1152"
defs["locations"]["ImGuiNextItemDataFlags_"] = "imgui_internal:1145"
defs["locations"]["ImGuiNextWindowData"] = "imgui_internal:1118"
defs["locations"]["ImGuiNextWindowDataFlags_"] = "imgui_internal:1101"
defs["locations"]["ImGuiOldColumnData"] = "imgui_internal:1517"
defs["locations"]["ImGuiOldColumnFlags_"] = "imgui_internal:1497"
defs["locations"]["ImGuiOldColumns"] = "imgui_internal:1527"
defs["locations"]["ImGuiNavItemData"] = "imgui_internal:1485"
defs["locations"]["ImGuiNavLayer"] = "imgui_internal:1478"
defs["locations"]["ImGuiNavMoveFlags_"] = "imgui_internal:1460"
defs["locations"]["ImGuiNextItemData"] = "imgui_internal:1158"
defs["locations"]["ImGuiNextItemDataFlags_"] = "imgui_internal:1151"
defs["locations"]["ImGuiNextWindowData"] = "imgui_internal:1124"
defs["locations"]["ImGuiNextWindowDataFlags_"] = "imgui_internal:1107"
defs["locations"]["ImGuiOldColumnData"] = "imgui_internal:1525"
defs["locations"]["ImGuiOldColumnFlags_"] = "imgui_internal:1505"
defs["locations"]["ImGuiOldColumns"] = "imgui_internal:1535"
defs["locations"]["ImGuiOnceUponAFrame"] = "imgui:2282"
defs["locations"]["ImGuiPayload"] = "imgui:2223"
defs["locations"]["ImGuiPlatformIO"] = "imgui:3123"
defs["locations"]["ImGuiPlatformImeData"] = "imgui:3195"
defs["locations"]["ImGuiPlatformMonitor"] = "imgui:3186"
defs["locations"]["ImGuiPlotType"] = "imgui_internal:950"
defs["locations"]["ImGuiPopupData"] = "imgui_internal:1087"
defs["locations"]["ImGuiPlatformIO"] = "imgui:3124"
defs["locations"]["ImGuiPlatformImeData"] = "imgui:3196"
defs["locations"]["ImGuiPlatformMonitor"] = "imgui:3187"
defs["locations"]["ImGuiPlotType"] = "imgui_internal:956"
defs["locations"]["ImGuiPopupData"] = "imgui_internal:1093"
defs["locations"]["ImGuiPopupFlags_"] = "imgui:1097"
defs["locations"]["ImGuiPopupPositionPolicy"] = "imgui_internal:956"
defs["locations"]["ImGuiPtrOrIndex"] = "imgui_internal:1209"
defs["locations"]["ImGuiScrollFlags_"] = "imgui_internal:1429"
defs["locations"]["ImGuiSelectableFlagsPrivate_"] = "imgui_internal:885"
defs["locations"]["ImGuiPopupPositionPolicy"] = "imgui_internal:962"
defs["locations"]["ImGuiPtrOrIndex"] = "imgui_internal:1215"
defs["locations"]["ImGuiScrollFlags_"] = "imgui_internal:1437"
defs["locations"]["ImGuiSelectableFlagsPrivate_"] = "imgui_internal:891"
defs["locations"]["ImGuiSelectableFlags_"] = "imgui:1113"
defs["locations"]["ImGuiSeparatorFlags_"] = "imgui_internal:905"
defs["locations"]["ImGuiSettingsHandler"] = "imgui_internal:1769"
defs["locations"]["ImGuiShrinkWidthItem"] = "imgui_internal:1202"
defs["locations"]["ImGuiSeparatorFlags_"] = "imgui_internal:911"
defs["locations"]["ImGuiSettingsHandler"] = "imgui_internal:1776"
defs["locations"]["ImGuiShrinkWidthItem"] = "imgui_internal:1208"
defs["locations"]["ImGuiSizeCallbackData"] = "imgui:2193"
defs["locations"]["ImGuiSliderFlagsPrivate_"] = "imgui_internal:878"
defs["locations"]["ImGuiSliderFlagsPrivate_"] = "imgui_internal:884"
defs["locations"]["ImGuiSliderFlags_"] = "imgui:1752"
defs["locations"]["ImGuiSortDirection_"] = "imgui:1403"
defs["locations"]["ImGuiStackLevelInfo"] = "imgui_internal:1827"
defs["locations"]["ImGuiStackSizes"] = "imgui_internal:1177"
defs["locations"]["ImGuiStackTool"] = "imgui_internal:1839"
defs["locations"]["ImGuiStackLevelInfo"] = "imgui_internal:1858"
defs["locations"]["ImGuiStackSizes"] = "imgui_internal:1183"
defs["locations"]["ImGuiStackTool"] = "imgui_internal:1870"
defs["locations"]["ImGuiStorage"] = "imgui:2344"
defs["locations"]["ImGuiStoragePair"] = "imgui:2347"
defs["locations"]["ImGuiStyle"] = "imgui:1909"
defs["locations"]["ImGuiStyleMod"] = "imgui_internal:993"
defs["locations"]["ImGuiStyleMod"] = "imgui_internal:999"
defs["locations"]["ImGuiStyleVar_"] = "imgui:1661"
defs["locations"]["ImGuiTabBar"] = "imgui_internal:2575"
defs["locations"]["ImGuiTabBarFlagsPrivate_"] = "imgui_internal:2537"
defs["locations"]["ImGuiTabBar"] = "imgui_internal:2611"
defs["locations"]["ImGuiTabBarFlagsPrivate_"] = "imgui_internal:2573"
defs["locations"]["ImGuiTabBarFlags_"] = "imgui:1138"
defs["locations"]["ImGuiTabItem"] = "imgui_internal:2555"
defs["locations"]["ImGuiTabItemFlagsPrivate_"] = "imgui_internal:2545"
defs["locations"]["ImGuiTabItem"] = "imgui_internal:2591"
defs["locations"]["ImGuiTabItemFlagsPrivate_"] = "imgui_internal:2581"
defs["locations"]["ImGuiTabItemFlags_"] = "imgui:1154"
defs["locations"]["ImGuiTable"] = "imgui_internal:2711"
defs["locations"]["ImGuiTable"] = "imgui_internal:2747"
defs["locations"]["ImGuiTableBgTarget_"] = "imgui:1292"
defs["locations"]["ImGuiTableCellData"] = "imgui_internal:2695"
defs["locations"]["ImGuiTableColumn"] = "imgui_internal:2636"
defs["locations"]["ImGuiTableCellData"] = "imgui_internal:2731"
defs["locations"]["ImGuiTableColumn"] = "imgui_internal:2672"
defs["locations"]["ImGuiTableColumnFlags_"] = "imgui:1240"
defs["locations"]["ImGuiTableColumnSettings"] = "imgui_internal:2846"
defs["locations"]["ImGuiTableColumnSettings"] = "imgui_internal:2882"
defs["locations"]["ImGuiTableColumnSortSpecs"] = "imgui:2245"
defs["locations"]["ImGuiTableFlags_"] = "imgui:1189"
defs["locations"]["ImGuiTableInstanceData"] = "imgui_internal:2702"
defs["locations"]["ImGuiTableInstanceData"] = "imgui_internal:2738"
defs["locations"]["ImGuiTableRowFlags_"] = "imgui:1277"
defs["locations"]["ImGuiTableSettings"] = "imgui_internal:2870"
defs["locations"]["ImGuiTableSettings"] = "imgui_internal:2906"
defs["locations"]["ImGuiTableSortSpecs"] = "imgui:2259"
defs["locations"]["ImGuiTableTempData"] = "imgui_internal:2825"
defs["locations"]["ImGuiTableTempData"] = "imgui_internal:2861"
defs["locations"]["ImGuiTextBuffer"] = "imgui:2317"
defs["locations"]["ImGuiTextFilter"] = "imgui:2290"
defs["locations"]["ImGuiTextFlags_"] = "imgui_internal:913"
defs["locations"]["ImGuiTextIndex"] = "imgui_internal:710"
defs["locations"]["ImGuiTextFlags_"] = "imgui_internal:919"
defs["locations"]["ImGuiTextIndex"] = "imgui_internal:716"
defs["locations"]["ImGuiTextRange"] = "imgui:2300"
defs["locations"]["ImGuiTooltipFlags_"] = "imgui_internal:919"
defs["locations"]["ImGuiTreeNodeFlagsPrivate_"] = "imgui_internal:900"
defs["locations"]["ImGuiTooltipFlags_"] = "imgui_internal:925"
defs["locations"]["ImGuiTreeNodeFlagsPrivate_"] = "imgui_internal:906"
defs["locations"]["ImGuiTreeNodeFlags_"] = "imgui:1068"
defs["locations"]["ImGuiViewport"] = "imgui:3040"
defs["locations"]["ImGuiViewportFlags_"] = "imgui:3015"
defs["locations"]["ImGuiViewportP"] = "imgui_internal:1706"
defs["locations"]["ImGuiWindow"] = "imgui_internal:2393"
defs["locations"]["ImGuiViewportP"] = "imgui_internal:1714"
defs["locations"]["ImGuiWindow"] = "imgui_internal:2429"
defs["locations"]["ImGuiWindowClass"] = "imgui:2208"
defs["locations"]["ImGuiWindowDockStyle"] = "imgui_internal:1684"
defs["locations"]["ImGuiWindowDockStyleCol"] = "imgui_internal:1673"
defs["locations"]["ImGuiWindowDockStyle"] = "imgui_internal:1692"
defs["locations"]["ImGuiWindowDockStyleCol"] = "imgui_internal:1681"
defs["locations"]["ImGuiWindowFlags_"] = "imgui:995"
defs["locations"]["ImGuiWindowSettings"] = "imgui_internal:1752"
defs["locations"]["ImGuiWindowStackData"] = "imgui_internal:1195"
defs["locations"]["ImGuiWindowTempData"] = "imgui_internal:2345"
defs["locations"]["ImRect"] = "imgui_internal:515"
defs["locations"]["ImVec1"] = "imgui_internal:497"
defs["locations"]["ImGuiWindowSettings"] = "imgui_internal:1759"
defs["locations"]["ImGuiWindowStackData"] = "imgui_internal:1201"
defs["locations"]["ImGuiWindowTempData"] = "imgui_internal:2381"
defs["locations"]["ImRect"] = "imgui_internal:521"
defs["locations"]["ImVec1"] = "imgui_internal:503"
defs["locations"]["ImVec2"] = "imgui:259"
defs["locations"]["ImVec2ih"] = "imgui_internal:505"
defs["locations"]["ImVec2ih"] = "imgui_internal:511"
defs["locations"]["ImVec4"] = "imgui:272"
defs["locations"]["STB_TexteditState"] = "imstb_textedit:319"
defs["locations"]["StbTexteditRow"] = "imstb_textedit:366"
@@ -4839,94 +4875,98 @@ defs["structs"]["ImGuiContext"][214] = {}
defs["structs"]["ImGuiContext"][214]["name"] = "HookIdNext"
defs["structs"]["ImGuiContext"][214]["type"] = "ImGuiID"
defs["structs"]["ImGuiContext"][215] = {}
defs["structs"]["ImGuiContext"][215]["name"] = "LogEnabled"
defs["structs"]["ImGuiContext"][215]["type"] = "bool"
defs["structs"]["ImGuiContext"][215]["name"] = "LocalizationTable[ImGuiLocKey_COUNT]"
defs["structs"]["ImGuiContext"][215]["size"] = 7
defs["structs"]["ImGuiContext"][215]["type"] = "const char*"
defs["structs"]["ImGuiContext"][216] = {}
defs["structs"]["ImGuiContext"][216]["name"] = "LogType"
defs["structs"]["ImGuiContext"][216]["type"] = "ImGuiLogType"
defs["structs"]["ImGuiContext"][216]["name"] = "LogEnabled"
defs["structs"]["ImGuiContext"][216]["type"] = "bool"
defs["structs"]["ImGuiContext"][217] = {}
defs["structs"]["ImGuiContext"][217]["name"] = "LogFile"
defs["structs"]["ImGuiContext"][217]["type"] = "ImFileHandle"
defs["structs"]["ImGuiContext"][217]["name"] = "LogType"
defs["structs"]["ImGuiContext"][217]["type"] = "ImGuiLogType"
defs["structs"]["ImGuiContext"][218] = {}
defs["structs"]["ImGuiContext"][218]["name"] = "LogBuffer"
defs["structs"]["ImGuiContext"][218]["type"] = "ImGuiTextBuffer"
defs["structs"]["ImGuiContext"][218]["name"] = "LogFile"
defs["structs"]["ImGuiContext"][218]["type"] = "ImFileHandle"
defs["structs"]["ImGuiContext"][219] = {}
defs["structs"]["ImGuiContext"][219]["name"] = "LogNextPrefix"
defs["structs"]["ImGuiContext"][219]["type"] = "const char*"
defs["structs"]["ImGuiContext"][219]["name"] = "LogBuffer"
defs["structs"]["ImGuiContext"][219]["type"] = "ImGuiTextBuffer"
defs["structs"]["ImGuiContext"][220] = {}
defs["structs"]["ImGuiContext"][220]["name"] = "LogNextSuffix"
defs["structs"]["ImGuiContext"][220]["name"] = "LogNextPrefix"
defs["structs"]["ImGuiContext"][220]["type"] = "const char*"
defs["structs"]["ImGuiContext"][221] = {}
defs["structs"]["ImGuiContext"][221]["name"] = "LogLinePosY"
defs["structs"]["ImGuiContext"][221]["type"] = "float"
defs["structs"]["ImGuiContext"][221]["name"] = "LogNextSuffix"
defs["structs"]["ImGuiContext"][221]["type"] = "const char*"
defs["structs"]["ImGuiContext"][222] = {}
defs["structs"]["ImGuiContext"][222]["name"] = "LogLineFirstItem"
defs["structs"]["ImGuiContext"][222]["type"] = "bool"
defs["structs"]["ImGuiContext"][222]["name"] = "LogLinePosY"
defs["structs"]["ImGuiContext"][222]["type"] = "float"
defs["structs"]["ImGuiContext"][223] = {}
defs["structs"]["ImGuiContext"][223]["name"] = "LogDepthRef"
defs["structs"]["ImGuiContext"][223]["type"] = "int"
defs["structs"]["ImGuiContext"][223]["name"] = "LogLineFirstItem"
defs["structs"]["ImGuiContext"][223]["type"] = "bool"
defs["structs"]["ImGuiContext"][224] = {}
defs["structs"]["ImGuiContext"][224]["name"] = "LogDepthToExpand"
defs["structs"]["ImGuiContext"][224]["name"] = "LogDepthRef"
defs["structs"]["ImGuiContext"][224]["type"] = "int"
defs["structs"]["ImGuiContext"][225] = {}
defs["structs"]["ImGuiContext"][225]["name"] = "LogDepthToExpandDefault"
defs["structs"]["ImGuiContext"][225]["name"] = "LogDepthToExpand"
defs["structs"]["ImGuiContext"][225]["type"] = "int"
defs["structs"]["ImGuiContext"][226] = {}
defs["structs"]["ImGuiContext"][226]["name"] = "DebugLogFlags"
defs["structs"]["ImGuiContext"][226]["type"] = "ImGuiDebugLogFlags"
defs["structs"]["ImGuiContext"][226]["name"] = "LogDepthToExpandDefault"
defs["structs"]["ImGuiContext"][226]["type"] = "int"
defs["structs"]["ImGuiContext"][227] = {}
defs["structs"]["ImGuiContext"][227]["name"] = "DebugLogBuf"
defs["structs"]["ImGuiContext"][227]["type"] = "ImGuiTextBuffer"
defs["structs"]["ImGuiContext"][227]["name"] = "DebugLogFlags"
defs["structs"]["ImGuiContext"][227]["type"] = "ImGuiDebugLogFlags"
defs["structs"]["ImGuiContext"][228] = {}
defs["structs"]["ImGuiContext"][228]["name"] = "DebugLogIndex"
defs["structs"]["ImGuiContext"][228]["type"] = "ImGuiTextIndex"
defs["structs"]["ImGuiContext"][228]["name"] = "DebugLogBuf"
defs["structs"]["ImGuiContext"][228]["type"] = "ImGuiTextBuffer"
defs["structs"]["ImGuiContext"][229] = {}
defs["structs"]["ImGuiContext"][229]["name"] = "DebugLocateFrames"
defs["structs"]["ImGuiContext"][229]["type"] = "ImU8"
defs["structs"]["ImGuiContext"][229]["name"] = "DebugLogIndex"
defs["structs"]["ImGuiContext"][229]["type"] = "ImGuiTextIndex"
defs["structs"]["ImGuiContext"][230] = {}
defs["structs"]["ImGuiContext"][230]["name"] = "DebugItemPickerActive"
defs["structs"]["ImGuiContext"][230]["type"] = "bool"
defs["structs"]["ImGuiContext"][230]["name"] = "DebugLocateFrames"
defs["structs"]["ImGuiContext"][230]["type"] = "ImU8"
defs["structs"]["ImGuiContext"][231] = {}
defs["structs"]["ImGuiContext"][231]["name"] = "DebugItemPickerMouseButton"
defs["structs"]["ImGuiContext"][231]["type"] = "ImU8"
defs["structs"]["ImGuiContext"][231]["name"] = "DebugItemPickerActive"
defs["structs"]["ImGuiContext"][231]["type"] = "bool"
defs["structs"]["ImGuiContext"][232] = {}
defs["structs"]["ImGuiContext"][232]["name"] = "DebugItemPickerBreakId"
defs["structs"]["ImGuiContext"][232]["type"] = "ImGuiID"
defs["structs"]["ImGuiContext"][232]["name"] = "DebugItemPickerMouseButton"
defs["structs"]["ImGuiContext"][232]["type"] = "ImU8"
defs["structs"]["ImGuiContext"][233] = {}
defs["structs"]["ImGuiContext"][233]["name"] = "DebugMetricsConfig"
defs["structs"]["ImGuiContext"][233]["type"] = "ImGuiMetricsConfig"
defs["structs"]["ImGuiContext"][233]["name"] = "DebugItemPickerBreakId"
defs["structs"]["ImGuiContext"][233]["type"] = "ImGuiID"
defs["structs"]["ImGuiContext"][234] = {}
defs["structs"]["ImGuiContext"][234]["name"] = "DebugStackTool"
defs["structs"]["ImGuiContext"][234]["type"] = "ImGuiStackTool"
defs["structs"]["ImGuiContext"][234]["name"] = "DebugMetricsConfig"
defs["structs"]["ImGuiContext"][234]["type"] = "ImGuiMetricsConfig"
defs["structs"]["ImGuiContext"][235] = {}
defs["structs"]["ImGuiContext"][235]["name"] = "DebugHoveredDockNode"
defs["structs"]["ImGuiContext"][235]["type"] = "ImGuiDockNode*"
defs["structs"]["ImGuiContext"][235]["name"] = "DebugStackTool"
defs["structs"]["ImGuiContext"][235]["type"] = "ImGuiStackTool"
defs["structs"]["ImGuiContext"][236] = {}
defs["structs"]["ImGuiContext"][236]["name"] = "FramerateSecPerFrame[60]"
defs["structs"]["ImGuiContext"][236]["size"] = 60
defs["structs"]["ImGuiContext"][236]["type"] = "float"
defs["structs"]["ImGuiContext"][236]["name"] = "DebugHoveredDockNode"
defs["structs"]["ImGuiContext"][236]["type"] = "ImGuiDockNode*"
defs["structs"]["ImGuiContext"][237] = {}
defs["structs"]["ImGuiContext"][237]["name"] = "FramerateSecPerFrameIdx"
defs["structs"]["ImGuiContext"][237]["type"] = "int"
defs["structs"]["ImGuiContext"][237]["name"] = "FramerateSecPerFrame[60]"
defs["structs"]["ImGuiContext"][237]["size"] = 60
defs["structs"]["ImGuiContext"][237]["type"] = "float"
defs["structs"]["ImGuiContext"][238] = {}
defs["structs"]["ImGuiContext"][238]["name"] = "FramerateSecPerFrameCount"
defs["structs"]["ImGuiContext"][238]["name"] = "FramerateSecPerFrameIdx"
defs["structs"]["ImGuiContext"][238]["type"] = "int"
defs["structs"]["ImGuiContext"][239] = {}
defs["structs"]["ImGuiContext"][239]["name"] = "FramerateSecPerFrameAccum"
defs["structs"]["ImGuiContext"][239]["type"] = "float"
defs["structs"]["ImGuiContext"][239]["name"] = "FramerateSecPerFrameCount"
defs["structs"]["ImGuiContext"][239]["type"] = "int"
defs["structs"]["ImGuiContext"][240] = {}
defs["structs"]["ImGuiContext"][240]["name"] = "WantCaptureMouseNextFrame"
defs["structs"]["ImGuiContext"][240]["type"] = "int"
defs["structs"]["ImGuiContext"][240]["name"] = "FramerateSecPerFrameAccum"
defs["structs"]["ImGuiContext"][240]["type"] = "float"
defs["structs"]["ImGuiContext"][241] = {}
defs["structs"]["ImGuiContext"][241]["name"] = "WantCaptureKeyboardNextFrame"
defs["structs"]["ImGuiContext"][241]["name"] = "WantCaptureMouseNextFrame"
defs["structs"]["ImGuiContext"][241]["type"] = "int"
defs["structs"]["ImGuiContext"][242] = {}
defs["structs"]["ImGuiContext"][242]["name"] = "WantTextInputNextFrame"
defs["structs"]["ImGuiContext"][242]["name"] = "WantCaptureKeyboardNextFrame"
defs["structs"]["ImGuiContext"][242]["type"] = "int"
defs["structs"]["ImGuiContext"][243] = {}
defs["structs"]["ImGuiContext"][243]["name"] = "TempBuffer"
defs["structs"]["ImGuiContext"][243]["template_type"] = "char"
defs["structs"]["ImGuiContext"][243]["type"] = "ImVector_char"
defs["structs"]["ImGuiContext"][243]["name"] = "WantTextInputNextFrame"
defs["structs"]["ImGuiContext"][243]["type"] = "int"
defs["structs"]["ImGuiContext"][244] = {}
defs["structs"]["ImGuiContext"][244]["name"] = "TempBuffer"
defs["structs"]["ImGuiContext"][244]["template_type"] = "char"
defs["structs"]["ImGuiContext"][244]["type"] = "ImVector_char"
defs["structs"]["ImGuiContextHook"] = {}
defs["structs"]["ImGuiContextHook"][1] = {}
defs["structs"]["ImGuiContextHook"][1]["name"] = "HookId"
@@ -5729,6 +5769,13 @@ defs["structs"]["ImGuiListClipperRange"][4]["type"] = "ImS8"
defs["structs"]["ImGuiListClipperRange"][5] = {}
defs["structs"]["ImGuiListClipperRange"][5]["name"] = "PosToIndexOffsetMax"
defs["structs"]["ImGuiListClipperRange"][5]["type"] = "ImS8"
defs["structs"]["ImGuiLocEntry"] = {}
defs["structs"]["ImGuiLocEntry"][1] = {}
defs["structs"]["ImGuiLocEntry"][1]["name"] = "Key"
defs["structs"]["ImGuiLocEntry"][1]["type"] = "ImGuiLocKey"
defs["structs"]["ImGuiLocEntry"][2] = {}
defs["structs"]["ImGuiLocEntry"][2]["name"] = "Text"
defs["structs"]["ImGuiLocEntry"][2]["type"] = "const char*"
defs["structs"]["ImGuiMenuColumns"] = {}
defs["structs"]["ImGuiMenuColumns"][1] = {}
defs["structs"]["ImGuiMenuColumns"][1]["name"] = "TotalWidth"
@@ -7159,14 +7206,17 @@ defs["structs"]["ImGuiViewport"][13] = {}
defs["structs"]["ImGuiViewport"][13]["name"] = "PlatformHandleRaw"
defs["structs"]["ImGuiViewport"][13]["type"] = "void*"
defs["structs"]["ImGuiViewport"][14] = {}
defs["structs"]["ImGuiViewport"][14]["name"] = "PlatformRequestMove"
defs["structs"]["ImGuiViewport"][14]["name"] = "PlatformWindowCreated"
defs["structs"]["ImGuiViewport"][14]["type"] = "bool"
defs["structs"]["ImGuiViewport"][15] = {}
defs["structs"]["ImGuiViewport"][15]["name"] = "PlatformRequestResize"
defs["structs"]["ImGuiViewport"][15]["name"] = "PlatformRequestMove"
defs["structs"]["ImGuiViewport"][15]["type"] = "bool"
defs["structs"]["ImGuiViewport"][16] = {}
defs["structs"]["ImGuiViewport"][16]["name"] = "PlatformRequestClose"
defs["structs"]["ImGuiViewport"][16]["name"] = "PlatformRequestResize"
defs["structs"]["ImGuiViewport"][16]["type"] = "bool"
defs["structs"]["ImGuiViewport"][17] = {}
defs["structs"]["ImGuiViewport"][17]["name"] = "PlatformRequestClose"
defs["structs"]["ImGuiViewport"][17]["type"] = "bool"
defs["structs"]["ImGuiViewportP"] = {}
defs["structs"]["ImGuiViewportP"][1] = {}
defs["structs"]["ImGuiViewportP"][1]["name"] = "_ImGuiViewport"
@@ -7196,46 +7246,43 @@ defs["structs"]["ImGuiViewportP"][9] = {}
defs["structs"]["ImGuiViewportP"][9]["name"] = "PlatformMonitor"
defs["structs"]["ImGuiViewportP"][9]["type"] = "short"
defs["structs"]["ImGuiViewportP"][10] = {}
defs["structs"]["ImGuiViewportP"][10]["name"] = "PlatformWindowCreated"
defs["structs"]["ImGuiViewportP"][10]["type"] = "bool"
defs["structs"]["ImGuiViewportP"][10]["name"] = "Window"
defs["structs"]["ImGuiViewportP"][10]["type"] = "ImGuiWindow*"
defs["structs"]["ImGuiViewportP"][11] = {}
defs["structs"]["ImGuiViewportP"][11]["name"] = "Window"
defs["structs"]["ImGuiViewportP"][11]["type"] = "ImGuiWindow*"
defs["structs"]["ImGuiViewportP"][11]["name"] = "DrawListsLastFrame[2]"
defs["structs"]["ImGuiViewportP"][11]["size"] = 2
defs["structs"]["ImGuiViewportP"][11]["type"] = "int"
defs["structs"]["ImGuiViewportP"][12] = {}
defs["structs"]["ImGuiViewportP"][12]["name"] = "DrawListsLastFrame[2]"
defs["structs"]["ImGuiViewportP"][12]["name"] = "DrawLists[2]"
defs["structs"]["ImGuiViewportP"][12]["size"] = 2
defs["structs"]["ImGuiViewportP"][12]["type"] = "int"
defs["structs"]["ImGuiViewportP"][12]["type"] = "ImDrawList*"
defs["structs"]["ImGuiViewportP"][13] = {}
defs["structs"]["ImGuiViewportP"][13]["name"] = "DrawLists[2]"
defs["structs"]["ImGuiViewportP"][13]["size"] = 2
defs["structs"]["ImGuiViewportP"][13]["type"] = "ImDrawList*"
defs["structs"]["ImGuiViewportP"][13]["name"] = "DrawDataP"
defs["structs"]["ImGuiViewportP"][13]["type"] = "ImDrawData"
defs["structs"]["ImGuiViewportP"][14] = {}
defs["structs"]["ImGuiViewportP"][14]["name"] = "DrawDataP"
defs["structs"]["ImGuiViewportP"][14]["type"] = "ImDrawData"
defs["structs"]["ImGuiViewportP"][14]["name"] = "DrawDataBuilder"
defs["structs"]["ImGuiViewportP"][14]["type"] = "ImDrawDataBuilder"
defs["structs"]["ImGuiViewportP"][15] = {}
defs["structs"]["ImGuiViewportP"][15]["name"] = "DrawDataBuilder"
defs["structs"]["ImGuiViewportP"][15]["type"] = "ImDrawDataBuilder"
defs["structs"]["ImGuiViewportP"][15]["name"] = "LastPlatformPos"
defs["structs"]["ImGuiViewportP"][15]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][16] = {}
defs["structs"]["ImGuiViewportP"][16]["name"] = "LastPlatformPos"
defs["structs"]["ImGuiViewportP"][16]["name"] = "LastPlatformSize"
defs["structs"]["ImGuiViewportP"][16]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][17] = {}
defs["structs"]["ImGuiViewportP"][17]["name"] = "LastPlatformSize"
defs["structs"]["ImGuiViewportP"][17]["name"] = "LastRendererSize"
defs["structs"]["ImGuiViewportP"][17]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][18] = {}
defs["structs"]["ImGuiViewportP"][18]["name"] = "LastRendererSize"
defs["structs"]["ImGuiViewportP"][18]["name"] = "WorkOffsetMin"
defs["structs"]["ImGuiViewportP"][18]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][19] = {}
defs["structs"]["ImGuiViewportP"][19]["name"] = "WorkOffsetMin"
defs["structs"]["ImGuiViewportP"][19]["name"] = "WorkOffsetMax"
defs["structs"]["ImGuiViewportP"][19]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][20] = {}
defs["structs"]["ImGuiViewportP"][20]["name"] = "WorkOffsetMax"
defs["structs"]["ImGuiViewportP"][20]["name"] = "BuildWorkOffsetMin"
defs["structs"]["ImGuiViewportP"][20]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][21] = {}
defs["structs"]["ImGuiViewportP"][21]["name"] = "BuildWorkOffsetMin"
defs["structs"]["ImGuiViewportP"][21]["name"] = "BuildWorkOffsetMax"
defs["structs"]["ImGuiViewportP"][21]["type"] = "ImVec2"
defs["structs"]["ImGuiViewportP"][22] = {}
defs["structs"]["ImGuiViewportP"][22]["name"] = "BuildWorkOffsetMax"
defs["structs"]["ImGuiViewportP"][22]["type"] = "ImVec2"
defs["structs"]["ImGuiWindow"] = {}
defs["structs"]["ImGuiWindow"][1] = {}
defs["structs"]["ImGuiWindow"][1]["name"] = "Name"

View File

@@ -81,6 +81,7 @@
"ImGuiListClipper": "struct ImGuiListClipper",
"ImGuiListClipperData": "struct ImGuiListClipperData",
"ImGuiListClipperRange": "struct ImGuiListClipperRange",
"ImGuiLocEntry": "struct ImGuiLocEntry",
"ImGuiMemAllocFunc": "void*(*)(size_t sz,void* user_data);",
"ImGuiMemFreeFunc": "void(*)(void* ptr,void* user_data);",
"ImGuiMenuColumns": "struct ImGuiMenuColumns",

View File

@@ -81,6 +81,7 @@ defs["ImGuiLayoutType"] = "int"
defs["ImGuiListClipper"] = "struct ImGuiListClipper"
defs["ImGuiListClipperData"] = "struct ImGuiListClipperData"
defs["ImGuiListClipperRange"] = "struct ImGuiListClipperRange"
defs["ImGuiLocEntry"] = "struct ImGuiLocEntry"
defs["ImGuiMemAllocFunc"] = "void*(*)(size_t sz,void* user_data);"
defs["ImGuiMemFreeFunc"] = "void(*)(void* ptr,void* user_data);"
defs["ImGuiMenuColumns"] = "struct ImGuiMenuColumns"

2
imgui

Submodule imgui updated: 94e850fd6f...595a428baa