Compare commits

...

23 Commits

Author SHA1 Message Date
Victor Bombi
90ddbc37b0 pull imgui 1.78 and generate 2020-08-18 21:11:32 +02:00
Victor Bombi
fe65bbf5cd Merge pull request #143 from oprypin/cimake
Simplify CMake invocation in CI
2020-08-13 10:43:34 +02:00
Oleh Prypin
8668cb268c Switch Ubuntu version to focal 2020-08-12 22:04:55 +02:00
Oleh Prypin
5ee318e21e Simplify CMake invocation in CI 2020-08-09 19:19:57 +02:00
Victor Bombi
d335744253 generation for locations in structs_and_enums 2020-07-07 10:04:13 +02:00
Victor Bombi
6ddccdc1de update readme for locations in struct_and_enums 2020-07-07 10:02:39 +02:00
Victor Bombi
45c3de9423 cpp2ffi: add locations to struct_and_enums 2020-07-07 10:02:21 +02:00
Victor Bombi
c1f0030b20 generate again 2020-06-30 09:41:01 +02:00
Victor Bombi
4645c082fa cpp2ffi.lua: remove explicit keyword, get template_type from parser.templates instead of string substitution (solves issues #140 and #141) 2020-06-30 09:39:48 +02:00
Victor Bombi
92a029f678 README.md update 2020-06-29 18:57:39 +02:00
Victor Bombi
bc3bc4583d pull imgui master 1.77 and generate 2020-06-29 18:55:13 +02:00
Victor Bombi
13ad240b74 readme: argsT when arg is function pointer 2020-06-08 18:03:20 +02:00
Victor Bombi
74ca33d026 generation with non const ref to ptr 2020-06-06 11:42:25 +02:00
Victor Bombi
ab53af765f non const ref to pointer 2020-06-06 11:41:33 +02:00
Victor Bombi
4e160d8017 generation with location info 2020-06-05 20:46:02 +02:00
Victor Bombi
8b4ebff2e2 update readme with location info 2020-06-05 20:45:08 +02:00
Victor Bombi
a27b5236db keep implementations locations 2020-06-05 20:45:08 +02:00
Victor Bombi
19e41cf8e9 keep function locations
keep locations
2020-06-05 20:45:08 +02:00
Victor Bombi
61784f32f9 readme: size field in struct description 2020-05-31 10:37:10 +02:00
Victor Bombi
250169feb7 generation after FnPtr change 2020-05-30 15:33:12 +02:00
Victor Bombi
16846a206b FnPtr changes to FnretvalPtr to allow 2 overloadings with different FnPtr, corrected checking equal ov_cimguiname 2020-05-30 15:30:57 +02:00
Victor Bombi
f30441fd5d CMakeLists.txt modification for MSVC thanks to @Sewer56 2020-05-25 16:54:55 +02:00
Victor Bombi
787939bebc getCname uses namespace 2020-05-16 16:50:12 +02:00
22 changed files with 6723 additions and 2659 deletions

View File

@@ -1,5 +1,5 @@
language: cpp
dist: trusty
dist: focal
os:
- linux
@@ -10,20 +10,11 @@ compiler:
- gcc
- clang
env:
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
script:
- mkdir bld
- cd bld
- cmake -D CIMGUI_TEST=1 ..
- |
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
export PATH=$MSBUILD_PATH:$PATH
MSBuild.exe cimgui.sln
else
make
fi
- cmake --build .
- |
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
./Debug/cimgui_test.exe

View File

@@ -22,9 +22,9 @@ endif (IMGUI_STATIC)
target_compile_definitions(cimgui PUBLIC IMGUI_DISABLE_OBSOLETE_FUNCTIONS=1)
if (WIN32)
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API="extern \"C\" __declspec\(dllexport\)")
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t__declspec\(dllexport\))
else (WIN32)
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API="extern \"C\" ")
target_compile_definitions(cimgui PUBLIC IMGUI_IMPL_API=extern\t\"C\"\t)
endif (WIN32)
target_include_directories(cimgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

View File

@@ -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.76 of Dear ImGui with internal api]
* currently this wrapper is based on version [1.78 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 implementations 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.
@@ -50,7 +50,7 @@ Notes:
* cimguiname : the name without overloading (this should be used if there is not ov_cimguiname)
* ret : the return type
* retref : is set if original return type is a reference. (will be a pointer in cimgui)
* argsT : an array of collections (each one with type: argument type and name: the argument name)
* argsT : an array of collections (each one with type: argument type and name: the argument name, when the argument is a function pointer also ret: return type and signature: the function signature)
* args : a string of argsT concatenated and separated by commas
* call_args : a string with the argument names separated by commas for calling imgui function
* defaults : a collection in which key is argument name and value is the default value.
@@ -61,8 +61,9 @@ Notes:
* templated : is set if the function belongs to a templated class (ImVector)
* templatedgen: is set if the function belongs to a struct generated from template (ImVector_ImWchar)
* nonUDT : if present the original function was returning a user defined type so that signature has been changed to accept a pointer to the UDT as first argument.
* location : name of the header file this function comes from. (imgui, internal, imgui_impl_xxx)
### structs_and_enums description
* Is is a collection with two items:
* Is is a collection with three items:
* under key enums we get the enums collection in which each key is the enum tagname and the value is an array of the ordered values represented as a collection with keys
* name : the name of this enum value
* value : the C string
@@ -71,7 +72,9 @@ Notes:
* type : the type of the struct member
* template_type : if type has a template argument (as ImVector) here will be
* name : the name of the struct member
* bitfield : the bitfield width (in case it is a bitfield)
* size : the number of array elements (when it is an array)
* bitfield : the bitfield width (in case it is a bitfield)
* under key locations we get the locations collection in which each key is the enum tagname or the struct name and the value is the name of the header file this comes from.
# usage
* use whatever method is in ImGui c++ namespace in the original [imgui.h](https://github.com/ocornut/imgui/blob/master/imgui.h) by prepending `ig`

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.76" from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.78" from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
#include "./imgui/imgui.h"
@@ -598,9 +598,9 @@ CIMGUI_API bool igSmallButton(const char* label)
{
return ImGui::SmallButton(label);
}
CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size)
CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size,ImGuiButtonFlags flags)
{
return ImGui::InvisibleButton(str_id,size);
return ImGui::InvisibleButton(str_id,size,flags);
}
CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir)
{
@@ -654,113 +654,113 @@ CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items
{
return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items);
}
CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)
CIMGUI_API bool igComboFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)
{
return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items);
}
CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)
CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)
{
return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power);
return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags);
}
CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)
CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)
{
return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max);
return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags);
}
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragScalar(label,data_type,p_data,v_speed,p_min,p_max,format,power);
return ImGui::DragScalar(label,data_type,p_data,v_speed,p_min,p_max,format,flags);
}
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragScalarN(label,data_type,p_data,components,v_speed,p_min,p_max,format,power);
return ImGui::DragScalarN(label,data_type,p_data,components,v_speed,p_min,p_max,format,flags);
}
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat2(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat2(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat3(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat3(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat4(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat4(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max,format);
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max,format,flags);
}
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt(label,v,v_min,v_max,format);
return ImGui::SliderInt(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt2(label,v,v_min,v_max,format);
return ImGui::SliderInt2(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt3(label,v,v_min,v_max,format);
return ImGui::SliderInt3(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt4(label,v,v_min,v_max,format);
return ImGui::SliderInt4(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderScalar(label,data_type,p_data,p_min,p_max,format,power);
return ImGui::SliderScalar(label,data_type,p_data,p_min,p_max,format,flags);
}
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderScalarN(label,data_type,p_data,components,p_min,p_max,format,power);
return ImGui::SliderScalarN(label,data_type,p_data,components,p_min,p_max,format,flags);
}
CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power);
return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)
CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::VSliderInt(label,size,v,v_min,v_max,format);
return ImGui::VSliderInt(label,size,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::VSliderScalar(label,size,data_type,p_data,p_min,p_max,format,power);
return ImGui::VSliderScalar(label,size,data_type,p_data,p_min,p_max,format,flags);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
@@ -938,7 +938,7 @@ CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char*
{
return ImGui::ListBox(label,current_item,items,items_count,height_in_items);
}
CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)
CIMGUI_API bool igListBoxFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)
{
return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items);
}
@@ -958,7 +958,7 @@ CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int va
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
CIMGUI_API void igPlotLinesFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
@@ -966,7 +966,7 @@ CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,in
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
CIMGUI_API void igPlotHistogramFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
@@ -1037,26 +1037,10 @@ CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API void igOpenPopup(const char* str_id)
{
return ImGui::OpenPopup(str_id);
}
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags)
{
return ImGui::BeginPopup(str_id,flags);
}
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiMouseButton mouse_button)
{
return ImGui::BeginPopupContextItem(str_id,mouse_button);
}
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items)
{
return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items);
}
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiMouseButton mouse_button)
{
return ImGui::BeginPopupContextVoid(str_id,mouse_button);
}
CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags)
{
return ImGui::BeginPopupModal(name,p_open,flags);
@@ -1065,18 +1049,34 @@ CIMGUI_API void igEndPopup()
{
return ImGui::EndPopup();
}
CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiMouseButton mouse_button)
CIMGUI_API void igOpenPopup(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::OpenPopupOnItemClick(str_id,mouse_button);
return ImGui::OpenPopup(str_id,popup_flags);
}
CIMGUI_API bool igIsPopupOpenStr(const char* str_id)
CIMGUI_API bool igOpenPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::IsPopupOpen(str_id);
return ImGui::OpenPopupContextItem(str_id,popup_flags);
}
CIMGUI_API void igCloseCurrentPopup()
{
return ImGui::CloseCurrentPopup();
}
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::BeginPopupContextItem(str_id,popup_flags);
}
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::BeginPopupContextWindow(str_id,popup_flags);
}
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::BeginPopupContextVoid(str_id,popup_flags);
}
CIMGUI_API bool igIsPopupOpenStr(const char* str_id,ImGuiPopupFlags flags)
{
return ImGui::IsPopupOpen(str_id,flags);
}
CIMGUI_API void igColumns(int count,const char* id,bool border)
{
return ImGui::Columns(count,id,border);
@@ -1325,6 +1325,14 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
{
return ImGui::ColorConvertFloat4ToU32(in);
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float* out_h,float* out_s,float* out_v)
{
return ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,float* out_g,float* out_b)
{
return ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
}
CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key)
{
return ImGui::GetKeyIndex(imgui_key);
@@ -1969,14 +1977,6 @@ CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n)
{
return self->ChannelsSetCurrent(n);
}
CIMGUI_API void ImDrawList_Clear(ImDrawList* self)
{
return self->Clear();
}
CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count)
{
return self->PrimReserve(idx_count,vtx_count);
@@ -2009,13 +2009,29 @@ CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec
{
return self->PrimVtx(pos,uv,col);
}
CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self)
CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self)
{
return self->UpdateClipRect();
return self->_ResetForNewFrame();
}
CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self)
CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self)
{
return self->UpdateTextureID();
return self->_ClearFreeMemory();
}
CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self)
{
return self->_PopUnusedDrawCmd();
}
CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self)
{
return self->_OnChangedClipRect();
}
CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self)
{
return self->_OnChangedTextureID();
}
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self)
{
return self->_OnChangedVtxOffset();
}
CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void)
{
@@ -2193,15 +2209,15 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesVietnamese(ImFontAtlas* self
{
return self->GetGlyphRangesVietnamese();
}
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height)
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,int width,int height)
{
return self->AddCustomRectRegular(id,width,height);
return self->AddCustomRectRegular(width,height);
}
CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)
{
return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset);
}
CIMGUI_API const ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index)
CIMGUI_API ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index)
{
return self->GetCustomRectByIndex(index);
}
@@ -2269,9 +2285,9 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size)
{
return self->GrowIndex(new_size);
}
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)
{
return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x);
return self->AddGlyph(src_cfg,c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x);
}
CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst)
{
@@ -2449,6 +2465,30 @@ CIMGUI_API double igImPowdouble(double x,double y)
{
return ImPow(x,y);
}
CIMGUI_API float igImLogFloat(float x)
{
return ImLog(x);
}
CIMGUI_API double igImLogdouble(double x)
{
return ImLog(x);
}
CIMGUI_API float igImAbsFloat(float x)
{
return ImAbs(x);
}
CIMGUI_API double igImAbsdouble(double x)
{
return ImAbs(x);
}
CIMGUI_API float igImSignFloat(float x)
{
return ImSign(x);
}
CIMGUI_API double igImSigndouble(double x)
{
return ImSign(x);
}
CIMGUI_API void igImMin(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)
{
*pOut = ImMin(lhs,rhs);
@@ -2541,9 +2581,9 @@ CIMGUI_API void igImTriangleClosestPoint(ImVec2 *pOut,const ImVec2 a,const ImVec
{
*pOut = ImTriangleClosestPoint(a,b,c,p);
}
CIMGUI_API void igImTriangleBarycentricCoords(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float out_u,float out_v,float out_w)
CIMGUI_API void igImTriangleBarycentricCoords(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float* out_u,float* out_v,float* out_w)
{
return ImTriangleBarycentricCoords(a,b,c,p,out_u,out_v,out_w);
return ImTriangleBarycentricCoords(a,b,c,p,*out_u,*out_v,*out_w);
}
CIMGUI_API float igImTriangleArea(const ImVec2 a,const ImVec2 b,const ImVec2 c)
{
@@ -2553,42 +2593,6 @@ CIMGUI_API ImGuiDir igImGetDirQuadrantFromDelta(float dx,float dy)
{
return ImGetDirQuadrantFromDelta(dx,dy);
}
CIMGUI_API bool igImBitArrayTestBit(const ImU32* arr,int n)
{
return ImBitArrayTestBit(arr,n);
}
CIMGUI_API void igImBitArrayClearBit(ImU32* arr,int n)
{
return ImBitArrayClearBit(arr,n);
}
CIMGUI_API void igImBitArraySetBit(ImU32* arr,int n)
{
return ImBitArraySetBit(arr,n);
}
CIMGUI_API void igImBitArraySetBitRange(ImU32* arr,int n,int n2)
{
return ImBitArraySetBitRange(arr,n,n2);
}
CIMGUI_API void ImBitVector_Create(ImBitVector* self,int sz)
{
return self->Create(sz);
}
CIMGUI_API void ImBitVector_Clear(ImBitVector* self)
{
return self->Clear();
}
CIMGUI_API bool ImBitVector_TestBit(ImBitVector* self,int n)
{
return self->TestBit(n);
}
CIMGUI_API void ImBitVector_SetBit(ImBitVector* self,int n)
{
return self->SetBit(n);
}
CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n)
{
return self->ClearBit(n);
}
CIMGUI_API ImVec1* ImVec1_ImVec1Nil(void)
{
return IM_NEW(ImVec1)();
@@ -2725,6 +2729,70 @@ CIMGUI_API bool ImRect_IsInverted(ImRect* self)
{
return self->IsInverted();
}
CIMGUI_API void ImRect_ToVec4(ImVec4 *pOut,ImRect* self)
{
*pOut = self->ToVec4();
}
CIMGUI_API bool igImBitArrayTestBit(const ImU32* arr,int n)
{
return ImBitArrayTestBit(arr,n);
}
CIMGUI_API void igImBitArrayClearBit(ImU32* arr,int n)
{
return ImBitArrayClearBit(arr,n);
}
CIMGUI_API void igImBitArraySetBit(ImU32* arr,int n)
{
return ImBitArraySetBit(arr,n);
}
CIMGUI_API void igImBitArraySetBitRange(ImU32* arr,int n,int n2)
{
return ImBitArraySetBitRange(arr,n,n2);
}
CIMGUI_API void ImBitVector_Create(ImBitVector* self,int sz)
{
return self->Create(sz);
}
CIMGUI_API void ImBitVector_Clear(ImBitVector* self)
{
return self->Clear();
}
CIMGUI_API bool ImBitVector_TestBit(ImBitVector* self,int n)
{
return self->TestBit(n);
}
CIMGUI_API void ImBitVector_SetBit(ImBitVector* self,int n)
{
return self->SetBit(n);
}
CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n)
{
return self->ClearBit(n);
}
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void)
{
return IM_NEW(ImDrawListSharedData)();
}
CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImDrawListSharedData_SetCircleSegmentMaxError(ImDrawListSharedData* self,float max_error)
{
return self->SetCircleSegmentMaxError(max_error);
}
CIMGUI_API void ImDrawDataBuilder_Clear(ImDrawDataBuilder* self)
{
return self->Clear();
}
CIMGUI_API void ImDrawDataBuilder_ClearFreeMemory(ImDrawDataBuilder* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API void ImDrawDataBuilder_FlattenIntoSingleLayer(ImDrawDataBuilder* self)
{
return self->FlattenIntoSingleLayer();
}
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModInt(ImGuiStyleVar idx,int v)
{
return IM_NEW(ImGuiStyleMod)(idx,v);
@@ -2809,26 +2877,6 @@ CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self)
{
return self->SelectAll();
}
CIMGUI_API ImGuiWindowSettings* ImGuiWindowSettings_ImGuiWindowSettings(void)
{
return IM_NEW(ImGuiWindowSettings)();
}
CIMGUI_API void ImGuiWindowSettings_destroy(ImGuiWindowSettings* self)
{
IM_DELETE(self);
}
CIMGUI_API char* ImGuiWindowSettings_GetName(ImGuiWindowSettings* self)
{
return self->GetName();
}
CIMGUI_API ImGuiSettingsHandler* ImGuiSettingsHandler_ImGuiSettingsHandler(void)
{
return IM_NEW(ImGuiSettingsHandler)();
}
CIMGUI_API void ImGuiSettingsHandler_destroy(ImGuiSettingsHandler* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void)
{
return IM_NEW(ImGuiPopupData)();
@@ -2837,50 +2885,6 @@ CIMGUI_API void ImGuiPopupData_destroy(ImGuiPopupData* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiColumnData* ImGuiColumnData_ImGuiColumnData(void)
{
return IM_NEW(ImGuiColumnData)();
}
CIMGUI_API void ImGuiColumnData_destroy(ImGuiColumnData* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiColumns* ImGuiColumns_ImGuiColumns(void)
{
return IM_NEW(ImGuiColumns)();
}
CIMGUI_API void ImGuiColumns_destroy(ImGuiColumns* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiColumns_Clear(ImGuiColumns* self)
{
return self->Clear();
}
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void)
{
return IM_NEW(ImDrawListSharedData)();
}
CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImDrawListSharedData_SetCircleSegmentMaxError(ImDrawListSharedData* self,float max_error)
{
return self->SetCircleSegmentMaxError(max_error);
}
CIMGUI_API void ImDrawDataBuilder_Clear(ImDrawDataBuilder* self)
{
return self->Clear();
}
CIMGUI_API void ImDrawDataBuilder_ClearFreeMemory(ImDrawDataBuilder* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API void ImDrawDataBuilder_FlattenIntoSingleLayer(ImDrawDataBuilder* self)
{
return self->FlattenIntoSingleLayer();
}
CIMGUI_API ImGuiNavMoveResult* ImGuiNavMoveResult_ImGuiNavMoveResult(void)
{
return IM_NEW(ImGuiNavMoveResult)();
@@ -2929,6 +2933,46 @@ CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndexInt(int index)
{
return IM_NEW(ImGuiPtrOrIndex)(index);
}
CIMGUI_API ImGuiColumnData* ImGuiColumnData_ImGuiColumnData(void)
{
return IM_NEW(ImGuiColumnData)();
}
CIMGUI_API void ImGuiColumnData_destroy(ImGuiColumnData* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiColumns* ImGuiColumns_ImGuiColumns(void)
{
return IM_NEW(ImGuiColumns)();
}
CIMGUI_API void ImGuiColumns_destroy(ImGuiColumns* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiColumns_Clear(ImGuiColumns* self)
{
return self->Clear();
}
CIMGUI_API ImGuiWindowSettings* ImGuiWindowSettings_ImGuiWindowSettings(void)
{
return IM_NEW(ImGuiWindowSettings)();
}
CIMGUI_API void ImGuiWindowSettings_destroy(ImGuiWindowSettings* self)
{
IM_DELETE(self);
}
CIMGUI_API char* ImGuiWindowSettings_GetName(ImGuiWindowSettings* self)
{
return self->GetName();
}
CIMGUI_API ImGuiSettingsHandler* ImGuiSettingsHandler_ImGuiSettingsHandler(void)
{
return IM_NEW(ImGuiSettingsHandler)();
}
CIMGUI_API void ImGuiSettingsHandler_destroy(ImGuiSettingsHandler* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiContext* ImGuiContext_ImGuiContext(ImFontAtlas* shared_font_atlas)
{
return IM_NEW(ImGuiContext)(shared_font_atlas);
@@ -3005,19 +3049,19 @@ CIMGUI_API void ImGuiWindow_MenuBarRect(ImRect *pOut,ImGuiWindow* self)
{
*pOut = self->MenuBarRect();
}
CIMGUI_API ImGuiItemHoveredDataBackup* ImGuiItemHoveredDataBackup_ImGuiItemHoveredDataBackup(void)
CIMGUI_API ImGuiLastItemDataBackup* ImGuiLastItemDataBackup_ImGuiLastItemDataBackup(void)
{
return IM_NEW(ImGuiItemHoveredDataBackup)();
return IM_NEW(ImGuiLastItemDataBackup)();
}
CIMGUI_API void ImGuiItemHoveredDataBackup_destroy(ImGuiItemHoveredDataBackup* self)
CIMGUI_API void ImGuiLastItemDataBackup_destroy(ImGuiLastItemDataBackup* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiItemHoveredDataBackup_Backup(ImGuiItemHoveredDataBackup* self)
CIMGUI_API void ImGuiLastItemDataBackup_Backup(ImGuiLastItemDataBackup* self)
{
return self->Backup();
}
CIMGUI_API void ImGuiItemHoveredDataBackup_Restore(ImGuiItemHoveredDataBackup* self)
CIMGUI_API void ImGuiLastItemDataBackup_Restore(ImGuiLastItemDataBackup* self)
{
return self->Restore();
}
@@ -3093,6 +3137,10 @@ CIMGUI_API void igSetWindowCollapsedWindowPtr(ImGuiWindow* window,bool collapsed
{
return ImGui::SetWindowCollapsed(window,collapsed,cond);
}
CIMGUI_API void igSetWindowHitTestHole(ImGuiWindow* window,const ImVec2 pos,const ImVec2 size)
{
return ImGui::SetWindowHitTestHole(window,pos,size);
}
CIMGUI_API void igFocusWindow(ImGuiWindow* window)
{
return ImGui::FocusWindow(window);
@@ -3157,6 +3205,10 @@ CIMGUI_API void igMarkIniSettingsDirtyWindowPtr(ImGuiWindow* window)
{
return ImGui::MarkIniSettingsDirty(window);
}
CIMGUI_API void igClearIniSettings()
{
return ImGui::ClearIniSettings();
}
CIMGUI_API ImGuiWindowSettings* igCreateNewWindowSettings(const char* name)
{
return ImGui::CreateNewWindowSettings(name);
@@ -3173,6 +3225,10 @@ CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name)
{
return ImGui::FindSettingsHandler(type_name);
}
CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll)
{
return ImGui::SetNextWindowScroll(scroll);
}
CIMGUI_API void igSetScrollXWindowPtr(ImGuiWindow* window,float new_scroll_x)
{
return ImGui::SetScrollX(window,new_scroll_x);
@@ -3261,6 +3317,10 @@ CIMGUI_API bool igIsClippedEx(const ImRect bb,ImGuiID id,bool clip_even_when_log
{
return ImGui::IsClippedEx(bb,id,clip_even_when_logged);
}
CIMGUI_API void igSetLastItemData(ImGuiWindow* window,ImGuiID item_id,ImGuiItemStatusFlags status_flags,const ImRect item_rect)
{
return ImGui::SetLastItemData(window,item_id,status_flags,item_rect);
}
CIMGUI_API bool igFocusableItemRegister(ImGuiWindow* window,ImGuiID id)
{
return ImGui::FocusableItemRegister(window,id);
@@ -3313,9 +3373,9 @@ CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg
{
return ImGui::BeginChildEx(name,id,size_arg,border,flags);
}
CIMGUI_API void igOpenPopupEx(ImGuiID id)
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags)
{
return ImGui::OpenPopupEx(id);
return ImGui::OpenPopupEx(id,popup_flags);
}
CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup)
{
@@ -3325,9 +3385,9 @@ CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_foc
{
return ImGui::ClosePopupsOverWindow(ref_window,restore_focus_to_window_under_popup);
}
CIMGUI_API bool igIsPopupOpenID(ImGuiID id)
CIMGUI_API bool igIsPopupOpenID(ImGuiID id,ImGuiPopupFlags popup_flags)
{
return ImGui::IsPopupOpen(id);
return ImGui::IsPopupOpen(id,popup_flags);
}
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_flags)
{
@@ -3449,6 +3509,10 @@ CIMGUI_API bool igIsDragDropPayloadBeingAccepted()
{
return ImGui::IsDragDropPayloadBeingAccepted();
}
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect)
{
return ImGui::SetWindowClipRectBeforeSetChannel(window,clip_rect);
}
CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiColumnsFlags flags)
{
return ImGui::BeginColumns(str_id,count,flags);
@@ -3517,9 +3581,9 @@ CIMGUI_API void igTabItemBackground(ImDrawList* draw_list,const ImRect bb,ImGuiT
{
return ImGui::TabItemBackground(draw_list,bb,flags,col);
}
CIMGUI_API bool igTabItemLabelAndCloseButton(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id)
CIMGUI_API bool igTabItemLabelAndCloseButton(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible)
{
return ImGui::TabItemLabelAndCloseButton(draw_list,bb,flags,frame_padding,label,tab_id,close_button_id);
return ImGui::TabItemLabelAndCloseButton(draw_list,bb,flags,frame_padding,label,tab_id,close_button_id,is_contents_visible);
}
CIMGUI_API void igRenderText(ImVec2 pos,const char* text,const char* text_end,bool hide_text_after_hash)
{
@@ -3589,6 +3653,10 @@ CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect rect
{
return ImGui::RenderRectFilledRangeH(draw_list,rect,col,x_start_norm,x_end_norm,rounding);
}
CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding)
{
return ImGui::RenderRectFilledWithHole(draw_list,outer,inner,col,rounding);
}
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags)
{
return ImGui::TextEx(text,text_end,flags);
@@ -3617,6 +3685,10 @@ CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* p
{
return ImGui::ScrollbarEx(bb,id,axis,p_scroll_v,avail_v,contents_v,rounding_corners);
}
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col)
{
return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col);
}
CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis)
{
*pOut = ImGui::GetWindowScrollbarRect(window,axis);
@@ -3637,13 +3709,13 @@ CIMGUI_API bool igButtonBehavior(const ImRect bb,ImGuiID id,bool* out_hovered,bo
{
return ImGui::ButtonBehavior(bb,id,out_hovered,out_held,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,float power,ImGuiDragFlags 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)
{
return ImGui::DragBehavior(id,data_type,p_v,v_speed,p_min,p_max,format,power,flags);
return ImGui::DragBehavior(id,data_type,p_v,v_speed,p_min,p_max,format,flags);
}
CIMGUI_API bool igSliderBehavior(const ImRect bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,float power,ImGuiSliderFlags flags,ImRect* out_grab_bb)
CIMGUI_API bool igSliderBehavior(const ImRect 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)
{
return ImGui::SliderBehavior(bb,id,data_type,p_v,p_min,p_max,format,power,flags,out_grab_bb);
return ImGui::SliderBehavior(bb,id,data_type,p_v,p_min,p_max,format,flags,out_grab_bb);
}
CIMGUI_API bool igSplitterBehavior(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend,float hover_visibility_delay)
{
@@ -3677,6 +3749,10 @@ CIMGUI_API bool igDataTypeApplyOpFromText(const char* buf,const char* initial_va
{
return ImGui::DataTypeApplyOpFromText(buf,initial_value_buf,data_type,p_data,format);
}
CIMGUI_API bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)
{
return ImGui::DataTypeClamp(data_type,p_data,p_min,p_max);
}
CIMGUI_API bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputTextEx(label,hint,buf,buf_size,size_arg,flags,callback,user_data);
@@ -3685,9 +3761,9 @@ CIMGUI_API bool igTempInputText(const ImRect bb,ImGuiID id,const char* label,cha
{
return ImGui::TempInputText(bb,id,label,buf,buf_size,flags);
}
CIMGUI_API bool igTempInputScalar(const ImRect bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format)
CIMGUI_API bool igTempInputScalar(const ImRect 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)
{
return ImGui::TempInputScalar(bb,id,label,data_type,p_data,format);
return ImGui::TempInputScalar(bb,id,label,data_type,p_data,format,p_clamp_min,p_clamp_max);
}
CIMGUI_API bool igTempInputIsActive(ImGuiID id)
{
@@ -3757,6 +3833,10 @@ CIMGUI_API void igImFontAtlasBuildFinish(ImFontAtlas* atlas)
{
return ImFontAtlasBuildFinish(atlas);
}
CIMGUI_API void igImFontAtlasBuildRender1bppRectFromString(ImFontAtlas* atlas,int atlas_x,int atlas_y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value)
{
return ImFontAtlasBuildRender1bppRectFromString(atlas,atlas_x,atlas_y,w,h,in_str,in_marker_char,in_marker_pixel_value);
}
CIMGUI_API void igImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256],float in_multiply_factor)
{
return ImFontAtlasBuildMultiplyCalcLookupTable(out_table,in_multiply_factor);
@@ -3791,14 +3871,7 @@ CIMGUI_API float igGET_FLT_MAX()
{
return FLT_MAX;
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
{
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
{
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
}
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create()
{

553
cimgui.h

File diff suppressed because it is too large Load Diff

View File

@@ -31,14 +31,7 @@ CIMGUI_API float igGET_FLT_MAX()
{
return FLT_MAX;
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
{
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
{
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
}
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create()
{

View File

@@ -55,9 +55,6 @@ CIMGUI_API void igLogText(CONST char *fmt, ...);
CIMGUI_API void ImGuiTextBuffer_appendf(struct ImGuiTextBuffer *buffer, const char *fmt, ...);
//for getting FLT_MAX in bindings
CIMGUI_API float igGET_FLT_MAX();
//not const args from & to *
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v);
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b);
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();

View File

@@ -280,7 +280,8 @@ local function getRE()
end
M.getRE = getRE
--takes preprocesed file in table cdefsor and returns items
local function parseItems(txt,dumpit)
local function parseItems(txt,dumpit,loca)
--assert(loca)
--dumpit = true
local res,resN = getRE()
@@ -297,7 +298,7 @@ local function parseItems(txt,dumpit)
item = txt:sub(i,e)
--if re~=functionD_re then --skip defined functions
item = item:gsub("extern __attribute__%(%(dllexport%)%) ","")
table.insert(itemarr,{re_name=re_name,item=item})
table.insert(itemarr,{re_name=re_name,item=item,locat=loca})
--end
items[re_name] = items[re_name] or {}
table.insert(items[re_name],item)
@@ -392,8 +393,10 @@ local function name_overloadsAlgo(v)
return aa,bb
end
local function typetoStr(typ)
--print("typetoStr",typ)
--typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","%1") -- funcs
typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr")
--typ = typ:gsub("[^%(%)]+%(%*?(.+)%).+","FnPtr")
typ = typ:gsub("([^%(%)]+)%(%*?(.+)%).+","Fn%1Ptr")
typ = typ:gsub("[%w_]+%[(%d*)%]","arr%1")
typ = typ:gsub("%*","Ptr")
typ = typ:gsub("void","")
@@ -410,7 +413,8 @@ local function typetoStr(typ)
typ = typ:gsub("[<>]","")
return typ
end
local function parseFunction(self,stname,lineorig,namespace)
local function parseFunction(self,stname,lineorig,namespace,locat)
line = clean_spaces(lineorig)
--move *
line = line:gsub("%s*%*","%*")
@@ -426,6 +430,7 @@ local function parseFunction(self,stname,lineorig,namespace)
line = line:gsub("static","")
line = line:gsub("inline","")
line = line:gsub("mutable","")
line = line:gsub("explicit","")
--skip operator
if line:match("operator") then return end
--skip template
@@ -478,16 +483,18 @@ local function parseFunction(self,stname,lineorig,namespace)
local functype_arg_rest = "^(%s*[%w%s%*]+%(%*[%w_]+%)%([^%(%)]*%)),*(.*)"
local rest = argscsinpars:sub(2,-2) --strip ()
while true do
--local tt = strsplit(rest,",")
--for ii,arg in ipairs(tt) do
--for arg in argscsinpars:gmatch("[%(,]*([^,%(%)]+)[%),]") do
local reftoptr
if rest == "void" then break end
local type,name,retf,sigf
local arg,restt = rest:match(functype_arg_rest)
if arg then
if arg then -- if is function pointer
local t1,namef,t2 = arg:match(functype_reex)
type=t1.."(*)"..t2;name=namef
type = t1.."(*)"..t2;name=namef
retf = t1
sigf = t2
rest = restt
@@ -495,8 +502,13 @@ local function parseFunction(self,stname,lineorig,namespace)
arg,restt = rest:match(",*([^,%(%)]+),*(.*)")
if not arg then break end
rest = restt
if arg:match("&") and arg:match("const") then
arg = arg:gsub("&","")
if arg:match("&") then
if arg:match("const") then
arg = arg:gsub("&","")
else
arg = arg:gsub("&","*")
reftoptr = true
end
end
if arg:match("%.%.%.") then
type="...";name="..."
@@ -506,7 +518,6 @@ local function parseFunction(self,stname,lineorig,namespace)
if not type or not name then
print("failure arg detection",funcname,type,name,argscsinpars,arg)
else
if name:match"%*" then print("**",funcname) end
--float name[2] to float[2] name
@@ -517,17 +528,17 @@ local function parseFunction(self,stname,lineorig,namespace)
end
end
end
table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf})
table.insert(argsArr,{type=type,name=name,ret=retf,signature=sigf,reftoptr=reftoptr})
if arg:match("&") and not arg:match("const") then
--only post error if not manual
local cname = self.getCname(stname,funcname) --cimguiname
local cname = self.getCname(stname,funcname, namespace) --cimguiname
if not self.manuals[cname] then
print("reference to no const arg in",funcname,argscsinpars,arg)
end
end
end
argscsinpars = argscsinpars:gsub("&","")
local signature = argscsinpars:gsub("([%w%s%*_]+)%s[%w_]+%s*([,%)])","%1%2")
signature = signature:gsub("%s*([,%)])","%1") --space before , and )
signature = signature:gsub(",%s*",",")--space after ,
@@ -538,6 +549,43 @@ local function parseFunction(self,stname,lineorig,namespace)
local call_args = argscsinpars:gsub("([%w_]+%s[%w_]+)%[%d*%]","%1") --float[2]
call_args = call_args:gsub("%(%*([%w_]+)%)%([^%(%)]*%)"," %1") --func type
call_args = call_args:gsub("[^%(].-([%w_]+)%s*([,%)])","%1%2")
--recreate argscsinpars from argsArr
local asp, caar
if #argsArr > 0 then
asp = "("
caar = "("
for i,v in ipairs(argsArr) do
if v.ret then --function pointer
asp = asp .. v.ret .. "(*" .. v.name .. ")" .. v.signature .. ","
caar = caar .. v.name .. ","
else
local siz = v.type:match("(%[%d*%])") or ""
local type = v.type:gsub("(%[%d*%])","")
asp = asp .. type .. (v.name~="..." and " "..v.name or "") .. siz .. ","
local callname = v.reftoptr and "*"..v.name or v.name
caar = caar .. callname .. ","
end
end
asp = asp:sub(1,-2)..")"
caar = caar:sub(1,-2)..")"
else
asp = "()"
caar = "()"
end
--[[
if asp~=argscsinpars then
print("bad recontruction",funcname)
print(argscsinpars)
print(asp)
end
if caar~=call_args then
print("bad call_args",funcname)
print(call_args)
print(caar)
end
--]]
------------------------------
if not ret and stname then --must be constructors
if not (stname == funcname or "~"..stname==funcname) then --break end
@@ -547,7 +595,7 @@ local function parseFunction(self,stname,lineorig,namespace)
end
end
local cimguiname = self.getCname(stname,funcname)
local cimguiname = self.getCname(stname,funcname, namespace)
table.insert(self.funcdefs,{stname=stname,funcname=funcname,args=args,argsc=argscsinpars,signature=signature,cimguiname=cimguiname,call_args=call_args,ret =ret})
local defsT = self.defsT
defsT[cimguiname] = defsT[cimguiname] or {}
@@ -565,9 +613,9 @@ local function parseFunction(self,stname,lineorig,namespace)
defT.stname = stname
defT.funcname = funcname
defT.argsoriginal = args
defT.args=argscsinpars
defT.args= asp --argscsinpars
defT.signature = signature
defT.call_args = call_args
defT.call_args = caar --call_args
defT.isvararg = signature:match("%.%.%.%)$")
defT.location = locat
--defT.comment = "" --comment
@@ -767,16 +815,16 @@ function M.Parser()
par.manuals = {}
par.UDTs = {}
function par:insert(line)
table.insert(cdefs,line)
function par:insert(line,loca)
table.insert(cdefs,{line,loca})
end
function par.getCname(stname,funcname)
function par.getCname(stname,funcname, namespace)
if #stname == 0 then return funcname end --top level
local pre = stname.."_"
return pre..funcname
end
function par.getCname_overload(stname,funcname,signature)
local cname = par.getCname(stname,funcname)
function par.getCname_overload(stname,funcname,signature, namespace)
local cname = par.getCname(stname,funcname, namespace)
local ov_cname = par.cname_overloads[cname] and par.cname_overloads[cname][signature] --or cname
return ov_cname
end
@@ -793,7 +841,8 @@ function M.Parser()
end
function par:parseItems()
--typedefs dictionary
for i,line in ipairs(cdefs) do
for i,cdef in ipairs(cdefs) do
local line = cdef[1]
if line:match("typedef") then
line = clean_spaces(line)
local value,key = line:match("typedef%s+(.+)%s+([%w_]+);")
@@ -813,8 +862,26 @@ function M.Parser()
end
end
end
local txt = table.concat(cdefs,"\n")
itemsarr,items = parseItems(txt)
itemsarr = {}
if self.separate_locations then
local located_cdefs = self:separate_locations(cdefs)
for i,lcdef in ipairs(located_cdefs) do
local txt = table.concat(lcdef[2],"\n")
local itemsarrT,itemsT = parseItems(txt,false,lcdef[1])
for i,it in ipairs(itemsarrT) do
table.insert(itemsarr,it)
end
end
else
local cdefs2 = {}
for i,cdef in ipairs(cdefs) do
table.insert(cdefs2,cdef[1])
end
local txt = table.concat(cdefs2,"\n")
itemsarr,items = parseItems(txt,false)
end
self.itemsarr , self.items = itemsarr,items
end
function par:printItems()
@@ -826,14 +893,14 @@ function M.Parser()
function par:parseFunctions()
for i,it in ipairs(itemsarr) do
if it.re_name == "function_re" or it.re_name == "functionD_re" then
self:parseFunction("",it.item)
self:parseFunction("",it.item,nil,it.locat)
elseif it.re_name == "namespace_re" then
local nsp = it.item:match("%b{}"):sub(2,-2)
local namespace = it.item:match("namespace%s+(%S+)")
local nspparr,itemsnsp = parseItems(nsp)
local nspparr,itemsnsp = parseItems(nsp,false,it.locat)
for insp,itnsp in ipairs(nspparr) do
if itnsp.re_name == "function_re" or itnsp.re_name == "functionD_re" then
self:parseFunction("",itnsp.item,namespace)
self:parseFunction("",itnsp.item,namespace,itnsp.locat)
end
end
elseif it.re_name == "struct_re" then
@@ -845,20 +912,20 @@ function M.Parser()
self.typenames = self.typenames or {}
self.typenames[stname] = typename
end
local nspparr,itemsnsp = parseItems(nsp)
local nspparr,itemsnsp = parseItems(nsp,false,it.locat)
for insp,itnsp in ipairs(nspparr) do
if itnsp.re_name == "function_re" or itnsp.re_name == "functionD_re" then
self:parseFunction(stname,itnsp.item)
self:parseFunction(stname,itnsp.item,nil,itnsp.locat)
elseif itnsp.re_name == "struct_re" then
--get embeded_structs
local embededst = itnsp.item:match("struct%s+(%S+)")
self.embeded_structs[embededst] = stname.."::"..embededst
local nsp2 = strip_end(itnsp.item:match("%b{}"):sub(2,-2))
local itemsemarr,itemsem = parseItems(nsp2)
local itemsemarr,itemsem = parseItems(nsp2,false,itnsp.locat)
assert(not itemsem.struct_re,"two level embed struct")
for iemb,itemb in ipairs(itemsemarr) do
if itemb.re_name == "function_re" or itemb.re_name == "functionD_re" then
self:parseFunction(embededst,itemb.item)
self:parseFunction(embededst,itemb.item,nil,itemb.locat)
end
end
end
@@ -868,7 +935,8 @@ function M.Parser()
--require"anima"
--prtable(self.defsT)
end
function par:clean_struct(stru)
function par:clean_struct(stru, locat)
--assert(locat)
local outtab = {}
local iner = strip_end(stru:match("%b{}"):sub(2,-2))
local inistruct = clean_spaces(stru:match("(.-)%b{}"))
@@ -894,7 +962,7 @@ function M.Parser()
if derived then
table.insert(outtab,"\n "..derived.." _"..derived..";")
end
local itlist,itemsin = parseItems(iner)
local itlist,itemsin = parseItems(iner, false,locat)
if #itlist == 0 then return "" end --here we avoid empty structs
for j,it in ipairs(itlist) do
if it.re_name == "vardef_re" or it.re_name == "functype_re" or it.re_name == "union_re" then
@@ -949,7 +1017,7 @@ function M.Parser()
if it.re_name == "namespace_re" then
local nsp = it.item:match("%b{}"):sub(2,-2)
local namespace = it.item:match("namespace%s+(%S+)")
local nspparr,itemsnsp = parseItems(nsp)
local nspparr,itemsnsp = parseItems(nsp, nil, it.locat )
for insp,itnsp in ipairs(nspparr) do
if itnsp.re_name == "struct_re" or itnsp.re_name == "typedef_st_re" then
--print("in mamespace",itnsp.item,namespace)
@@ -965,7 +1033,7 @@ function M.Parser()
--print("enum is:",enumname, enumbody)
table.insert(outtab,"\ntypedef enum ".. enumbody..enumname..";")
elseif it.re_name == "struct_re" then
local cleanst,structname = self:clean_struct(it.item)
local cleanst,structname = self:clean_struct(it.item, it.locat)
--if not structname then print("NO NAME",cleanst,it.item) end
@@ -979,7 +1047,7 @@ function M.Parser()
end
--inner_structs
for i,it in ipairs(self.inerstructs) do
local cleanst,structname = self:clean_struct(it.item)
local cleanst,structname = self:clean_struct(it.item, it.locat)
if structname then
table.insert(outtab,cleanst)
table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n")
@@ -1008,19 +1076,22 @@ function M.Parser()
else
--split type name1,name2; in several lines
local typen,rest = line:match("%s*([^,]+)%s(%S+[,;])")
--local template_type = typen:match("/%*<(.+)>%*/")
--if template_type then typen = typen:match("(.+)/%*") end
if not typen then -- Lets try Type*name
typen,rest = line:match("([^,]+%*)(%S+[,;])")
end
local template_type
for k,v in pairs(self.templates) do
template_type = typen:match(k.."_(.+)")
if template_type then break end
end
if template_type then
template_type = template_type:gsub("_"," ")
template_type = template_type:gsub("Ptr","%*")
local template_type2 = typen:match(k.."_(.+)")
if template_type2 then
for k1,k2 in pairs(v) do
if template_type2==k2 then
template_type=k1
break
end
end
assert(template_type)
break
end
end
for name in rest:gmatch("([^%s,;]+)%s?[,;]") do
--unnamed unions
@@ -1035,7 +1106,7 @@ function M.Parser()
end
end
function par:gen_structs_and_enums_table()
local outtab = {enums={},structs={}}
local outtab = {enums={},structs={},locations={}}
self.typedefs_table = {}
self.vardefs = {}
@@ -1082,6 +1153,7 @@ function M.Parser()
local name,value = line:match("%s*([%w_]+)%s*=%s*([^,]+)")
if value then
table.insert(outtab.enums[enumname],{name=name,value=value})
outtab.locations[enumname] = it.locat
else --increment by one
local name = line:match("%s*([^,]+)")
local enum_table = outtab.enums[enumname]
@@ -1096,15 +1168,17 @@ function M.Parser()
end
if name then --avoid last , if present
table.insert(outtab.enums[enumname],{name=name,value=value})
outtab.locations[enumname] = it.locat
end
end
end
elseif it.re_name == "struct_re" then
local cleanst,structname,strtab = self:clean_struct(it.item)
local cleanst,structname,strtab = self:clean_struct(it.item, it.locat)
--if not void stname or templated
--M.prtable(cleanst,structname,strtab)
if structname and not self.typenames[structname] then
outtab.structs[structname] = {}
outtab.locations[structname] = it.locat
self.order[structname]=i
for j=3,#strtab-1 do
self:parse_struct_line(strtab[j],outtab.structs[structname])
@@ -1115,9 +1189,10 @@ function M.Parser()
--inner_structs
for i,it in ipairs(self.inerstructs) do
local cleanst,structname,strtab = self:clean_struct(it.item)
local cleanst,structname,strtab = self:clean_struct(it.item, it.locat)
if structname then --not empty struc
outtab.structs[structname] = {}
outtab.locations[structname] = it.locat
for j=3,#strtab-1 do
self:parse_struct_line(strtab[j],outtab.structs[structname])
end
@@ -1193,13 +1268,13 @@ function M.Parser()
local typesc,post = name_overloadsAlgo(v)
for i,t in ipairs(v) do
--take overloaded name from manual table or algorythm
t.ov_cimguiname = self.getCname_overload(t.stname,t.funcname,t.signature) or k..typetoStr(post[i])
t.ov_cimguiname = self.getCname_overload(t.stname,t.funcname,t.signature,t.namespace) or k..typetoStr(post[i])
table.insert(strt,string.format("%d\t%s\t%s %s",i,t.ret,t.ov_cimguiname,t.signature))
--M.prtable(typesc[i],post)
end
--check not two names are equal (produced by bad cimguiname_overload)
for i=1,#v-1 do
for j=i+1,#v-1 do
for j=i+1,#v do
if v[i].ov_cimguiname == v[j].ov_cimguiname then
local t,tj = v[i],v[j]
print("Error caused by Bad overloading "..t.ov_cimguiname.." of function ",t.funcname,t.signature,"conflicts with ",tj.funcname,tj.signature)

View File

@@ -50,8 +50,8 @@ for i=3,#script_args do table.insert(implementations,script_args[i]) end
local cimgui_manuals = {
igLogText = true,
ImGuiTextBuffer_appendf = true,
igColorConvertRGBtoHSV = true,
igColorConvertHSVtoRGB = true
--igColorConvertRGBtoHSV = true,
--igColorConvertHSVtoRGB = true
}
--------------------------------------------------------------------------
--this table is a dictionary to force a naming of function overloading (instead of algorythmic generated)
@@ -428,8 +428,22 @@ gdefines = get_defines{"IMGUI_VERSION","FLT_MAX"}
local function parseImGuiHeader(header,names)
--prepare parser
local parser = cpp2ffi.Parser()
parser.getCname = function(stname,funcname)
local pre = (stname == "") and "ig" or stname.."_"
parser.separate_locations = function(self,cdefs)
local imguicdefs = {}
local othercdefs = {}
for i,cdef in ipairs(cdefs) do
if cdef[2]=="imgui" then
table.insert(imguicdefs,cdef[1])
else
table.insert(othercdefs,cdef[1])
end
end
return {{"imgui",imguicdefs},{"internal",othercdefs}}
end
parser.getCname = function(stname,funcname,namespace)
local pre = (stname == "") and (namespace and (namespace=="ImGui" and "ig" or namespace.."_") or "ig") or stname.."_"
return pre..funcname
end
parser.cname_overloads = cimgui_overloads
@@ -538,6 +552,20 @@ if #implementations > 0 then
end
pipe:close()
end
parser2.separate_locations = function(self, cdefs)
local sepcdefs = {}
for i,impl in ipairs(implementations) do
sepcdefs[i] = {[[imgui_impl_]].. impl,{}}
for j,cdef in ipairs(cdefs) do
if cdef[2]==sepcdefs[i][1] then
table.insert(sepcdefs[i][2],cdef[1])
end
end
end
return sepcdefs
end
parser2:do_parse()
-- save ./cimgui_impl.h

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.76" from Dear ImGui https://github.com/ocornut/imgui
//based on imgui.h file version "1.78" from Dear ImGui https://github.com/ocornut/imgui
//with imgui_internal.h api
#include "./imgui/imgui.h"
@@ -598,9 +598,9 @@ CIMGUI_API bool igSmallButton(const char* label)
{
return ImGui::SmallButton(label);
}
CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size)
CIMGUI_API bool igInvisibleButton(const char* str_id,const ImVec2 size,ImGuiButtonFlags flags)
{
return ImGui::InvisibleButton(str_id,size);
return ImGui::InvisibleButton(str_id,size,flags);
}
CIMGUI_API bool igArrowButton(const char* str_id,ImGuiDir dir)
{
@@ -654,113 +654,113 @@ CIMGUI_API bool igComboStr(const char* label,int* current_item,const char* items
{
return ImGui::Combo(label,current_item,items_separated_by_zeros,popup_max_height_in_items);
}
CIMGUI_API bool igComboFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)
CIMGUI_API bool igComboFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int popup_max_height_in_items)
{
return ImGui::Combo(label,current_item,items_getter,data,items_count,popup_max_height_in_items);
}
CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat(const char* label,float* v,float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat2(const char* label,float v[2],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat2(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat3(const char* label,float v[3],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat3(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igDragFloat4(const char* label,float v[4],float v_speed,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,power);
return ImGui::DragFloat4(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,float power)
CIMGUI_API bool igDragFloatRange2(const char* label,float* v_current_min,float* v_current_max,float v_speed,float v_min,float v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)
{
return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,power);
return ImGui::DragFloatRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags);
}
CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt(const char* label,int* v,float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt2(const char* label,int v[2],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt2(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt3(const char* label,int v[3],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt3(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format)
CIMGUI_API bool igDragInt4(const char* label,int v[4],float v_speed,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format);
return ImGui::DragInt4(label,v,v_speed,v_min,v_max,format,flags);
}
CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max)
CIMGUI_API bool igDragIntRange2(const char* label,int* v_current_min,int* v_current_max,float v_speed,int v_min,int v_max,const char* format,const char* format_max,ImGuiSliderFlags flags)
{
return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max);
return ImGui::DragIntRange2(label,v_current_min,v_current_max,v_speed,v_min,v_max,format,format_max,flags);
}
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igDragScalar(const char* label,ImGuiDataType data_type,void* p_data,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragScalar(label,data_type,p_data,v_speed,p_min,p_max,format,power);
return ImGui::DragScalar(label,data_type,p_data,v_speed,p_min,p_max,format,flags);
}
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igDragScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,float v_speed,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::DragScalarN(label,data_type,p_data,components,v_speed,p_min,p_max,format,power);
return ImGui::DragScalarN(label,data_type,p_data,components,v_speed,p_min,p_max,format,flags);
}
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat2(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat2(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat3(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat3(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderFloat4(label,v,v_min,v_max,format,power);
return ImGui::SliderFloat4(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max,format);
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max,format,flags);
}
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt(label,v,v_min,v_max,format);
return ImGui::SliderInt(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt2(label,v,v_min,v_max,format);
return ImGui::SliderInt2(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt3(label,v,v_min,v_max,format);
return ImGui::SliderInt3(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format)
CIMGUI_API bool igSliderInt4(const char* label,int v[4],int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderInt4(label,v,v_min,v_max,format);
return ImGui::SliderInt4(label,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igSliderScalar(const char* label,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderScalar(label,data_type,p_data,p_min,p_max,format,power);
return ImGui::SliderScalar(label,data_type,p_data,p_min,p_max,format,flags);
}
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igSliderScalarN(const char* label,ImGuiDataType data_type,void* p_data,int components,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::SliderScalarN(label,data_type,p_data,components,p_min,p_max,format,power);
return ImGui::SliderScalarN(label,data_type,p_data,components,p_min,p_max,format,flags);
}
CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,float power)
CIMGUI_API bool igVSliderFloat(const char* label,const ImVec2 size,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,power);
return ImGui::VSliderFloat(label,size,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format)
CIMGUI_API bool igVSliderInt(const char* label,const ImVec2 size,int* v,int v_min,int v_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::VSliderInt(label,size,v,v_min,v_max,format);
return ImGui::VSliderInt(label,size,v,v_min,v_max,format,flags);
}
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,float power)
CIMGUI_API bool igVSliderScalar(const char* label,const ImVec2 size,ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max,const char* format,ImGuiSliderFlags flags)
{
return ImGui::VSliderScalar(label,size,data_type,p_data,p_min,p_max,format,power);
return ImGui::VSliderScalar(label,size,data_type,p_data,p_min,p_max,format,flags);
}
CIMGUI_API bool igInputText(const char* label,char* buf,size_t buf_size,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
@@ -938,7 +938,7 @@ CIMGUI_API bool igListBoxStr_arr(const char* label,int* current_item,const char*
{
return ImGui::ListBox(label,current_item,items,items_count,height_in_items);
}
CIMGUI_API bool igListBoxFnPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)
CIMGUI_API bool igListBoxFnBoolPtr(const char* label,int* current_item,bool(*items_getter)(void* data,int idx,const char** out_text),void* data,int items_count,int height_in_items)
{
return ImGui::ListBox(label,current_item,items_getter,data,items_count,height_in_items);
}
@@ -958,7 +958,7 @@ CIMGUI_API void igPlotLinesFloatPtr(const char* label,const float* values,int va
{
return ImGui::PlotLines(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotLinesFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
CIMGUI_API void igPlotLinesFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotLines(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
@@ -966,7 +966,7 @@ CIMGUI_API void igPlotHistogramFloatPtr(const char* label,const float* values,in
{
return ImGui::PlotHistogram(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride);
}
CIMGUI_API void igPlotHistogramFnPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
CIMGUI_API void igPlotHistogramFnFloatPtr(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset,const char* overlay_text,float scale_min,float scale_max,ImVec2 graph_size)
{
return ImGui::PlotHistogram(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size);
}
@@ -1037,26 +1037,10 @@ CIMGUI_API void igSetTooltipV(const char* fmt,va_list args)
{
return ImGui::SetTooltipV(fmt,args);
}
CIMGUI_API void igOpenPopup(const char* str_id)
{
return ImGui::OpenPopup(str_id);
}
CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags)
{
return ImGui::BeginPopup(str_id,flags);
}
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiMouseButton mouse_button)
{
return ImGui::BeginPopupContextItem(str_id,mouse_button);
}
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items)
{
return ImGui::BeginPopupContextWindow(str_id,mouse_button,also_over_items);
}
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiMouseButton mouse_button)
{
return ImGui::BeginPopupContextVoid(str_id,mouse_button);
}
CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags)
{
return ImGui::BeginPopupModal(name,p_open,flags);
@@ -1065,18 +1049,34 @@ CIMGUI_API void igEndPopup()
{
return ImGui::EndPopup();
}
CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiMouseButton mouse_button)
CIMGUI_API void igOpenPopup(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::OpenPopupOnItemClick(str_id,mouse_button);
return ImGui::OpenPopup(str_id,popup_flags);
}
CIMGUI_API bool igIsPopupOpenStr(const char* str_id)
CIMGUI_API bool igOpenPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::IsPopupOpen(str_id);
return ImGui::OpenPopupContextItem(str_id,popup_flags);
}
CIMGUI_API void igCloseCurrentPopup()
{
return ImGui::CloseCurrentPopup();
}
CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::BeginPopupContextItem(str_id,popup_flags);
}
CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::BeginPopupContextWindow(str_id,popup_flags);
}
CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags)
{
return ImGui::BeginPopupContextVoid(str_id,popup_flags);
}
CIMGUI_API bool igIsPopupOpenStr(const char* str_id,ImGuiPopupFlags flags)
{
return ImGui::IsPopupOpen(str_id,flags);
}
CIMGUI_API void igColumns(int count,const char* id,bool border)
{
return ImGui::Columns(count,id,border);
@@ -1325,6 +1325,14 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
{
return ImGui::ColorConvertFloat4ToU32(in);
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float* out_h,float* out_s,float* out_v)
{
return ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float* out_r,float* out_g,float* out_b)
{
return ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
}
CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key)
{
return ImGui::GetKeyIndex(imgui_key);
@@ -1969,14 +1977,6 @@ CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n)
{
return self->ChannelsSetCurrent(n);
}
CIMGUI_API void ImDrawList_Clear(ImDrawList* self)
{
return self->Clear();
}
CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count)
{
return self->PrimReserve(idx_count,vtx_count);
@@ -2009,13 +2009,29 @@ CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec
{
return self->PrimVtx(pos,uv,col);
}
CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self)
CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self)
{
return self->UpdateClipRect();
return self->_ResetForNewFrame();
}
CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self)
CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self)
{
return self->UpdateTextureID();
return self->_ClearFreeMemory();
}
CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self)
{
return self->_PopUnusedDrawCmd();
}
CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self)
{
return self->_OnChangedClipRect();
}
CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self)
{
return self->_OnChangedTextureID();
}
CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self)
{
return self->_OnChangedVtxOffset();
}
CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void)
{
@@ -2193,15 +2209,15 @@ CIMGUI_API const ImWchar* ImFontAtlas_GetGlyphRangesVietnamese(ImFontAtlas* self
{
return self->GetGlyphRangesVietnamese();
}
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,unsigned int id,int width,int height)
CIMGUI_API int ImFontAtlas_AddCustomRectRegular(ImFontAtlas* self,int width,int height)
{
return self->AddCustomRectRegular(id,width,height);
return self->AddCustomRectRegular(width,height);
}
CIMGUI_API int ImFontAtlas_AddCustomRectFontGlyph(ImFontAtlas* self,ImFont* font,ImWchar id,int width,int height,float advance_x,const ImVec2 offset)
{
return self->AddCustomRectFontGlyph(font,id,width,height,advance_x,offset);
}
CIMGUI_API const ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index)
CIMGUI_API ImFontAtlasCustomRect* ImFontAtlas_GetCustomRectByIndex(ImFontAtlas* self,int index)
{
return self->GetCustomRectByIndex(index);
}
@@ -2269,9 +2285,9 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size)
{
return self->GrowIndex(new_size);
}
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImFontConfig* src_cfg,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x)
{
return self->AddGlyph(c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x);
return self->AddGlyph(src_cfg,c,x0,y0,x1,y1,u0,v0,u1,v1,advance_x);
}
CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst)
{
@@ -2449,6 +2465,30 @@ CIMGUI_API double igImPowdouble(double x,double y)
{
return ImPow(x,y);
}
CIMGUI_API float igImLogFloat(float x)
{
return ImLog(x);
}
CIMGUI_API double igImLogdouble(double x)
{
return ImLog(x);
}
CIMGUI_API float igImAbsFloat(float x)
{
return ImAbs(x);
}
CIMGUI_API double igImAbsdouble(double x)
{
return ImAbs(x);
}
CIMGUI_API float igImSignFloat(float x)
{
return ImSign(x);
}
CIMGUI_API double igImSigndouble(double x)
{
return ImSign(x);
}
CIMGUI_API void igImMin(ImVec2 *pOut,const ImVec2 lhs,const ImVec2 rhs)
{
*pOut = ImMin(lhs,rhs);
@@ -2541,9 +2581,9 @@ CIMGUI_API void igImTriangleClosestPoint(ImVec2 *pOut,const ImVec2 a,const ImVec
{
*pOut = ImTriangleClosestPoint(a,b,c,p);
}
CIMGUI_API void igImTriangleBarycentricCoords(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float out_u,float out_v,float out_w)
CIMGUI_API void igImTriangleBarycentricCoords(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float* out_u,float* out_v,float* out_w)
{
return ImTriangleBarycentricCoords(a,b,c,p,out_u,out_v,out_w);
return ImTriangleBarycentricCoords(a,b,c,p,*out_u,*out_v,*out_w);
}
CIMGUI_API float igImTriangleArea(const ImVec2 a,const ImVec2 b,const ImVec2 c)
{
@@ -2553,42 +2593,6 @@ CIMGUI_API ImGuiDir igImGetDirQuadrantFromDelta(float dx,float dy)
{
return ImGetDirQuadrantFromDelta(dx,dy);
}
CIMGUI_API bool igImBitArrayTestBit(const ImU32* arr,int n)
{
return ImBitArrayTestBit(arr,n);
}
CIMGUI_API void igImBitArrayClearBit(ImU32* arr,int n)
{
return ImBitArrayClearBit(arr,n);
}
CIMGUI_API void igImBitArraySetBit(ImU32* arr,int n)
{
return ImBitArraySetBit(arr,n);
}
CIMGUI_API void igImBitArraySetBitRange(ImU32* arr,int n,int n2)
{
return ImBitArraySetBitRange(arr,n,n2);
}
CIMGUI_API void ImBitVector_Create(ImBitVector* self,int sz)
{
return self->Create(sz);
}
CIMGUI_API void ImBitVector_Clear(ImBitVector* self)
{
return self->Clear();
}
CIMGUI_API bool ImBitVector_TestBit(ImBitVector* self,int n)
{
return self->TestBit(n);
}
CIMGUI_API void ImBitVector_SetBit(ImBitVector* self,int n)
{
return self->SetBit(n);
}
CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n)
{
return self->ClearBit(n);
}
CIMGUI_API ImVec1* ImVec1_ImVec1Nil(void)
{
return IM_NEW(ImVec1)();
@@ -2725,6 +2729,70 @@ CIMGUI_API bool ImRect_IsInverted(ImRect* self)
{
return self->IsInverted();
}
CIMGUI_API void ImRect_ToVec4(ImVec4 *pOut,ImRect* self)
{
*pOut = self->ToVec4();
}
CIMGUI_API bool igImBitArrayTestBit(const ImU32* arr,int n)
{
return ImBitArrayTestBit(arr,n);
}
CIMGUI_API void igImBitArrayClearBit(ImU32* arr,int n)
{
return ImBitArrayClearBit(arr,n);
}
CIMGUI_API void igImBitArraySetBit(ImU32* arr,int n)
{
return ImBitArraySetBit(arr,n);
}
CIMGUI_API void igImBitArraySetBitRange(ImU32* arr,int n,int n2)
{
return ImBitArraySetBitRange(arr,n,n2);
}
CIMGUI_API void ImBitVector_Create(ImBitVector* self,int sz)
{
return self->Create(sz);
}
CIMGUI_API void ImBitVector_Clear(ImBitVector* self)
{
return self->Clear();
}
CIMGUI_API bool ImBitVector_TestBit(ImBitVector* self,int n)
{
return self->TestBit(n);
}
CIMGUI_API void ImBitVector_SetBit(ImBitVector* self,int n)
{
return self->SetBit(n);
}
CIMGUI_API void ImBitVector_ClearBit(ImBitVector* self,int n)
{
return self->ClearBit(n);
}
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void)
{
return IM_NEW(ImDrawListSharedData)();
}
CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImDrawListSharedData_SetCircleSegmentMaxError(ImDrawListSharedData* self,float max_error)
{
return self->SetCircleSegmentMaxError(max_error);
}
CIMGUI_API void ImDrawDataBuilder_Clear(ImDrawDataBuilder* self)
{
return self->Clear();
}
CIMGUI_API void ImDrawDataBuilder_ClearFreeMemory(ImDrawDataBuilder* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API void ImDrawDataBuilder_FlattenIntoSingleLayer(ImDrawDataBuilder* self)
{
return self->FlattenIntoSingleLayer();
}
CIMGUI_API ImGuiStyleMod* ImGuiStyleMod_ImGuiStyleModInt(ImGuiStyleVar idx,int v)
{
return IM_NEW(ImGuiStyleMod)(idx,v);
@@ -2809,26 +2877,6 @@ CIMGUI_API void ImGuiInputTextState_SelectAll(ImGuiInputTextState* self)
{
return self->SelectAll();
}
CIMGUI_API ImGuiWindowSettings* ImGuiWindowSettings_ImGuiWindowSettings(void)
{
return IM_NEW(ImGuiWindowSettings)();
}
CIMGUI_API void ImGuiWindowSettings_destroy(ImGuiWindowSettings* self)
{
IM_DELETE(self);
}
CIMGUI_API char* ImGuiWindowSettings_GetName(ImGuiWindowSettings* self)
{
return self->GetName();
}
CIMGUI_API ImGuiSettingsHandler* ImGuiSettingsHandler_ImGuiSettingsHandler(void)
{
return IM_NEW(ImGuiSettingsHandler)();
}
CIMGUI_API void ImGuiSettingsHandler_destroy(ImGuiSettingsHandler* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiPopupData* ImGuiPopupData_ImGuiPopupData(void)
{
return IM_NEW(ImGuiPopupData)();
@@ -2837,50 +2885,6 @@ CIMGUI_API void ImGuiPopupData_destroy(ImGuiPopupData* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiColumnData* ImGuiColumnData_ImGuiColumnData(void)
{
return IM_NEW(ImGuiColumnData)();
}
CIMGUI_API void ImGuiColumnData_destroy(ImGuiColumnData* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiColumns* ImGuiColumns_ImGuiColumns(void)
{
return IM_NEW(ImGuiColumns)();
}
CIMGUI_API void ImGuiColumns_destroy(ImGuiColumns* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiColumns_Clear(ImGuiColumns* self)
{
return self->Clear();
}
CIMGUI_API ImDrawListSharedData* ImDrawListSharedData_ImDrawListSharedData(void)
{
return IM_NEW(ImDrawListSharedData)();
}
CIMGUI_API void ImDrawListSharedData_destroy(ImDrawListSharedData* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImDrawListSharedData_SetCircleSegmentMaxError(ImDrawListSharedData* self,float max_error)
{
return self->SetCircleSegmentMaxError(max_error);
}
CIMGUI_API void ImDrawDataBuilder_Clear(ImDrawDataBuilder* self)
{
return self->Clear();
}
CIMGUI_API void ImDrawDataBuilder_ClearFreeMemory(ImDrawDataBuilder* self)
{
return self->ClearFreeMemory();
}
CIMGUI_API void ImDrawDataBuilder_FlattenIntoSingleLayer(ImDrawDataBuilder* self)
{
return self->FlattenIntoSingleLayer();
}
CIMGUI_API ImGuiNavMoveResult* ImGuiNavMoveResult_ImGuiNavMoveResult(void)
{
return IM_NEW(ImGuiNavMoveResult)();
@@ -2929,6 +2933,46 @@ CIMGUI_API ImGuiPtrOrIndex* ImGuiPtrOrIndex_ImGuiPtrOrIndexInt(int index)
{
return IM_NEW(ImGuiPtrOrIndex)(index);
}
CIMGUI_API ImGuiColumnData* ImGuiColumnData_ImGuiColumnData(void)
{
return IM_NEW(ImGuiColumnData)();
}
CIMGUI_API void ImGuiColumnData_destroy(ImGuiColumnData* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiColumns* ImGuiColumns_ImGuiColumns(void)
{
return IM_NEW(ImGuiColumns)();
}
CIMGUI_API void ImGuiColumns_destroy(ImGuiColumns* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiColumns_Clear(ImGuiColumns* self)
{
return self->Clear();
}
CIMGUI_API ImGuiWindowSettings* ImGuiWindowSettings_ImGuiWindowSettings(void)
{
return IM_NEW(ImGuiWindowSettings)();
}
CIMGUI_API void ImGuiWindowSettings_destroy(ImGuiWindowSettings* self)
{
IM_DELETE(self);
}
CIMGUI_API char* ImGuiWindowSettings_GetName(ImGuiWindowSettings* self)
{
return self->GetName();
}
CIMGUI_API ImGuiSettingsHandler* ImGuiSettingsHandler_ImGuiSettingsHandler(void)
{
return IM_NEW(ImGuiSettingsHandler)();
}
CIMGUI_API void ImGuiSettingsHandler_destroy(ImGuiSettingsHandler* self)
{
IM_DELETE(self);
}
CIMGUI_API ImGuiContext* ImGuiContext_ImGuiContext(ImFontAtlas* shared_font_atlas)
{
return IM_NEW(ImGuiContext)(shared_font_atlas);
@@ -3005,19 +3049,19 @@ CIMGUI_API void ImGuiWindow_MenuBarRect(ImRect *pOut,ImGuiWindow* self)
{
*pOut = self->MenuBarRect();
}
CIMGUI_API ImGuiItemHoveredDataBackup* ImGuiItemHoveredDataBackup_ImGuiItemHoveredDataBackup(void)
CIMGUI_API ImGuiLastItemDataBackup* ImGuiLastItemDataBackup_ImGuiLastItemDataBackup(void)
{
return IM_NEW(ImGuiItemHoveredDataBackup)();
return IM_NEW(ImGuiLastItemDataBackup)();
}
CIMGUI_API void ImGuiItemHoveredDataBackup_destroy(ImGuiItemHoveredDataBackup* self)
CIMGUI_API void ImGuiLastItemDataBackup_destroy(ImGuiLastItemDataBackup* self)
{
IM_DELETE(self);
}
CIMGUI_API void ImGuiItemHoveredDataBackup_Backup(ImGuiItemHoveredDataBackup* self)
CIMGUI_API void ImGuiLastItemDataBackup_Backup(ImGuiLastItemDataBackup* self)
{
return self->Backup();
}
CIMGUI_API void ImGuiItemHoveredDataBackup_Restore(ImGuiItemHoveredDataBackup* self)
CIMGUI_API void ImGuiLastItemDataBackup_Restore(ImGuiLastItemDataBackup* self)
{
return self->Restore();
}
@@ -3093,6 +3137,10 @@ CIMGUI_API void igSetWindowCollapsedWindowPtr(ImGuiWindow* window,bool collapsed
{
return ImGui::SetWindowCollapsed(window,collapsed,cond);
}
CIMGUI_API void igSetWindowHitTestHole(ImGuiWindow* window,const ImVec2 pos,const ImVec2 size)
{
return ImGui::SetWindowHitTestHole(window,pos,size);
}
CIMGUI_API void igFocusWindow(ImGuiWindow* window)
{
return ImGui::FocusWindow(window);
@@ -3157,6 +3205,10 @@ CIMGUI_API void igMarkIniSettingsDirtyWindowPtr(ImGuiWindow* window)
{
return ImGui::MarkIniSettingsDirty(window);
}
CIMGUI_API void igClearIniSettings()
{
return ImGui::ClearIniSettings();
}
CIMGUI_API ImGuiWindowSettings* igCreateNewWindowSettings(const char* name)
{
return ImGui::CreateNewWindowSettings(name);
@@ -3173,6 +3225,10 @@ CIMGUI_API ImGuiSettingsHandler* igFindSettingsHandler(const char* type_name)
{
return ImGui::FindSettingsHandler(type_name);
}
CIMGUI_API void igSetNextWindowScroll(const ImVec2 scroll)
{
return ImGui::SetNextWindowScroll(scroll);
}
CIMGUI_API void igSetScrollXWindowPtr(ImGuiWindow* window,float new_scroll_x)
{
return ImGui::SetScrollX(window,new_scroll_x);
@@ -3261,6 +3317,10 @@ CIMGUI_API bool igIsClippedEx(const ImRect bb,ImGuiID id,bool clip_even_when_log
{
return ImGui::IsClippedEx(bb,id,clip_even_when_logged);
}
CIMGUI_API void igSetLastItemData(ImGuiWindow* window,ImGuiID item_id,ImGuiItemStatusFlags status_flags,const ImRect item_rect)
{
return ImGui::SetLastItemData(window,item_id,status_flags,item_rect);
}
CIMGUI_API bool igFocusableItemRegister(ImGuiWindow* window,ImGuiID id)
{
return ImGui::FocusableItemRegister(window,id);
@@ -3313,9 +3373,9 @@ CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg
{
return ImGui::BeginChildEx(name,id,size_arg,border,flags);
}
CIMGUI_API void igOpenPopupEx(ImGuiID id)
CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags)
{
return ImGui::OpenPopupEx(id);
return ImGui::OpenPopupEx(id,popup_flags);
}
CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup)
{
@@ -3325,9 +3385,9 @@ CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_foc
{
return ImGui::ClosePopupsOverWindow(ref_window,restore_focus_to_window_under_popup);
}
CIMGUI_API bool igIsPopupOpenID(ImGuiID id)
CIMGUI_API bool igIsPopupOpenID(ImGuiID id,ImGuiPopupFlags popup_flags)
{
return ImGui::IsPopupOpen(id);
return ImGui::IsPopupOpen(id,popup_flags);
}
CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_flags)
{
@@ -3449,6 +3509,10 @@ CIMGUI_API bool igIsDragDropPayloadBeingAccepted()
{
return ImGui::IsDragDropPayloadBeingAccepted();
}
CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect)
{
return ImGui::SetWindowClipRectBeforeSetChannel(window,clip_rect);
}
CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiColumnsFlags flags)
{
return ImGui::BeginColumns(str_id,count,flags);
@@ -3517,9 +3581,9 @@ CIMGUI_API void igTabItemBackground(ImDrawList* draw_list,const ImRect bb,ImGuiT
{
return ImGui::TabItemBackground(draw_list,bb,flags,col);
}
CIMGUI_API bool igTabItemLabelAndCloseButton(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id)
CIMGUI_API bool igTabItemLabelAndCloseButton(ImDrawList* draw_list,const ImRect bb,ImGuiTabItemFlags flags,ImVec2 frame_padding,const char* label,ImGuiID tab_id,ImGuiID close_button_id,bool is_contents_visible)
{
return ImGui::TabItemLabelAndCloseButton(draw_list,bb,flags,frame_padding,label,tab_id,close_button_id);
return ImGui::TabItemLabelAndCloseButton(draw_list,bb,flags,frame_padding,label,tab_id,close_button_id,is_contents_visible);
}
CIMGUI_API void igRenderText(ImVec2 pos,const char* text,const char* text_end,bool hide_text_after_hash)
{
@@ -3589,6 +3653,10 @@ CIMGUI_API void igRenderRectFilledRangeH(ImDrawList* draw_list,const ImRect rect
{
return ImGui::RenderRectFilledRangeH(draw_list,rect,col,x_start_norm,x_end_norm,rounding);
}
CIMGUI_API void igRenderRectFilledWithHole(ImDrawList* draw_list,ImRect outer,ImRect inner,ImU32 col,float rounding)
{
return ImGui::RenderRectFilledWithHole(draw_list,outer,inner,col,rounding);
}
CIMGUI_API void igTextEx(const char* text,const char* text_end,ImGuiTextFlags flags)
{
return ImGui::TextEx(text,text_end,flags);
@@ -3617,6 +3685,10 @@ CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* p
{
return ImGui::ScrollbarEx(bb,id,axis,p_scroll_v,avail_v,contents_v,rounding_corners);
}
CIMGUI_API bool igImageButtonEx(ImGuiID id,ImTextureID texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec2 padding,const ImVec4 bg_col,const ImVec4 tint_col)
{
return ImGui::ImageButtonEx(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col);
}
CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis)
{
*pOut = ImGui::GetWindowScrollbarRect(window,axis);
@@ -3637,13 +3709,13 @@ CIMGUI_API bool igButtonBehavior(const ImRect bb,ImGuiID id,bool* out_hovered,bo
{
return ImGui::ButtonBehavior(bb,id,out_hovered,out_held,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,float power,ImGuiDragFlags 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)
{
return ImGui::DragBehavior(id,data_type,p_v,v_speed,p_min,p_max,format,power,flags);
return ImGui::DragBehavior(id,data_type,p_v,v_speed,p_min,p_max,format,flags);
}
CIMGUI_API bool igSliderBehavior(const ImRect bb,ImGuiID id,ImGuiDataType data_type,void* p_v,const void* p_min,const void* p_max,const char* format,float power,ImGuiSliderFlags flags,ImRect* out_grab_bb)
CIMGUI_API bool igSliderBehavior(const ImRect 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)
{
return ImGui::SliderBehavior(bb,id,data_type,p_v,p_min,p_max,format,power,flags,out_grab_bb);
return ImGui::SliderBehavior(bb,id,data_type,p_v,p_min,p_max,format,flags,out_grab_bb);
}
CIMGUI_API bool igSplitterBehavior(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* size1,float* size2,float min_size1,float min_size2,float hover_extend,float hover_visibility_delay)
{
@@ -3677,6 +3749,10 @@ CIMGUI_API bool igDataTypeApplyOpFromText(const char* buf,const char* initial_va
{
return ImGui::DataTypeApplyOpFromText(buf,initial_value_buf,data_type,p_data,format);
}
CIMGUI_API bool igDataTypeClamp(ImGuiDataType data_type,void* p_data,const void* p_min,const void* p_max)
{
return ImGui::DataTypeClamp(data_type,p_data,p_min,p_max);
}
CIMGUI_API bool igInputTextEx(const char* label,const char* hint,char* buf,int buf_size,const ImVec2 size_arg,ImGuiInputTextFlags flags,ImGuiInputTextCallback callback,void* user_data)
{
return ImGui::InputTextEx(label,hint,buf,buf_size,size_arg,flags,callback,user_data);
@@ -3685,9 +3761,9 @@ CIMGUI_API bool igTempInputText(const ImRect bb,ImGuiID id,const char* label,cha
{
return ImGui::TempInputText(bb,id,label,buf,buf_size,flags);
}
CIMGUI_API bool igTempInputScalar(const ImRect bb,ImGuiID id,const char* label,ImGuiDataType data_type,void* p_data,const char* format)
CIMGUI_API bool igTempInputScalar(const ImRect 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)
{
return ImGui::TempInputScalar(bb,id,label,data_type,p_data,format);
return ImGui::TempInputScalar(bb,id,label,data_type,p_data,format,p_clamp_min,p_clamp_max);
}
CIMGUI_API bool igTempInputIsActive(ImGuiID id)
{
@@ -3757,6 +3833,10 @@ CIMGUI_API void igImFontAtlasBuildFinish(ImFontAtlas* atlas)
{
return ImFontAtlasBuildFinish(atlas);
}
CIMGUI_API void igImFontAtlasBuildRender1bppRectFromString(ImFontAtlas* atlas,int atlas_x,int atlas_y,int w,int h,const char* in_str,char in_marker_char,unsigned char in_marker_pixel_value)
{
return ImFontAtlasBuildRender1bppRectFromString(atlas,atlas_x,atlas_y,w,h,in_str,in_marker_char,in_marker_pixel_value);
}
CIMGUI_API void igImFontAtlasBuildMultiplyCalcLookupTable(unsigned char out_table[256],float in_multiply_factor)
{
return ImFontAtlasBuildMultiplyCalcLookupTable(out_table,in_multiply_factor);
@@ -3791,14 +3871,7 @@ CIMGUI_API float igGET_FLT_MAX()
{
return FLT_MAX;
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
{
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
{
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
}
CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create()
{

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,6 @@
typedef struct SDL_Window SDL_Window;
typedef struct GLFWwindow GLFWwindow;
struct GLFWwindow;
struct SDL_Window;
struct GLFWwindow;struct SDL_Window;
typedef union SDL_Event SDL_Event;CIMGUI_API bool ImGui_ImplGlfw_InitForOpenGL(GLFWwindow* window,bool install_callbacks);
CIMGUI_API bool ImGui_ImplGlfw_InitForVulkan(GLFWwindow* window,bool install_callbacks);
CIMGUI_API void ImGui_ImplGlfw_Shutdown();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,7 @@
"cimguiname": "ImGui_ImplGlfw_CharCallback",
"defaults": [],
"funcname": "ImGui_ImplGlfw_CharCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_CharCallback",
"ret": "void",
"signature": "(GLFWwindow*,unsigned int)",
@@ -41,6 +42,7 @@
"cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"defaults": [],
"funcname": "ImGui_ImplGlfw_InitForOpenGL",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_InitForOpenGL",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -65,6 +67,7 @@
"cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"defaults": [],
"funcname": "ImGui_ImplGlfw_InitForVulkan",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_InitForVulkan",
"ret": "bool",
"signature": "(GLFWwindow*,bool)",
@@ -101,6 +104,7 @@
"cimguiname": "ImGui_ImplGlfw_KeyCallback",
"defaults": [],
"funcname": "ImGui_ImplGlfw_KeyCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_KeyCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int,int)",
@@ -133,6 +137,7 @@
"cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"defaults": [],
"funcname": "ImGui_ImplGlfw_MouseButtonCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_MouseButtonCallback",
"ret": "void",
"signature": "(GLFWwindow*,int,int,int)",
@@ -148,6 +153,7 @@
"cimguiname": "ImGui_ImplGlfw_NewFrame",
"defaults": [],
"funcname": "ImGui_ImplGlfw_NewFrame",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_NewFrame",
"ret": "void",
"signature": "()",
@@ -176,6 +182,7 @@
"cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"defaults": [],
"funcname": "ImGui_ImplGlfw_ScrollCallback",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_ScrollCallback",
"ret": "void",
"signature": "(GLFWwindow*,double,double)",
@@ -191,6 +198,7 @@
"cimguiname": "ImGui_ImplGlfw_Shutdown",
"defaults": [],
"funcname": "ImGui_ImplGlfw_Shutdown",
"location": "imgui_impl_glfw",
"ov_cimguiname": "ImGui_ImplGlfw_Shutdown",
"ret": "void",
"signature": "()",
@@ -206,6 +214,7 @@
"cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
@@ -221,6 +230,7 @@
"cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_CreateFontsTexture",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_CreateFontsTexture",
"ret": "bool",
"signature": "()",
@@ -236,6 +246,7 @@
"cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
@@ -251,6 +262,7 @@
"cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_DestroyFontsTexture",
"ret": "void",
"signature": "()",
@@ -266,6 +278,7 @@
"cimguiname": "ImGui_ImplOpenGL2_Init",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_Init",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_Init",
"ret": "bool",
"signature": "()",
@@ -281,6 +294,7 @@
"cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_NewFrame",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_NewFrame",
"ret": "void",
"signature": "()",
@@ -301,6 +315,7 @@
"cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_RenderDrawData",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
@@ -316,6 +331,7 @@
"cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"defaults": [],
"funcname": "ImGui_ImplOpenGL2_Shutdown",
"location": "imgui_impl_opengl2",
"ov_cimguiname": "ImGui_ImplOpenGL2_Shutdown",
"ret": "void",
"signature": "()",
@@ -331,6 +347,7 @@
"cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateDeviceObjects",
"ret": "bool",
"signature": "()",
@@ -346,6 +363,7 @@
"cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_CreateFontsTexture",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_CreateFontsTexture",
"ret": "bool",
"signature": "()",
@@ -361,6 +379,7 @@
"cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyDeviceObjects",
"ret": "void",
"signature": "()",
@@ -376,6 +395,7 @@
"cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_DestroyFontsTexture",
"ret": "void",
"signature": "()",
@@ -398,6 +418,7 @@
"glsl_version": "((void*)0)"
},
"funcname": "ImGui_ImplOpenGL3_Init",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_Init",
"ret": "bool",
"signature": "(const char*)",
@@ -413,6 +434,7 @@
"cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_NewFrame",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_NewFrame",
"ret": "void",
"signature": "()",
@@ -433,6 +455,7 @@
"cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_RenderDrawData",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_RenderDrawData",
"ret": "void",
"signature": "(ImDrawData*)",
@@ -448,6 +471,7 @@
"cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"defaults": [],
"funcname": "ImGui_ImplOpenGL3_Shutdown",
"location": "imgui_impl_opengl3",
"ov_cimguiname": "ImGui_ImplOpenGL3_Shutdown",
"ret": "void",
"signature": "()",
@@ -468,6 +492,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForD3D",
"defaults": [],
"funcname": "ImGui_ImplSDL2_InitForD3D",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_InitForD3D",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -488,6 +513,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForMetal",
"defaults": [],
"funcname": "ImGui_ImplSDL2_InitForMetal",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_InitForMetal",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -512,6 +538,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"defaults": [],
"funcname": "ImGui_ImplSDL2_InitForOpenGL",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_InitForOpenGL",
"ret": "bool",
"signature": "(SDL_Window*,void*)",
@@ -532,6 +559,7 @@
"cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"defaults": [],
"funcname": "ImGui_ImplSDL2_InitForVulkan",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_InitForVulkan",
"ret": "bool",
"signature": "(SDL_Window*)",
@@ -552,6 +580,7 @@
"cimguiname": "ImGui_ImplSDL2_NewFrame",
"defaults": [],
"funcname": "ImGui_ImplSDL2_NewFrame",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_NewFrame",
"ret": "void",
"signature": "(SDL_Window*)",
@@ -572,6 +601,7 @@
"cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"defaults": [],
"funcname": "ImGui_ImplSDL2_ProcessEvent",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_ProcessEvent",
"ret": "bool",
"signature": "(const SDL_Event*)",
@@ -587,6 +617,7 @@
"cimguiname": "ImGui_ImplSDL2_Shutdown",
"defaults": [],
"funcname": "ImGui_ImplSDL2_Shutdown",
"location": "imgui_impl_sdl",
"ov_cimguiname": "ImGui_ImplSDL2_Shutdown",
"ret": "void",
"signature": "()",

View File

@@ -14,6 +14,7 @@ defs["ImGui_ImplGlfw_CharCallback"][1]["call_args"] = "(window,c)"
defs["ImGui_ImplGlfw_CharCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_CharCallback"
defs["ImGui_ImplGlfw_CharCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_CharCallback"][1]["funcname"] = "ImGui_ImplGlfw_CharCallback"
defs["ImGui_ImplGlfw_CharCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_CharCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_CharCallback"
defs["ImGui_ImplGlfw_CharCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_CharCallback"][1]["signature"] = "(GLFWwindow*,unsigned int)"
@@ -34,6 +35,7 @@ defs["ImGui_ImplGlfw_InitForOpenGL"][1]["call_args"] = "(window,install_callback
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["funcname"] = "ImGui_ImplGlfw_InitForOpenGL"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForOpenGL"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["ret"] = "bool"
defs["ImGui_ImplGlfw_InitForOpenGL"][1]["signature"] = "(GLFWwindow*,bool)"
@@ -54,6 +56,7 @@ defs["ImGui_ImplGlfw_InitForVulkan"][1]["call_args"] = "(window,install_callback
defs["ImGui_ImplGlfw_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplGlfw_InitForVulkan"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_InitForVulkan"][1]["funcname"] = "ImGui_ImplGlfw_InitForVulkan"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_InitForVulkan"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["ret"] = "bool"
defs["ImGui_ImplGlfw_InitForVulkan"][1]["signature"] = "(GLFWwindow*,bool)"
@@ -83,6 +86,7 @@ defs["ImGui_ImplGlfw_KeyCallback"][1]["call_args"] = "(window,key,scancode,actio
defs["ImGui_ImplGlfw_KeyCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_KeyCallback"
defs["ImGui_ImplGlfw_KeyCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_KeyCallback"][1]["funcname"] = "ImGui_ImplGlfw_KeyCallback"
defs["ImGui_ImplGlfw_KeyCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_KeyCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_KeyCallback"
defs["ImGui_ImplGlfw_KeyCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_KeyCallback"][1]["signature"] = "(GLFWwindow*,int,int,int,int)"
@@ -109,6 +113,7 @@ defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["call_args"] = "(window,button,act
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["funcname"] = "ImGui_ImplGlfw_MouseButtonCallback"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_MouseButtonCallback"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_MouseButtonCallback"][1]["signature"] = "(GLFWwindow*,int,int,int)"
@@ -123,6 +128,7 @@ defs["ImGui_ImplGlfw_NewFrame"][1]["call_args"] = "()"
defs["ImGui_ImplGlfw_NewFrame"][1]["cimguiname"] = "ImGui_ImplGlfw_NewFrame"
defs["ImGui_ImplGlfw_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_NewFrame"][1]["funcname"] = "ImGui_ImplGlfw_NewFrame"
defs["ImGui_ImplGlfw_NewFrame"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_NewFrame"
defs["ImGui_ImplGlfw_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_NewFrame"][1]["signature"] = "()"
@@ -146,6 +152,7 @@ defs["ImGui_ImplGlfw_ScrollCallback"][1]["call_args"] = "(window,xoffset,yoffset
defs["ImGui_ImplGlfw_ScrollCallback"][1]["cimguiname"] = "ImGui_ImplGlfw_ScrollCallback"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_ScrollCallback"][1]["funcname"] = "ImGui_ImplGlfw_ScrollCallback"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_ScrollCallback"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_ScrollCallback"][1]["signature"] = "(GLFWwindow*,double,double)"
@@ -160,6 +167,7 @@ defs["ImGui_ImplGlfw_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplGlfw_Shutdown"][1]["cimguiname"] = "ImGui_ImplGlfw_Shutdown"
defs["ImGui_ImplGlfw_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplGlfw_Shutdown"][1]["funcname"] = "ImGui_ImplGlfw_Shutdown"
defs["ImGui_ImplGlfw_Shutdown"][1]["location"] = "imgui_impl_glfw"
defs["ImGui_ImplGlfw_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplGlfw_Shutdown"
defs["ImGui_ImplGlfw_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplGlfw_Shutdown"][1]["signature"] = "()"
@@ -174,6 +182,7 @@ defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateDeviceObjects"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL2_CreateDeviceObjects"][1]["signature"] = "()"
@@ -188,6 +197,7 @@ defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_CreateFontsTexture"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL2_CreateFontsTexture"][1]["signature"] = "()"
@@ -202,6 +212,7 @@ defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_DestroyDeviceObjects"][1]["signature"] = "()"
@@ -216,6 +227,7 @@ defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_DestroyFontsTexture"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_DestroyFontsTexture"][1]["signature"] = "()"
@@ -230,6 +242,7 @@ defs["ImGui_ImplOpenGL2_Init"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Init"
defs["ImGui_ImplOpenGL2_Init"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_Init"][1]["funcname"] = "ImGui_ImplOpenGL2_Init"
defs["ImGui_ImplOpenGL2_Init"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Init"
defs["ImGui_ImplOpenGL2_Init"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL2_Init"][1]["signature"] = "()"
@@ -244,6 +257,7 @@ defs["ImGui_ImplOpenGL2_NewFrame"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL2_NewFrame"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL2_NewFrame"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_NewFrame"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_NewFrame"][1]["signature"] = "()"
@@ -261,6 +275,7 @@ defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["call_args"] = "(draw_data)"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL2_RenderDrawData"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_RenderDrawData"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
@@ -275,6 +290,7 @@ defs["ImGui_ImplOpenGL2_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL2_Shutdown"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL2_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL2_Shutdown"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["location"] = "imgui_impl_opengl2"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL2_Shutdown"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL2_Shutdown"][1]["signature"] = "()"
@@ -289,6 +305,7 @@ defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateDeviceObjects"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_CreateDeviceObjects"][1]["signature"] = "()"
@@ -303,6 +320,7 @@ defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_CreateFontsTexture"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_CreateFontsTexture"][1]["signature"] = "()"
@@ -317,6 +335,7 @@ defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyDeviceObjects"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_DestroyDeviceObjects"][1]["signature"] = "()"
@@ -331,6 +350,7 @@ defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["funcname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_DestroyFontsTexture"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_DestroyFontsTexture"][1]["signature"] = "()"
@@ -349,6 +369,7 @@ defs["ImGui_ImplOpenGL3_Init"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_Init"][1]["defaults"]["glsl_version"] = "((void*)0)"
defs["ImGui_ImplOpenGL3_Init"][1]["funcname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_Init"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Init"
defs["ImGui_ImplOpenGL3_Init"][1]["ret"] = "bool"
defs["ImGui_ImplOpenGL3_Init"][1]["signature"] = "(const char*)"
@@ -363,6 +384,7 @@ defs["ImGui_ImplOpenGL3_NewFrame"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["cimguiname"] = "ImGui_ImplOpenGL3_NewFrame"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_NewFrame"][1]["funcname"] = "ImGui_ImplOpenGL3_NewFrame"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_NewFrame"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_NewFrame"][1]["signature"] = "()"
@@ -380,6 +402,7 @@ defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["call_args"] = "(draw_data)"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["funcname"] = "ImGui_ImplOpenGL3_RenderDrawData"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_RenderDrawData"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_RenderDrawData"][1]["signature"] = "(ImDrawData*)"
@@ -394,6 +417,7 @@ defs["ImGui_ImplOpenGL3_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["cimguiname"] = "ImGui_ImplOpenGL3_Shutdown"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplOpenGL3_Shutdown"][1]["funcname"] = "ImGui_ImplOpenGL3_Shutdown"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["location"] = "imgui_impl_opengl3"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplOpenGL3_Shutdown"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplOpenGL3_Shutdown"][1]["signature"] = "()"
@@ -411,6 +435,7 @@ defs["ImGui_ImplSDL2_InitForD3D"][1]["call_args"] = "(window)"
defs["ImGui_ImplSDL2_InitForD3D"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForD3D"
defs["ImGui_ImplSDL2_InitForD3D"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_InitForD3D"][1]["funcname"] = "ImGui_ImplSDL2_InitForD3D"
defs["ImGui_ImplSDL2_InitForD3D"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_InitForD3D"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForD3D"
defs["ImGui_ImplSDL2_InitForD3D"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_InitForD3D"][1]["signature"] = "(SDL_Window*)"
@@ -428,6 +453,7 @@ defs["ImGui_ImplSDL2_InitForMetal"][1]["call_args"] = "(window)"
defs["ImGui_ImplSDL2_InitForMetal"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForMetal"
defs["ImGui_ImplSDL2_InitForMetal"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_InitForMetal"][1]["funcname"] = "ImGui_ImplSDL2_InitForMetal"
defs["ImGui_ImplSDL2_InitForMetal"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_InitForMetal"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForMetal"
defs["ImGui_ImplSDL2_InitForMetal"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_InitForMetal"][1]["signature"] = "(SDL_Window*)"
@@ -448,6 +474,7 @@ defs["ImGui_ImplSDL2_InitForOpenGL"][1]["call_args"] = "(window,sdl_gl_context)"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["funcname"] = "ImGui_ImplSDL2_InitForOpenGL"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForOpenGL"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_InitForOpenGL"][1]["signature"] = "(SDL_Window*,void*)"
@@ -465,6 +492,7 @@ defs["ImGui_ImplSDL2_InitForVulkan"][1]["call_args"] = "(window)"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["cimguiname"] = "ImGui_ImplSDL2_InitForVulkan"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_InitForVulkan"][1]["funcname"] = "ImGui_ImplSDL2_InitForVulkan"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_InitForVulkan"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_InitForVulkan"][1]["signature"] = "(SDL_Window*)"
@@ -482,6 +510,7 @@ defs["ImGui_ImplSDL2_NewFrame"][1]["call_args"] = "(window)"
defs["ImGui_ImplSDL2_NewFrame"][1]["cimguiname"] = "ImGui_ImplSDL2_NewFrame"
defs["ImGui_ImplSDL2_NewFrame"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_NewFrame"][1]["funcname"] = "ImGui_ImplSDL2_NewFrame"
defs["ImGui_ImplSDL2_NewFrame"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_NewFrame"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_NewFrame"
defs["ImGui_ImplSDL2_NewFrame"][1]["ret"] = "void"
defs["ImGui_ImplSDL2_NewFrame"][1]["signature"] = "(SDL_Window*)"
@@ -499,6 +528,7 @@ defs["ImGui_ImplSDL2_ProcessEvent"][1]["call_args"] = "(event)"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["cimguiname"] = "ImGui_ImplSDL2_ProcessEvent"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_ProcessEvent"][1]["funcname"] = "ImGui_ImplSDL2_ProcessEvent"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_ProcessEvent"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["ret"] = "bool"
defs["ImGui_ImplSDL2_ProcessEvent"][1]["signature"] = "(const SDL_Event*)"
@@ -513,6 +543,7 @@ defs["ImGui_ImplSDL2_Shutdown"][1]["call_args"] = "()"
defs["ImGui_ImplSDL2_Shutdown"][1]["cimguiname"] = "ImGui_ImplSDL2_Shutdown"
defs["ImGui_ImplSDL2_Shutdown"][1]["defaults"] = {}
defs["ImGui_ImplSDL2_Shutdown"][1]["funcname"] = "ImGui_ImplSDL2_Shutdown"
defs["ImGui_ImplSDL2_Shutdown"][1]["location"] = "imgui_impl_sdl"
defs["ImGui_ImplSDL2_Shutdown"][1]["ov_cimguiname"] = "ImGui_ImplSDL2_Shutdown"
defs["ImGui_ImplSDL2_Shutdown"][1]["ret"] = "void"
defs["ImGui_ImplSDL2_Shutdown"][1]["signature"] = "()"

View File

@@ -30,7 +30,10 @@ ImVector_back 2
2 const T* ImVector_back_const ()const
igPlotHistogram 2
1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotHistogramFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
2 void igPlotHistogramFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
igImAbs 2
1 float igImAbsFloat (float)
2 double igImAbsdouble (double)
igGetID 3
1 ImGuiID igGetIDStr (const char*)
2 ImGuiID igGetIDStrStr (const char*,const char*)
@@ -69,10 +72,16 @@ igSetScrollFromPosX 2
igGetForegroundDrawList 2
1 ImDrawList* igGetForegroundDrawListNil ()
2 ImDrawList* igGetForegroundDrawListWindowPtr (ImGuiWindow*)
igTreeNodeEx 3
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
igImLog 2
1 float igImLogFloat (float)
2 double igImLogdouble (double)
ImVector_front 2
1 T* ImVector_frontNil ()
2 const T* ImVector_front_const ()const
ImGuiWindow_GetID 3
1 ImGuiID ImGuiWindow_GetIDStr (const char*,const char*)
2 ImGuiID ImGuiWindow_GetIDPtr (const void*)
3 ImGuiID ImGuiWindow_GetIDInt (int)
igImLengthSqr 2
1 float igImLengthSqrVec2 (const ImVec2)
2 float igImLengthSqrVec4 (const ImVec4)
@@ -83,13 +92,10 @@ igTreeNode 3
1 bool igTreeNodeStr (const char*)
2 bool igTreeNodeStrStr (const char*,const char*,...)
3 bool igTreeNodePtr (const void*,const char*,...)
igItemSize 2
1 void igItemSizeVec2 (const ImVec2,float)
2 void igItemSizeRect (const ImRect,float)
igCombo 3
1 bool igComboStr_arr (const char*,int*,const char* const[],int,int)
2 bool igComboStr (const char*,int*,const char*,int)
3 bool igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
3 bool igComboFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
igSetScrollY 2
1 void igSetScrollYFloat (float)
2 void igSetScrollYWindowPtr (ImGuiWindow*,float)
@@ -109,19 +115,25 @@ igImLerp 3
1 ImVec2 igImLerpVec2Float (const ImVec2,const ImVec2,float)
2 ImVec2 igImLerpVec2Vec2 (const ImVec2,const ImVec2,const ImVec2)
3 ImVec4 igImLerpVec4 (const ImVec4,const ImVec4,float)
igItemSize 2
1 void igItemSizeVec2 (const ImVec2,float)
2 void igItemSizeRect (const ImRect,float)
ImVector_end 2
1 T* ImVector_endNil ()
2 const T* ImVector_end_const ()const
igMarkIniSettingsDirty 2
1 void igMarkIniSettingsDirtyNil ()
2 void igMarkIniSettingsDirtyWindowPtr (ImGuiWindow*)
igSetScrollX 2
1 void igSetScrollXFloat (float)
2 void igSetScrollXWindowPtr (ImGuiWindow*,float)
igSetWindowSize 3
1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond)
3 void igSetWindowSizeWindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond)
igIsPopupOpen 2
1 bool igIsPopupOpenStr (const char*)
2 bool igIsPopupOpenID (ImGuiID)
1 bool igIsPopupOpenStr (const char*,ImGuiPopupFlags)
2 bool igIsPopupOpenID (ImGuiID,ImGuiPopupFlags)
ImVector_ImVector 2
1 nil ImVector_ImVectorNil ()
2 nil ImVector_ImVectorVector (const ImVector)
@@ -131,7 +143,10 @@ igSetWindowCollapsed 3
3 void igSetWindowCollapsedWindowPtr (ImGuiWindow*,bool,ImGuiCond)
igPlotLines 2
1 void igPlotLinesFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
2 void igPlotLinesFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
igImSign 2
1 float igImSignFloat (float)
2 double igImSigndouble (double)
igPushStyleColor 2
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
2 void igPushStyleColorVec4 (ImGuiCol,const ImVec4)
@@ -139,30 +154,26 @@ ImGuiWindow_GetIDNoKeepAlive 3
1 ImGuiID ImGuiWindow_GetIDNoKeepAliveStr (const char*,const char*)
2 ImGuiID ImGuiWindow_GetIDNoKeepAlivePtr (const void*)
3 ImGuiID ImGuiWindow_GetIDNoKeepAliveInt (int)
ImGuiWindow_GetID 3
1 ImGuiID ImGuiWindow_GetIDStr (const char*,const char*)
2 ImGuiID ImGuiWindow_GetIDPtr (const void*)
3 ImGuiID ImGuiWindow_GetIDInt (int)
igTreeNodeExV 2
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
ImVec2ih_ImVec2ih 3
1 nil ImVec2ih_ImVec2ihNil ()
2 nil ImVec2ih_ImVec2ihshort (short,short)
3 explicit ImVec2ih_ImVec2ihVec2 (const ImVec2)
3 nil ImVec2ih_ImVec2ihVec2 (const ImVec2)
ImGuiStyleMod_ImGuiStyleMod 3
1 nil ImGuiStyleMod_ImGuiStyleModInt (ImGuiStyleVar,int)
2 nil ImGuiStyleMod_ImGuiStyleModFloat (ImGuiStyleVar,float)
3 nil ImGuiStyleMod_ImGuiStyleModVec2 (ImGuiStyleVar,ImVec2)
ImRect_Expand 2
1 void ImRect_ExpandFloat (const float)
2 void ImRect_ExpandVec2 (const ImVec2)
ImPool_Remove 2
1 void ImPool_RemoveTPtr (ImGuiID,const T*)
2 void ImPool_RemovePoolIdx (ImGuiID,ImPoolIdx)
ImRect_Expand 2
1 void ImRect_ExpandFloat (const float)
2 void ImRect_ExpandVec2 (const ImVec2)
igListBox 2
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
2 bool igListBoxFnBoolPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
ImGuiPtrOrIndex_ImGuiPtrOrIndex 2
1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr (void*)
2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndexInt (int)
@@ -174,41 +185,39 @@ ImRect_ImRect 4
igTreePush 2
1 void igTreePushStr (const char*)
2 void igTreePushPtr (const void*)
igSelectable 2
1 bool igSelectableBool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igTreeNodeEx 3
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
igGetColorU32 3
1 ImU32 igGetColorU32Col (ImGuiCol,float)
2 ImU32 igGetColorU32Vec4 (const ImVec4)
3 ImU32 igGetColorU32U32 (ImU32)
ImVector_begin 2
1 T* ImVector_beginNil ()
2 const T* ImVector_begin_const ()const
ImVector_find 2
1 T* ImVector_findNil (const T)
2 const T* ImVector_find_const (const T)const
ImColor_ImColor 5
1 nil ImColor_ImColorNil ()
2 nil ImColor_ImColorInt (int,int,int,int)
3 nil ImColor_ImColorU32 (ImU32)
4 nil ImColor_ImColorFloat (float,float,float,float)
5 nil ImColor_ImColorVec4 (const ImVec4)
ImVector_begin 2
1 T* ImVector_beginNil ()
2 const T* ImVector_begin_const ()const
igCollapsingHeader 2
1 bool igCollapsingHeaderTreeNodeFlags (const char*,ImGuiTreeNodeFlags)
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
ImVector_front 2
1 T* ImVector_frontNil ()
2 const T* ImVector_front_const ()const
ImVector_find 2
1 T* ImVector_findNil (const T)
2 const T* ImVector_find_const (const T)const
igListBoxHeader 2
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
2 bool igListBoxHeaderInt (const char*,int,int)
igSetScrollX 2
1 void igSetScrollXFloat (float)
2 void igSetScrollXWindowPtr (ImGuiWindow*,float)
igSelectable 2
1 bool igSelectableBool (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igMenuItem 2
1 bool igMenuItemBool (const char*,const char*,bool,bool)
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
igTreeNodeV 2
1 bool igTreeNodeVStr (const char*,const char*,va_list)
2 bool igTreeNodeVPtr (const void*,const char*,va_list)
149 overloaded
155 overloaded

View File

@@ -65,13 +65,18 @@
},
{
"calc_value": 2,
"name": "ImDrawListFlags_AntiAliasedFill",
"name": "ImDrawListFlags_AntiAliasedLinesUseTex",
"value": "1 << 1"
},
{
"calc_value": 4,
"name": "ImDrawListFlags_AllowVtxOffset",
"name": "ImDrawListFlags_AntiAliasedFill",
"value": "1 << 2"
},
{
"calc_value": 8,
"name": "ImDrawListFlags_AllowVtxOffset",
"value": "1 << 3"
}
],
"ImFontAtlasFlags_": [
@@ -89,6 +94,11 @@
"calc_value": 2,
"name": "ImFontAtlasFlags_NoMouseCursors",
"value": "1 << 1"
},
{
"calc_value": 4,
"name": "ImFontAtlasFlags_NoBakedLines",
"value": "1 << 2"
}
],
"ImGuiAxis": [
@@ -135,6 +145,98 @@
"value": "1 << 3"
}
],
"ImGuiButtonFlagsPrivate_": [
{
"calc_value": 16,
"name": "ImGuiButtonFlags_PressedOnClick",
"value": "1 << 4"
},
{
"calc_value": 32,
"name": "ImGuiButtonFlags_PressedOnClickRelease",
"value": "1 << 5"
},
{
"calc_value": 64,
"name": "ImGuiButtonFlags_PressedOnClickReleaseAnywhere",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiButtonFlags_PressedOnRelease",
"value": "1 << 7"
},
{
"calc_value": 256,
"name": "ImGuiButtonFlags_PressedOnDoubleClick",
"value": "1 << 8"
},
{
"calc_value": 512,
"name": "ImGuiButtonFlags_PressedOnDragDropHold",
"value": "1 << 9"
},
{
"calc_value": 1024,
"name": "ImGuiButtonFlags_Repeat",
"value": "1 << 10"
},
{
"calc_value": 2048,
"name": "ImGuiButtonFlags_FlattenChildren",
"value": "1 << 11"
},
{
"calc_value": 4096,
"name": "ImGuiButtonFlags_AllowItemOverlap",
"value": "1 << 12"
},
{
"calc_value": 8192,
"name": "ImGuiButtonFlags_DontClosePopups",
"value": "1 << 13"
},
{
"calc_value": 16384,
"name": "ImGuiButtonFlags_Disabled",
"value": "1 << 14"
},
{
"calc_value": 32768,
"name": "ImGuiButtonFlags_AlignTextBaseLine",
"value": "1 << 15"
},
{
"calc_value": 65536,
"name": "ImGuiButtonFlags_NoKeyModifiers",
"value": "1 << 16"
},
{
"calc_value": 131072,
"name": "ImGuiButtonFlags_NoHoldingActiveId",
"value": "1 << 17"
},
{
"calc_value": 262144,
"name": "ImGuiButtonFlags_NoNavFocus",
"value": "1 << 18"
},
{
"calc_value": 524288,
"name": "ImGuiButtonFlags_NoHoveredOnFocus",
"value": "1 << 19"
},
{
"calc_value": 1008,
"name": "ImGuiButtonFlags_PressedOnMask_",
"value": "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold"
},
{
"calc_value": 32,
"name": "ImGuiButtonFlags_PressedOnDefault_",
"value": "ImGuiButtonFlags_PressedOnClickRelease"
}
],
"ImGuiButtonFlags_": [
{
"calc_value": 0,
@@ -143,123 +245,28 @@
},
{
"calc_value": 1,
"name": "ImGuiButtonFlags_Repeat",
"name": "ImGuiButtonFlags_MouseButtonLeft",
"value": "1 << 0"
},
{
"calc_value": 2,
"name": "ImGuiButtonFlags_PressedOnClick",
"name": "ImGuiButtonFlags_MouseButtonRight",
"value": "1 << 1"
},
{
"calc_value": 4,
"name": "ImGuiButtonFlags_PressedOnClickRelease",
"name": "ImGuiButtonFlags_MouseButtonMiddle",
"value": "1 << 2"
},
{
"calc_value": 8,
"name": "ImGuiButtonFlags_PressedOnClickReleaseAnywhere",
"value": "1 << 3"
},
{
"calc_value": 16,
"name": "ImGuiButtonFlags_PressedOnRelease",
"value": "1 << 4"
},
{
"calc_value": 32,
"name": "ImGuiButtonFlags_PressedOnDoubleClick",
"value": "1 << 5"
},
{
"calc_value": 64,
"name": "ImGuiButtonFlags_PressedOnDragDropHold",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiButtonFlags_FlattenChildren",
"value": "1 << 7"
},
{
"calc_value": 256,
"name": "ImGuiButtonFlags_AllowItemOverlap",
"value": "1 << 8"
},
{
"calc_value": 512,
"name": "ImGuiButtonFlags_DontClosePopups",
"value": "1 << 9"
},
{
"calc_value": 1024,
"name": "ImGuiButtonFlags_Disabled",
"value": "1 << 10"
},
{
"calc_value": 2048,
"name": "ImGuiButtonFlags_AlignTextBaseLine",
"value": "1 << 11"
},
{
"calc_value": 4096,
"name": "ImGuiButtonFlags_NoKeyModifiers",
"value": "1 << 12"
},
{
"calc_value": 8192,
"name": "ImGuiButtonFlags_NoHoldingActiveId",
"value": "1 << 13"
},
{
"calc_value": 16384,
"name": "ImGuiButtonFlags_NoNavFocus",
"value": "1 << 14"
},
{
"calc_value": 32768,
"name": "ImGuiButtonFlags_NoHoveredOnFocus",
"value": "1 << 15"
},
{
"calc_value": 65536,
"name": "ImGuiButtonFlags_MouseButtonLeft",
"value": "1 << 16"
},
{
"calc_value": 131072,
"name": "ImGuiButtonFlags_MouseButtonRight",
"value": "1 << 17"
},
{
"calc_value": 262144,
"name": "ImGuiButtonFlags_MouseButtonMiddle",
"value": "1 << 18"
},
{
"calc_value": 458752,
"calc_value": 7,
"name": "ImGuiButtonFlags_MouseButtonMask_",
"value": "ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle"
},
{
"calc_value": 16,
"name": "ImGuiButtonFlags_MouseButtonShift_",
"value": "16"
},
{
"calc_value": 65536,
"calc_value": 1,
"name": "ImGuiButtonFlags_MouseButtonDefault_",
"value": "ImGuiButtonFlags_MouseButtonLeft"
},
{
"calc_value": 126,
"name": "ImGuiButtonFlags_PressedOnMask_",
"value": "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold"
},
{
"calc_value": 4,
"name": "ImGuiButtonFlags_PressedOnDefault_",
"value": "ImGuiButtonFlags_PressedOnClickRelease"
}
],
"ImGuiCol_": [
@@ -633,27 +640,27 @@
{
"calc_value": 177209344,
"name": "ImGuiColorEditFlags__OptionsDefault",
"value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_DisplayRGB|ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_PickerHueBar"
"value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar"
},
{
"calc_value": 7340032,
"name": "ImGuiColorEditFlags__DisplayMask",
"value": "ImGuiColorEditFlags_DisplayRGB|ImGuiColorEditFlags_DisplayHSV|ImGuiColorEditFlags_DisplayHex"
"value": "ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex"
},
{
"calc_value": 25165824,
"name": "ImGuiColorEditFlags__DataTypeMask",
"value": "ImGuiColorEditFlags_Uint8|ImGuiColorEditFlags_Float"
"value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float"
},
{
"calc_value": 100663296,
"name": "ImGuiColorEditFlags__PickerMask",
"value": "ImGuiColorEditFlags_PickerHueWheel|ImGuiColorEditFlags_PickerHueBar"
"value": "ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar"
},
{
"calc_value": 402653184,
"name": "ImGuiColorEditFlags__InputMask",
"value": "ImGuiColorEditFlags_InputRGB|ImGuiColorEditFlags_InputHSV"
"value": "ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV"
}
],
"ImGuiColumnsFlags_": [
@@ -736,6 +743,11 @@
}
],
"ImGuiCond_": [
{
"calc_value": 0,
"name": "ImGuiCond_None",
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiCond_Always",
@@ -804,6 +816,23 @@
"value": "1 << 21"
}
],
"ImGuiDataTypePrivate_": [
{
"calc_value": 11,
"name": "ImGuiDataType_String",
"value": "ImGuiDataType_COUNT + 1"
},
{
"calc_value": 12,
"name": "ImGuiDataType_Pointer",
"value": "ImGuiDataType_COUNT + 1+1"
},
{
"calc_value": 13,
"name": "ImGuiDataType_ID",
"value": "ImGuiDataType_COUNT + 1+1+1"
}
],
"ImGuiDataType_": [
{
"calc_value": 0,
@@ -950,18 +979,6 @@
"value": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"
}
],
"ImGuiDragFlags_": [
{
"calc_value": 0,
"name": "ImGuiDragFlags_None",
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiDragFlags_Vertical",
"value": "1 << 0"
}
],
"ImGuiFocusedFlags_": [
{
"calc_value": 0,
@@ -1258,6 +1275,11 @@
"name": "ImGuiItemFlags_MixedValue",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiItemFlags_ReadOnly",
"value": "1 << 7"
},
{
"calc_value": 0,
"name": "ImGuiItemFlags_Default_",
@@ -1867,6 +1889,11 @@
"calc_value": 64,
"name": "ImGuiNextWindowDataFlags_HasBgAlpha",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiNextWindowDataFlags_HasScroll",
"value": "1 << 7"
}
],
"ImGuiPlotType": [
@@ -1881,6 +1908,63 @@
"value": 1
}
],
"ImGuiPopupFlags_": [
{
"calc_value": 0,
"name": "ImGuiPopupFlags_None",
"value": "0"
},
{
"calc_value": 0,
"name": "ImGuiPopupFlags_MouseButtonLeft",
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiPopupFlags_MouseButtonRight",
"value": "1"
},
{
"calc_value": 2,
"name": "ImGuiPopupFlags_MouseButtonMiddle",
"value": "2"
},
{
"calc_value": 31,
"name": "ImGuiPopupFlags_MouseButtonMask_",
"value": "0x1F"
},
{
"calc_value": 1,
"name": "ImGuiPopupFlags_MouseButtonDefault_",
"value": "1"
},
{
"calc_value": 32,
"name": "ImGuiPopupFlags_NoOpenOverExistingPopup",
"value": "1 << 5"
},
{
"calc_value": 64,
"name": "ImGuiPopupFlags_NoOpenOverItems",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiPopupFlags_AnyPopupId",
"value": "1 << 7"
},
{
"calc_value": 256,
"name": "ImGuiPopupFlags_AnyPopupLevel",
"value": "1 << 8"
},
{
"calc_value": 384,
"name": "ImGuiPopupFlags_AnyPopup",
"value": "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel"
}
],
"ImGuiPopupPositionPolicy": [
{
"calc_value": 0,
@@ -1979,6 +2063,18 @@
"value": "1 << 2"
}
],
"ImGuiSliderFlagsPrivate_": [
{
"calc_value": 1048576,
"name": "ImGuiSliderFlags_Vertical",
"value": "1 << 20"
},
{
"calc_value": 2097152,
"name": "ImGuiSliderFlags_ReadOnly",
"value": "1 << 21"
}
],
"ImGuiSliderFlags_": [
{
"calc_value": 0,
@@ -1986,9 +2082,29 @@
"value": "0"
},
{
"calc_value": 1,
"name": "ImGuiSliderFlags_Vertical",
"value": "1 << 0"
"calc_value": 16,
"name": "ImGuiSliderFlags_ClampOnInput",
"value": "1 << 4"
},
{
"calc_value": 32,
"name": "ImGuiSliderFlags_Logarithmic",
"value": "1 << 5"
},
{
"calc_value": 64,
"name": "ImGuiSliderFlags_NoRoundToFormat",
"value": "1 << 6"
},
{
"calc_value": 128,
"name": "ImGuiSliderFlags_NoInput",
"value": "1 << 7"
},
{
"calc_value": 1879048207,
"name": "ImGuiSliderFlags_InvalidMask_",
"value": "0x7000000F"
}
],
"ImGuiStyleVar_": [
@@ -2219,6 +2335,11 @@
"calc_value": 8,
"name": "ImGuiTabItemFlags_NoPushId",
"value": "1 << 3"
},
{
"calc_value": 16,
"name": "ImGuiTabItemFlags_NoTooltip",
"value": "1 << 4"
}
],
"ImGuiTextFlags_": [
@@ -2487,6 +2608,120 @@
}
]
},
"locations": {
"ImBitVector": "internal",
"ImColor": "imgui",
"ImDrawChannel": "imgui",
"ImDrawCmd": "imgui",
"ImDrawCornerFlags_": "imgui",
"ImDrawData": "imgui",
"ImDrawDataBuilder": "internal",
"ImDrawList": "imgui",
"ImDrawListFlags_": "imgui",
"ImDrawListSharedData": "internal",
"ImDrawListSplitter": "imgui",
"ImDrawVert": "imgui",
"ImFont": "imgui",
"ImFontAtlas": "imgui",
"ImFontAtlasCustomRect": "imgui",
"ImFontAtlasFlags_": "imgui",
"ImFontConfig": "imgui",
"ImFontGlyph": "imgui",
"ImFontGlyphRangesBuilder": "imgui",
"ImGuiAxis": "internal",
"ImGuiBackendFlags_": "imgui",
"ImGuiButtonFlagsPrivate_": "internal",
"ImGuiButtonFlags_": "imgui",
"ImGuiCol_": "imgui",
"ImGuiColorEditFlags_": "imgui",
"ImGuiColorMod": "internal",
"ImGuiColumnData": "internal",
"ImGuiColumns": "internal",
"ImGuiColumnsFlags_": "internal",
"ImGuiComboFlags_": "imgui",
"ImGuiCond_": "imgui",
"ImGuiConfigFlags_": "imgui",
"ImGuiContext": "internal",
"ImGuiDataTypeInfo": "internal",
"ImGuiDataTypePrivate_": "internal",
"ImGuiDataTypeTempStorage": "internal",
"ImGuiDataType_": "imgui",
"ImGuiDir_": "imgui",
"ImGuiDragDropFlags_": "imgui",
"ImGuiFocusedFlags_": "imgui",
"ImGuiGroupData": "internal",
"ImGuiHoveredFlags_": "imgui",
"ImGuiIO": "imgui",
"ImGuiInputReadMode": "internal",
"ImGuiInputSource": "internal",
"ImGuiInputTextCallbackData": "imgui",
"ImGuiInputTextFlags_": "imgui",
"ImGuiInputTextState": "internal",
"ImGuiItemFlags_": "internal",
"ImGuiItemStatusFlags_": "internal",
"ImGuiKeyModFlags_": "imgui",
"ImGuiKey_": "imgui",
"ImGuiLastItemDataBackup": "internal",
"ImGuiLayoutType_": "internal",
"ImGuiListClipper": "imgui",
"ImGuiLogType": "internal",
"ImGuiMenuColumns": "internal",
"ImGuiMouseButton_": "imgui",
"ImGuiMouseCursor_": "imgui",
"ImGuiNavDirSourceFlags_": "internal",
"ImGuiNavForward": "internal",
"ImGuiNavHighlightFlags_": "internal",
"ImGuiNavInput_": "imgui",
"ImGuiNavLayer": "internal",
"ImGuiNavMoveFlags_": "internal",
"ImGuiNavMoveResult": "internal",
"ImGuiNextItemData": "internal",
"ImGuiNextItemDataFlags_": "internal",
"ImGuiNextWindowData": "internal",
"ImGuiNextWindowDataFlags_": "internal",
"ImGuiOnceUponAFrame": "imgui",
"ImGuiPayload": "imgui",
"ImGuiPlotType": "internal",
"ImGuiPopupData": "internal",
"ImGuiPopupFlags_": "imgui",
"ImGuiPopupPositionPolicy": "internal",
"ImGuiPtrOrIndex": "internal",
"ImGuiSelectableFlagsPrivate_": "internal",
"ImGuiSelectableFlags_": "imgui",
"ImGuiSeparatorFlags_": "internal",
"ImGuiSettingsHandler": "internal",
"ImGuiShrinkWidthItem": "internal",
"ImGuiSizeCallbackData": "imgui",
"ImGuiSliderFlagsPrivate_": "internal",
"ImGuiSliderFlags_": "imgui",
"ImGuiStorage": "imgui",
"ImGuiStoragePair": "imgui",
"ImGuiStyle": "imgui",
"ImGuiStyleMod": "internal",
"ImGuiStyleVar_": "imgui",
"ImGuiTabBar": "internal",
"ImGuiTabBarFlagsPrivate_": "internal",
"ImGuiTabBarFlags_": "imgui",
"ImGuiTabItem": "internal",
"ImGuiTabItemFlagsPrivate_": "internal",
"ImGuiTabItemFlags_": "imgui",
"ImGuiTextBuffer": "imgui",
"ImGuiTextFilter": "imgui",
"ImGuiTextFlags_": "internal",
"ImGuiTextRange": "imgui",
"ImGuiTooltipFlags_": "internal",
"ImGuiTreeNodeFlagsPrivate_": "internal",
"ImGuiTreeNodeFlags_": "imgui",
"ImGuiWindow": "internal",
"ImGuiWindowFlags_": "imgui",
"ImGuiWindowSettings": "internal",
"ImGuiWindowTempData": "internal",
"ImRect": "internal",
"ImVec1": "internal",
"ImVec2": "imgui",
"ImVec2ih": "internal",
"ImVec4": "imgui"
},
"structs": {
"ImBitVector": [
{
@@ -2514,10 +2749,6 @@
}
],
"ImDrawCmd": [
{
"name": "ElemCount",
"type": "unsigned int"
},
{
"name": "ClipRect",
"type": "ImVec4"
@@ -2534,6 +2765,10 @@
"name": "IdxOffset",
"type": "unsigned int"
},
{
"name": "ElemCount",
"type": "unsigned int"
},
{
"name": "UserCallback",
"type": "ImDrawCallback"
@@ -2613,10 +2848,6 @@
"name": "_OwnerName",
"type": "const char*"
},
{
"name": "_VtxCurrentOffset",
"type": "unsigned int"
},
{
"name": "_VtxCurrentIdx",
"type": "unsigned int"
@@ -2644,6 +2875,10 @@
"template_type": "ImVec2",
"type": "ImVector_ImVec2"
},
{
"name": "_CmdHeader",
"type": "ImDrawCmd"
},
{
"name": "_Splitter",
"type": "ImDrawListSplitter"
@@ -2687,6 +2922,10 @@
"name": "CircleSegmentCounts[64]",
"size": 64,
"type": "ImU8"
},
{
"name": "TexUvLines",
"type": "const ImVec4*"
}
],
"ImDrawListSplitter": [
@@ -2857,16 +3096,20 @@
"type": "ImVector_ImFontConfig"
},
{
"name": "CustomRectIds[1]",
"size": 1,
"name": "TexUvLines[(63)+1]",
"size": 64,
"type": "ImVec4"
},
{
"name": "PackIdMouseCursors",
"type": "int"
},
{
"name": "PackIdLines",
"type": "int"
}
],
"ImFontAtlasCustomRect": [
{
"name": "ID",
"type": "unsigned int"
},
{
"name": "Width",
"type": "unsigned short"
@@ -2883,6 +3126,10 @@
"name": "Y",
"type": "unsigned short"
},
{
"name": "GlyphID",
"type": "unsigned int"
},
{
"name": "GlyphAdvanceX",
"type": "float"
@@ -3108,11 +3355,15 @@
"type": "float"
},
{
"name": "HostClipRect",
"name": "HostInitialClipRect",
"type": "ImRect"
},
{
"name": "HostWorkRect",
"name": "HostBackupClipRect",
"type": "ImRect"
},
{
"name": "HostBackupParentWorkRect",
"type": "ImRect"
},
{
@@ -3186,6 +3437,18 @@
"name": "WithinEndChild",
"type": "bool"
},
{
"name": "TestEngineHookItems",
"type": "bool"
},
{
"name": "TestEngineHookIdInfo",
"type": "ImGuiID"
},
{
"name": "TestEngine",
"type": "void*"
},
{
"name": "Windows",
"template_type": "ImGuiWindow*",
@@ -3226,6 +3489,10 @@
"name": "HoveredRootWindow",
"type": "ImGuiWindow*"
},
{
"name": "HoveredWindowUnderMovingWindow",
"type": "ImGuiWindow*"
},
{
"name": "MovingWindow",
"type": "ImGuiWindow*"
@@ -3246,13 +3513,17 @@
"name": "HoveredId",
"type": "ImGuiID"
},
{
"name": "HoveredIdPreviousFrame",
"type": "ImGuiID"
},
{
"name": "HoveredIdAllowOverlap",
"type": "bool"
},
{
"name": "HoveredIdPreviousFrame",
"type": "ImGuiID"
"name": "HoveredIdDisabled",
"type": "bool"
},
{
"name": "HoveredIdTimer",
@@ -3282,6 +3553,10 @@
"name": "ActiveIdAllowOverlap",
"type": "bool"
},
{
"name": "ActiveIdNoClearOnFocusLoss",
"type": "bool"
},
{
"name": "ActiveIdHasBeenPressedBefore",
"type": "bool"
@@ -3527,6 +3802,14 @@
"name": "NavMoveResultOther",
"type": "ImGuiNavMoveResult"
},
{
"name": "NavWrapRequestWindow",
"type": "ImGuiWindow*"
},
{
"name": "NavWrapRequestFlags",
"type": "ImGuiNavMoveFlags"
},
{
"name": "NavWindowingTarget",
"type": "ImGuiWindow*"
@@ -3536,7 +3819,7 @@
"type": "ImGuiWindow*"
},
{
"name": "NavWindowingList",
"name": "NavWindowingListWindow",
"type": "ImGuiWindow*"
},
{
@@ -3659,6 +3942,10 @@
"name": "DragDropAcceptFrameCount",
"type": "int"
},
{
"name": "DragDropHoldJustPressedId",
"type": "ImGuiID"
},
{
"name": "DragDropPayloadBufHeap",
"template_type": "unsigned char",
@@ -3680,7 +3967,7 @@
},
{
"name": "CurrentTabBarStack",
"template_type": "ImGui*OrIndex",
"template_type": "ImGuiPtrOrIndex",
"type": "ImVector_ImGuiPtrOrIndex"
},
{
@@ -3725,6 +4012,14 @@
"name": "ColorPickerRef",
"type": "ImVec4"
},
{
"name": "SliderCurrentAccum",
"type": "float"
},
{
"name": "SliderCurrentAccumDirty",
"type": "bool"
},
{
"name": "DragCurrentAccumDirty",
"type": "bool"
@@ -3874,6 +4169,13 @@
"type": "const char*"
}
],
"ImGuiDataTypeTempStorage": [
{
"name": "Data[8]",
"size": 8,
"type": "ImU8"
}
],
"ImGuiGroupData": [
{
"name": "BackupCursorPos",
@@ -4240,6 +4542,10 @@
"size": 21,
"type": "float"
},
{
"name": "PenPressure",
"type": "float"
},
{
"name": "InputQueueSurrogate",
"type": "ImWchar16"
@@ -4369,7 +4675,7 @@
"type": "void*"
}
],
"ImGuiItemHoveredDataBackup": [
"ImGuiLastItemDataBackup": [
{
"name": "LastItemId",
"type": "ImGuiID"
@@ -4522,6 +4828,10 @@
"name": "ContentSizeVal",
"type": "ImVec2"
},
{
"name": "ScrollVal",
"type": "ImVec2"
},
{
"name": "CollapsedVal",
"type": "bool"
@@ -4637,6 +4947,14 @@
"name": "TypeHash",
"type": "ImGuiID"
},
{
"name": "ClearAllFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)"
},
{
"name": "ReadInitFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)"
},
{
"name": "ReadOpenFn",
"type": "void*(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,const char* name)"
@@ -4645,6 +4963,10 @@
"name": "ReadLineFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,void* entry,const char* line)"
},
{
"name": "ApplyAllFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)"
},
{
"name": "WriteAllFn",
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,ImGuiTextBuffer* out_buf)"
@@ -4792,6 +5114,10 @@
"name": "GrabRounding",
"type": "float"
},
{
"name": "LogSliderDeadzone",
"type": "float"
},
{
"name": "TabRounding",
"type": "float"
@@ -4800,6 +5126,10 @@
"name": "TabBorderSize",
"type": "float"
},
{
"name": "TabMinWidthForUnselectedCloseButton",
"type": "float"
},
{
"name": "ColorButtonPosition",
"type": "ImGuiDir"
@@ -4828,6 +5158,10 @@
"name": "AntiAliasedLines",
"type": "bool"
},
{
"name": "AntiAliasedLinesUseTex",
"type": "bool"
},
{
"name": "AntiAliasedFill",
"type": "bool"
@@ -4972,10 +5306,6 @@
"name": "LastFrameSelected",
"type": "int"
},
{
"name": "NameOffset",
"type": "int"
},
{
"name": "Offset",
"type": "float"
@@ -4987,6 +5317,14 @@
{
"name": "ContentWidth",
"type": "float"
},
{
"name": "NameOffset",
"type": "ImS16"
},
{
"name": "WantClose",
"type": "bool"
}
],
"ImGuiTextBuffer": [
@@ -5240,6 +5578,10 @@
"name": "WorkRect",
"type": "ImRect"
},
{
"name": "ParentWorkRect",
"type": "ImRect"
},
{
"name": "ClipRect",
"type": "ImRect"
@@ -5248,6 +5590,14 @@
"name": "ContentRegionRect",
"type": "ImRect"
},
{
"name": "HitTestHoleSize",
"type": "ImVec2ih"
},
{
"name": "HitTestHoleOffset",
"type": "ImVec2ih"
},
{
"name": "LastFrameActive",
"type": "int"
@@ -5344,6 +5694,10 @@
{
"name": "Collapsed",
"type": "bool"
},
{
"name": "WantApply",
"type": "bool"
}
],
"ImGuiWindowTempData": [

File diff suppressed because it is too large Load Diff

View File

@@ -35,23 +35,23 @@
"ImGuiContext": "struct ImGuiContext",
"ImGuiDataType": "int",
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
"ImGuiDataTypeTempStorage": "struct ImGuiDataTypeTempStorage",
"ImGuiDir": "int",
"ImGuiDragDropFlags": "int",
"ImGuiDragFlags": "int",
"ImGuiFocusedFlags": "int",
"ImGuiGroupData": "struct ImGuiGroupData",
"ImGuiHoveredFlags": "int",
"ImGuiID": "unsigned int",
"ImGuiIO": "struct ImGuiIO",
"ImGuiInputTextCallback": "int(*)(ImGuiInputTextCallbackData *data);",
"ImGuiInputTextCallback": "int(*)(ImGuiInputTextCallbackData* data);",
"ImGuiInputTextCallbackData": "struct ImGuiInputTextCallbackData",
"ImGuiInputTextFlags": "int",
"ImGuiInputTextState": "struct ImGuiInputTextState",
"ImGuiItemFlags": "int",
"ImGuiItemHoveredDataBackup": "struct ImGuiItemHoveredDataBackup",
"ImGuiItemStatusFlags": "int",
"ImGuiKey": "int",
"ImGuiKeyModFlags": "int",
"ImGuiLastItemDataBackup": "struct ImGuiLastItemDataBackup",
"ImGuiLayoutType": "int",
"ImGuiListClipper": "struct ImGuiListClipper",
"ImGuiMenuColumns": "struct ImGuiMenuColumns",
@@ -69,6 +69,7 @@
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
"ImGuiPayload": "struct ImGuiPayload",
"ImGuiPopupData": "struct ImGuiPopupData",
"ImGuiPopupFlags": "int",
"ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex",
"ImGuiSelectableFlags": "int",
"ImGuiSeparatorFlags": "int",

View File

@@ -35,23 +35,23 @@ defs["ImGuiConfigFlags"] = "int"
defs["ImGuiContext"] = "struct ImGuiContext"
defs["ImGuiDataType"] = "int"
defs["ImGuiDataTypeInfo"] = "struct ImGuiDataTypeInfo"
defs["ImGuiDataTypeTempStorage"] = "struct ImGuiDataTypeTempStorage"
defs["ImGuiDir"] = "int"
defs["ImGuiDragDropFlags"] = "int"
defs["ImGuiDragFlags"] = "int"
defs["ImGuiFocusedFlags"] = "int"
defs["ImGuiGroupData"] = "struct ImGuiGroupData"
defs["ImGuiHoveredFlags"] = "int"
defs["ImGuiID"] = "unsigned int"
defs["ImGuiIO"] = "struct ImGuiIO"
defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData *data);"
defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData* data);"
defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData"
defs["ImGuiInputTextFlags"] = "int"
defs["ImGuiInputTextState"] = "struct ImGuiInputTextState"
defs["ImGuiItemFlags"] = "int"
defs["ImGuiItemHoveredDataBackup"] = "struct ImGuiItemHoveredDataBackup"
defs["ImGuiItemStatusFlags"] = "int"
defs["ImGuiKey"] = "int"
defs["ImGuiKeyModFlags"] = "int"
defs["ImGuiLastItemDataBackup"] = "struct ImGuiLastItemDataBackup"
defs["ImGuiLayoutType"] = "int"
defs["ImGuiListClipper"] = "struct ImGuiListClipper"
defs["ImGuiMenuColumns"] = "struct ImGuiMenuColumns"
@@ -69,6 +69,7 @@ defs["ImGuiNextWindowDataFlags"] = "int"
defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame"
defs["ImGuiPayload"] = "struct ImGuiPayload"
defs["ImGuiPopupData"] = "struct ImGuiPopupData"
defs["ImGuiPopupFlags"] = "int"
defs["ImGuiPtrOrIndex"] = "struct ImGuiPtrOrIndex"
defs["ImGuiSelectableFlags"] = "int"
defs["ImGuiSeparatorFlags"] = "int"

2
imgui

Submodule imgui updated: 5503c0a12e...95c99aaa4b