add xxxx_nonUDT2 functions returning UDT_Simple

This commit is contained in:
sonoro1234
2018-09-05 13:45:16 +02:00
parent d47cbcb44a
commit 7afdf07cbb
12 changed files with 889 additions and 34 deletions

View File

@@ -32,6 +32,7 @@ Notes:
* methods have the same parameter list and return values (where possible)
* functions that belong to a struct have an extra first argument with a pointer to the struct.
* where a function returns UDT by value some compilers complain so another function with the name function_name_nonUDT is generated accepting a pointer to the UDT type as the first argument. (or second argument if it is a struct function)
* also is generated function_name_nonUDT2 which instead of returning the UDT type returns a simple version (without functions) called UDTType_Simple (ImVec2_Simple for ImVec2)
# example bindings based on cimgui

View File

@@ -1989,90 +1989,223 @@ CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowPos();
}
CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowSize();
}
CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowSize();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetContentRegionMax();
}
CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2()
{
ImVec2 ret = ImGui::GetContentRegionMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetContentRegionAvail();
}
CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2()
{
ImVec2 ret = ImGui::GetContentRegionAvail();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowContentRegionMin();
}
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowContentRegionMin();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowContentRegionMax();
}
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowContentRegionMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetFontTexUvWhitePixel();
}
CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2()
{
ImVec2 ret = ImGui::GetFontTexUvWhitePixel();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetCursorPos();
}
CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2()
{
ImVec2 ret = ImGui::GetCursorPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetCursorStartPos();
}
CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2()
{
ImVec2 ret = ImGui::GetCursorStartPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetCursorScreenPos();
}
CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2()
{
ImVec2 ret = ImGui::GetCursorScreenPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetItemRectMin();
}
CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2()
{
ImVec2 ret = ImGui::GetItemRectMin();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetItemRectMax();
}
CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2()
{
ImVec2 ret = ImGui::GetItemRectMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetItemRectSize();
}
CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2()
{
ImVec2 ret = ImGui::GetItemRectSize();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
{
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
}
CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
{
ImVec2 ret = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in)
{
*pOut = ImGui::ColorConvertU32ToFloat4(in);
}
CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in)
{
ImVec4 ret = ImGui::ColorConvertU32ToFloat4(in);
ImVec4_Simple ret2 = ImVec4ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetMousePos();
}
CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2()
{
ImVec2 ret = ImGui::GetMousePos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetMousePosOnOpeningCurrentPopup();
}
CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2()
{
ImVec2 ret = ImGui::GetMousePosOnOpeningCurrentPopup();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold)
{
*pOut = ImGui::GetMouseDragDelta(button,lock_threshold);
}
CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold)
{
ImVec2 ret = ImGui::GetMouseDragDelta(button,lock_threshold);
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a)
{
*pOut = self->HSV(h,s,v,a);
}
CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a)
{
ImColor ret = self->HSV(h,s,v,a);
ImColor_Simple ret2 = ImColorToSimple(ret);
return ret2;
}
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut)
{
*pOut = self->GetClipRectMin();
}
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self)
{
ImVec2 ret = self->GetClipRectMin();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut)
{
*pOut = self->GetClipRectMax();
}
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self)
{
ImVec2 ret = self->GetClipRectMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
{
*pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
}
CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
{
ImVec2 ret = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
/////////////////////////////manual written functions

View File

@@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64;
typedef unsigned long long ImU64;
#endif
//struct GLFWwindow;
//struct SDL_Window;
//UDT stuff
typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple;
typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple;
typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple;
inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec)
{
ImVec2_Simple result;
result.x = vec.x;
result.y = vec.y;
return result;
}
inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec)
{
ImVec4_Simple result;
result.x = vec.x;
result.y = vec.y;
result.z = vec.z;
result.w = vec.w;
return result;
}
inline ImColor_Simple ImColorToSimple(ImColor col)
{
ImColor_Simple result;
result.Value = ImVec4ToSimple(col.Value);
return result;
}
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
@@ -1298,27 +1322,49 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int 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_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst);
CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2();
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2();
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2();
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2();
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2();
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2();
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2();
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2();
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2();
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2();
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2();
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2();
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2();
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width);
CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width);
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in);
CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in);
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2();
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2();
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold);
CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold);
CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a);
CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a);
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut);
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self);
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut);
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self);
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
/////////////////////////hand written functions

View File

@@ -6,6 +6,7 @@
#include "auto_funcs.cpp"
/////////////////////////////manual written functions
CIMGUI_API void igLogText(CONST char *fmt, ...)
{

View File

@@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64;
typedef unsigned long long ImU64;
#endif
//struct GLFWwindow;
//struct SDL_Window;
//UDT stuff
typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple;
typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple;
typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple;
inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec)
{
ImVec2_Simple result;
result.x = vec.x;
result.y = vec.y;
return result;
}
inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec)
{
ImVec4_Simple result;
result.x = vec.x;
result.y = vec.y;
result.z = vec.z;
result.w = vec.w;
return result;
}
inline ImColor_Simple ImColorToSimple(ImColor col)
{
ImColor_Simple result;
result.Value = ImVec4ToSimple(col.Value);
return result;
}
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#include "imgui_structs.h"

View File

@@ -1987,6 +1987,7 @@ CIMGUI_API void ImFont_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool ov
}
/////////////////////////////manual written functions
CIMGUI_API void igLogText(CONST char *fmt, ...)
{

View File

@@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64;
typedef unsigned long long ImU64;
#endif
//struct GLFWwindow;
//struct SDL_Window;
//UDT stuff
typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple;
typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple;
typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple;
inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec)
{
ImVec2_Simple result;
result.x = vec.x;
result.y = vec.y;
return result;
}
inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec)
{
ImVec4_Simple result;
result.x = vec.x;
result.y = vec.y;
result.z = vec.z;
result.w = vec.w;
return result;
}
inline ImColor_Simple ImColorToSimple(ImColor col)
{
ImColor_Simple result;
result.Value = ImVec4ToSimple(col.Value);
return result;
}
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
typedef unsigned short ImDrawIdx;

View File

@@ -1989,90 +1989,223 @@ CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowPos();
}
CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowSize();
}
CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowSize();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetContentRegionMax();
}
CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2()
{
ImVec2 ret = ImGui::GetContentRegionMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetContentRegionAvail();
}
CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2()
{
ImVec2 ret = ImGui::GetContentRegionAvail();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowContentRegionMin();
}
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowContentRegionMin();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetWindowContentRegionMax();
}
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2()
{
ImVec2 ret = ImGui::GetWindowContentRegionMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetFontTexUvWhitePixel();
}
CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2()
{
ImVec2 ret = ImGui::GetFontTexUvWhitePixel();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetCursorPos();
}
CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2()
{
ImVec2 ret = ImGui::GetCursorPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetCursorStartPos();
}
CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2()
{
ImVec2 ret = ImGui::GetCursorStartPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetCursorScreenPos();
}
CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2()
{
ImVec2 ret = ImGui::GetCursorScreenPos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetItemRectMin();
}
CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2()
{
ImVec2 ret = ImGui::GetItemRectMin();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetItemRectMax();
}
CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2()
{
ImVec2 ret = ImGui::GetItemRectMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetItemRectSize();
}
CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2()
{
ImVec2 ret = ImGui::GetItemRectSize();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
{
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
}
CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
{
ImVec2 ret = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in)
{
*pOut = ImGui::ColorConvertU32ToFloat4(in);
}
CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in)
{
ImVec4 ret = ImGui::ColorConvertU32ToFloat4(in);
ImVec4_Simple ret2 = ImVec4ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetMousePos();
}
CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2()
{
ImVec2 ret = ImGui::GetMousePos();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut)
{
*pOut = ImGui::GetMousePosOnOpeningCurrentPopup();
}
CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2()
{
ImVec2 ret = ImGui::GetMousePosOnOpeningCurrentPopup();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold)
{
*pOut = ImGui::GetMouseDragDelta(button,lock_threshold);
}
CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold)
{
ImVec2 ret = ImGui::GetMouseDragDelta(button,lock_threshold);
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a)
{
*pOut = self->HSV(h,s,v,a);
}
CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a)
{
ImColor ret = self->HSV(h,s,v,a);
ImColor_Simple ret2 = ImColorToSimple(ret);
return ret2;
}
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut)
{
*pOut = self->GetClipRectMin();
}
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self)
{
ImVec2 ret = self->GetClipRectMin();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut)
{
*pOut = self->GetClipRectMax();
}
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self)
{
ImVec2 ret = self->GetClipRectMax();
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
{
*pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
}
CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
{
ImVec2 ret = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
ImVec2_Simple ret2 = ImVec2ToSimple(ret);
return ret2;
}
/////////////////////////////manual written functions

View File

@@ -32,8 +32,32 @@ typedef unsigned __int64 ImU64;
typedef unsigned long long ImU64;
#endif
//struct GLFWwindow;
//struct SDL_Window;
//UDT stuff
typedef struct ImVec2_Simple { float x; float y; } ImVec2_Simple;
typedef struct ImVec4_Simple { float x; float y; float z; float w;} ImVec4_Simple;
typedef struct ImColor_Simple { ImVec4_Simple Value;} ImColor_Simple;
inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec)
{
ImVec2_Simple result;
result.x = vec.x;
result.y = vec.y;
return result;
}
inline ImVec4_Simple ImVec4ToSimple(ImVec4 vec)
{
ImVec4_Simple result;
result.x = vec.x;
result.y = vec.y;
result.z = vec.z;
result.w = vec.w;
return result;
}
inline ImColor_Simple ImColorToSimple(ImColor col)
{
ImColor_Simple result;
result.Value = ImVec4ToSimple(col.Value);
return result;
}
#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS
@@ -1298,27 +1322,49 @@ CIMGUI_API void ImFont_GrowIndex(ImFont* self,int 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_AddRemapChar(ImFont* self,ImWchar dst,ImWchar src,bool overwrite_dst);
CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowPos_nonUDT2();
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowSize_nonUDT2();
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetContentRegionMax_nonUDT2();
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetContentRegionAvail_nonUDT2();
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMin_nonUDT2();
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetWindowContentRegionMax_nonUDT2();
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetFontTexUvWhitePixel_nonUDT2();
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetCursorPos_nonUDT2();
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetCursorStartPos_nonUDT2();
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetCursorScreenPos_nonUDT2();
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetItemRectMin_nonUDT2();
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetItemRectMax_nonUDT2();
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetItemRectSize_nonUDT2();
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width);
CIMGUI_API ImVec2_Simple igCalcTextSize_nonUDT2(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width);
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in);
CIMGUI_API ImVec4_Simple igColorConvertU32ToFloat4_nonUDT2(ImU32 in);
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetMousePos_nonUDT2();
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut);
CIMGUI_API ImVec2_Simple igGetMousePosOnOpeningCurrentPopup_nonUDT2();
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,int button,float lock_threshold);
CIMGUI_API ImVec2_Simple igGetMouseDragDelta_nonUDT2(int button,float lock_threshold);
CIMGUI_API void ImColor_HSV_nonUDT(ImColor* self,ImColor *pOut,float h,float s,float v,float a);
CIMGUI_API ImColor_Simple ImColor_HSV_nonUDT2(ImColor* self,float h,float s,float v,float a);
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImDrawList* self,ImVec2 *pOut);
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMin_nonUDT2(ImDrawList* self);
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImDrawList* self,ImVec2 *pOut);
CIMGUI_API ImVec2_Simple ImDrawList_GetClipRectMax_nonUDT2(ImDrawList* self);
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImFont* self,ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
CIMGUI_API ImVec2_Simple ImFont_CalcTextSizeA_nonUDT2(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
/////////////////////////hand written functions

File diff suppressed because one or more lines are too long

View File

@@ -319,7 +319,7 @@ defs["igGetCursorScreenPos"][2]["funcname"] = "GetCursorScreenPos"
defs["igGetCursorScreenPos"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetCursorScreenPos"][2]["ret"] = "void"
defs["igGetCursorScreenPos"][2]["cimguiname"] = "igGetCursorScreenPos"
defs["igGetCursorScreenPos"][2]["nonUDT"] = true
defs["igGetCursorScreenPos"][2]["nonUDT"] = 1
defs["igGetCursorScreenPos"][2]["call_args"] = "()"
defs["igGetCursorScreenPos"][2]["argsoriginal"] = "()"
defs["igGetCursorScreenPos"][2]["stname"] = "ImGui"
@@ -331,7 +331,23 @@ defs["igGetCursorScreenPos"][2]["argsT"] = {}
defs["igGetCursorScreenPos"][2]["argsT"][1] = {}
defs["igGetCursorScreenPos"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetCursorScreenPos"][2]["argsT"][1]["name"] = "pOut"
defs["igGetCursorScreenPos"][3] = {}
defs["igGetCursorScreenPos"][3]["cimguiname"] = "igGetCursorScreenPos"
defs["igGetCursorScreenPos"][3]["funcname"] = "GetCursorScreenPos"
defs["igGetCursorScreenPos"][3]["args"] = "()"
defs["igGetCursorScreenPos"][3]["ret"] = "ImVec2_Simple"
defs["igGetCursorScreenPos"][3]["nonUDT"] = 2
defs["igGetCursorScreenPos"][3]["signature"] = "()"
defs["igGetCursorScreenPos"][3]["call_args"] = "()"
defs["igGetCursorScreenPos"][3]["argsoriginal"] = "()"
defs["igGetCursorScreenPos"][3]["stname"] = "ImGui"
defs["igGetCursorScreenPos"][3]["retorig"] = "ImVec2"
defs["igGetCursorScreenPos"][3]["ov_cimguiname"] = "igGetCursorScreenPos_nonUDT2"
defs["igGetCursorScreenPos"][3]["comment"] = ""
defs["igGetCursorScreenPos"][3]["defaults"] = defs["igGetCursorScreenPos"][1]["defaults"]
defs["igGetCursorScreenPos"][3]["argsT"] = {}
defs["igGetCursorScreenPos"]["()nonUDT"] = defs["igGetCursorScreenPos"][2]
defs["igGetCursorScreenPos"]["()nonUDT2"] = defs["igGetCursorScreenPos"][3]
defs["igGetCursorScreenPos"]["()"] = defs["igGetCursorScreenPos"][1]
defs["igDebugCheckVersionAndDataLayout"] = {}
defs["igDebugCheckVersionAndDataLayout"][1] = {}
@@ -732,7 +748,7 @@ defs["igGetItemRectMax"][2]["funcname"] = "GetItemRectMax"
defs["igGetItemRectMax"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetItemRectMax"][2]["ret"] = "void"
defs["igGetItemRectMax"][2]["cimguiname"] = "igGetItemRectMax"
defs["igGetItemRectMax"][2]["nonUDT"] = true
defs["igGetItemRectMax"][2]["nonUDT"] = 1
defs["igGetItemRectMax"][2]["call_args"] = "()"
defs["igGetItemRectMax"][2]["argsoriginal"] = "()"
defs["igGetItemRectMax"][2]["stname"] = "ImGui"
@@ -744,7 +760,23 @@ defs["igGetItemRectMax"][2]["argsT"] = {}
defs["igGetItemRectMax"][2]["argsT"][1] = {}
defs["igGetItemRectMax"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetItemRectMax"][2]["argsT"][1]["name"] = "pOut"
defs["igGetItemRectMax"][3] = {}
defs["igGetItemRectMax"][3]["cimguiname"] = "igGetItemRectMax"
defs["igGetItemRectMax"][3]["funcname"] = "GetItemRectMax"
defs["igGetItemRectMax"][3]["args"] = "()"
defs["igGetItemRectMax"][3]["ret"] = "ImVec2_Simple"
defs["igGetItemRectMax"][3]["nonUDT"] = 2
defs["igGetItemRectMax"][3]["signature"] = "()"
defs["igGetItemRectMax"][3]["call_args"] = "()"
defs["igGetItemRectMax"][3]["argsoriginal"] = "()"
defs["igGetItemRectMax"][3]["stname"] = "ImGui"
defs["igGetItemRectMax"][3]["retorig"] = "ImVec2"
defs["igGetItemRectMax"][3]["ov_cimguiname"] = "igGetItemRectMax_nonUDT2"
defs["igGetItemRectMax"][3]["comment"] = ""
defs["igGetItemRectMax"][3]["defaults"] = defs["igGetItemRectMax"][1]["defaults"]
defs["igGetItemRectMax"][3]["argsT"] = {}
defs["igGetItemRectMax"]["()nonUDT"] = defs["igGetItemRectMax"][2]
defs["igGetItemRectMax"]["()nonUDT2"] = defs["igGetItemRectMax"][3]
defs["igGetItemRectMax"]["()"] = defs["igGetItemRectMax"][1]
defs["igIsItemDeactivated"] = {}
defs["igIsItemDeactivated"][1] = {}
@@ -957,7 +989,7 @@ defs["igGetCursorStartPos"][2]["funcname"] = "GetCursorStartPos"
defs["igGetCursorStartPos"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetCursorStartPos"][2]["ret"] = "void"
defs["igGetCursorStartPos"][2]["cimguiname"] = "igGetCursorStartPos"
defs["igGetCursorStartPos"][2]["nonUDT"] = true
defs["igGetCursorStartPos"][2]["nonUDT"] = 1
defs["igGetCursorStartPos"][2]["call_args"] = "()"
defs["igGetCursorStartPos"][2]["argsoriginal"] = "()"
defs["igGetCursorStartPos"][2]["stname"] = "ImGui"
@@ -969,7 +1001,23 @@ defs["igGetCursorStartPos"][2]["argsT"] = {}
defs["igGetCursorStartPos"][2]["argsT"][1] = {}
defs["igGetCursorStartPos"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetCursorStartPos"][2]["argsT"][1]["name"] = "pOut"
defs["igGetCursorStartPos"][3] = {}
defs["igGetCursorStartPos"][3]["cimguiname"] = "igGetCursorStartPos"
defs["igGetCursorStartPos"][3]["funcname"] = "GetCursorStartPos"
defs["igGetCursorStartPos"][3]["args"] = "()"
defs["igGetCursorStartPos"][3]["ret"] = "ImVec2_Simple"
defs["igGetCursorStartPos"][3]["nonUDT"] = 2
defs["igGetCursorStartPos"][3]["signature"] = "()"
defs["igGetCursorStartPos"][3]["call_args"] = "()"
defs["igGetCursorStartPos"][3]["argsoriginal"] = "()"
defs["igGetCursorStartPos"][3]["stname"] = "ImGui"
defs["igGetCursorStartPos"][3]["retorig"] = "ImVec2"
defs["igGetCursorStartPos"][3]["ov_cimguiname"] = "igGetCursorStartPos_nonUDT2"
defs["igGetCursorStartPos"][3]["comment"] = ""
defs["igGetCursorStartPos"][3]["defaults"] = defs["igGetCursorStartPos"][1]["defaults"]
defs["igGetCursorStartPos"][3]["argsT"] = {}
defs["igGetCursorStartPos"]["()nonUDT"] = defs["igGetCursorStartPos"][2]
defs["igGetCursorStartPos"]["()nonUDT2"] = defs["igGetCursorStartPos"][3]
defs["igGetCursorStartPos"]["()"] = defs["igGetCursorStartPos"][1]
defs["igSetCursorScreenPos"] = {}
defs["igSetCursorScreenPos"][1] = {}
@@ -1452,7 +1500,7 @@ defs["ImFont_CalcTextSizeA"][2]["funcname"] = "CalcTextSizeA"
defs["ImFont_CalcTextSizeA"][2]["args"] = "(ImVec2 *pOut,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)"
defs["ImFont_CalcTextSizeA"][2]["ret"] = "void"
defs["ImFont_CalcTextSizeA"][2]["cimguiname"] = "ImFont_CalcTextSizeA"
defs["ImFont_CalcTextSizeA"][2]["nonUDT"] = true
defs["ImFont_CalcTextSizeA"][2]["nonUDT"] = 1
defs["ImFont_CalcTextSizeA"][2]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)"
defs["ImFont_CalcTextSizeA"][2]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))"
defs["ImFont_CalcTextSizeA"][2]["stname"] = "ImFont"
@@ -1482,7 +1530,41 @@ defs["ImFont_CalcTextSizeA"][2]["argsT"][6]["name"] = "text_end"
defs["ImFont_CalcTextSizeA"][2]["argsT"][7] = {}
defs["ImFont_CalcTextSizeA"][2]["argsT"][7]["type"] = "const char**"
defs["ImFont_CalcTextSizeA"][2]["argsT"][7]["name"] = "remaining"
defs["ImFont_CalcTextSizeA"][3] = {}
defs["ImFont_CalcTextSizeA"][3]["cimguiname"] = "ImFont_CalcTextSizeA"
defs["ImFont_CalcTextSizeA"][3]["funcname"] = "CalcTextSizeA"
defs["ImFont_CalcTextSizeA"][3]["args"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)"
defs["ImFont_CalcTextSizeA"][3]["ret"] = "ImVec2_Simple"
defs["ImFont_CalcTextSizeA"][3]["nonUDT"] = 2
defs["ImFont_CalcTextSizeA"][3]["signature"] = "(float,float,float,const char*,const char*,const char**)"
defs["ImFont_CalcTextSizeA"][3]["call_args"] = "(size,max_width,wrap_width,text_begin,text_end,remaining)"
defs["ImFont_CalcTextSizeA"][3]["argsoriginal"] = "(float size,float max_width,float wrap_width,const char* text_begin,const char* text_end=((void *)0),const char** remaining=((void *)0))"
defs["ImFont_CalcTextSizeA"][3]["stname"] = "ImFont"
defs["ImFont_CalcTextSizeA"][3]["retorig"] = "ImVec2"
defs["ImFont_CalcTextSizeA"][3]["ov_cimguiname"] = "ImFont_CalcTextSizeA_nonUDT2"
defs["ImFont_CalcTextSizeA"][3]["comment"] = ""
defs["ImFont_CalcTextSizeA"][3]["defaults"] = defs["ImFont_CalcTextSizeA"][1]["defaults"]
defs["ImFont_CalcTextSizeA"][3]["argsT"] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][1] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][1]["type"] = "float"
defs["ImFont_CalcTextSizeA"][3]["argsT"][1]["name"] = "size"
defs["ImFont_CalcTextSizeA"][3]["argsT"][2] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][2]["type"] = "float"
defs["ImFont_CalcTextSizeA"][3]["argsT"][2]["name"] = "max_width"
defs["ImFont_CalcTextSizeA"][3]["argsT"][3] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][3]["type"] = "float"
defs["ImFont_CalcTextSizeA"][3]["argsT"][3]["name"] = "wrap_width"
defs["ImFont_CalcTextSizeA"][3]["argsT"][4] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][4]["type"] = "const char*"
defs["ImFont_CalcTextSizeA"][3]["argsT"][4]["name"] = "text_begin"
defs["ImFont_CalcTextSizeA"][3]["argsT"][5] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][5]["type"] = "const char*"
defs["ImFont_CalcTextSizeA"][3]["argsT"][5]["name"] = "text_end"
defs["ImFont_CalcTextSizeA"][3]["argsT"][6] = {}
defs["ImFont_CalcTextSizeA"][3]["argsT"][6]["type"] = "const char**"
defs["ImFont_CalcTextSizeA"][3]["argsT"][6]["name"] = "remaining"
defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)"] = defs["ImFont_CalcTextSizeA"][1]
defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)nonUDT2"] = defs["ImFont_CalcTextSizeA"][3]
defs["ImFont_CalcTextSizeA"]["(float,float,float,const char*,const char*,const char**)nonUDT"] = defs["ImFont_CalcTextSizeA"][2]
defs["GlyphRangesBuilder_SetBit"] = {}
defs["GlyphRangesBuilder_SetBit"][1] = {}
@@ -2355,7 +2437,7 @@ defs["igGetMouseDragDelta"][2]["funcname"] = "GetMouseDragDelta"
defs["igGetMouseDragDelta"][2]["args"] = "(ImVec2 *pOut,int button,float lock_threshold)"
defs["igGetMouseDragDelta"][2]["ret"] = "void"
defs["igGetMouseDragDelta"][2]["cimguiname"] = "igGetMouseDragDelta"
defs["igGetMouseDragDelta"][2]["nonUDT"] = true
defs["igGetMouseDragDelta"][2]["nonUDT"] = 1
defs["igGetMouseDragDelta"][2]["call_args"] = "(button,lock_threshold)"
defs["igGetMouseDragDelta"][2]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)"
defs["igGetMouseDragDelta"][2]["stname"] = "ImGui"
@@ -2373,8 +2455,30 @@ defs["igGetMouseDragDelta"][2]["argsT"][2]["name"] = "button"
defs["igGetMouseDragDelta"][2]["argsT"][3] = {}
defs["igGetMouseDragDelta"][2]["argsT"][3]["type"] = "float"
defs["igGetMouseDragDelta"][2]["argsT"][3]["name"] = "lock_threshold"
defs["igGetMouseDragDelta"][3] = {}
defs["igGetMouseDragDelta"][3]["cimguiname"] = "igGetMouseDragDelta"
defs["igGetMouseDragDelta"][3]["funcname"] = "GetMouseDragDelta"
defs["igGetMouseDragDelta"][3]["args"] = "(int button,float lock_threshold)"
defs["igGetMouseDragDelta"][3]["ret"] = "ImVec2_Simple"
defs["igGetMouseDragDelta"][3]["nonUDT"] = 2
defs["igGetMouseDragDelta"][3]["signature"] = "(int,float)"
defs["igGetMouseDragDelta"][3]["call_args"] = "(button,lock_threshold)"
defs["igGetMouseDragDelta"][3]["argsoriginal"] = "(int button=0,float lock_threshold=-1.0f)"
defs["igGetMouseDragDelta"][3]["stname"] = "ImGui"
defs["igGetMouseDragDelta"][3]["retorig"] = "ImVec2"
defs["igGetMouseDragDelta"][3]["ov_cimguiname"] = "igGetMouseDragDelta_nonUDT2"
defs["igGetMouseDragDelta"][3]["comment"] = ""
defs["igGetMouseDragDelta"][3]["defaults"] = defs["igGetMouseDragDelta"][1]["defaults"]
defs["igGetMouseDragDelta"][3]["argsT"] = {}
defs["igGetMouseDragDelta"][3]["argsT"][1] = {}
defs["igGetMouseDragDelta"][3]["argsT"][1]["type"] = "int"
defs["igGetMouseDragDelta"][3]["argsT"][1]["name"] = "button"
defs["igGetMouseDragDelta"][3]["argsT"][2] = {}
defs["igGetMouseDragDelta"][3]["argsT"][2]["type"] = "float"
defs["igGetMouseDragDelta"][3]["argsT"][2]["name"] = "lock_threshold"
defs["igGetMouseDragDelta"]["(int,float)"] = defs["igGetMouseDragDelta"][1]
defs["igGetMouseDragDelta"]["(int,float)nonUDT"] = defs["igGetMouseDragDelta"][2]
defs["igGetMouseDragDelta"]["(int,float)nonUDT2"] = defs["igGetMouseDragDelta"][3]
defs["igAcceptDragDropPayload"] = {}
defs["igAcceptDragDropPayload"][1] = {}
defs["igAcceptDragDropPayload"][1]["funcname"] = "AcceptDragDropPayload"
@@ -2738,7 +2842,7 @@ defs["igGetWindowSize"][2]["funcname"] = "GetWindowSize"
defs["igGetWindowSize"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetWindowSize"][2]["ret"] = "void"
defs["igGetWindowSize"][2]["cimguiname"] = "igGetWindowSize"
defs["igGetWindowSize"][2]["nonUDT"] = true
defs["igGetWindowSize"][2]["nonUDT"] = 1
defs["igGetWindowSize"][2]["call_args"] = "()"
defs["igGetWindowSize"][2]["argsoriginal"] = "()"
defs["igGetWindowSize"][2]["stname"] = "ImGui"
@@ -2750,7 +2854,23 @@ defs["igGetWindowSize"][2]["argsT"] = {}
defs["igGetWindowSize"][2]["argsT"][1] = {}
defs["igGetWindowSize"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetWindowSize"][2]["argsT"][1]["name"] = "pOut"
defs["igGetWindowSize"][3] = {}
defs["igGetWindowSize"][3]["cimguiname"] = "igGetWindowSize"
defs["igGetWindowSize"][3]["funcname"] = "GetWindowSize"
defs["igGetWindowSize"][3]["args"] = "()"
defs["igGetWindowSize"][3]["ret"] = "ImVec2_Simple"
defs["igGetWindowSize"][3]["nonUDT"] = 2
defs["igGetWindowSize"][3]["signature"] = "()"
defs["igGetWindowSize"][3]["call_args"] = "()"
defs["igGetWindowSize"][3]["argsoriginal"] = "()"
defs["igGetWindowSize"][3]["stname"] = "ImGui"
defs["igGetWindowSize"][3]["retorig"] = "ImVec2"
defs["igGetWindowSize"][3]["ov_cimguiname"] = "igGetWindowSize_nonUDT2"
defs["igGetWindowSize"][3]["comment"] = ""
defs["igGetWindowSize"][3]["defaults"] = defs["igGetWindowSize"][1]["defaults"]
defs["igGetWindowSize"][3]["argsT"] = {}
defs["igGetWindowSize"]["()nonUDT"] = defs["igGetWindowSize"][2]
defs["igGetWindowSize"]["()nonUDT2"] = defs["igGetWindowSize"][3]
defs["igGetWindowSize"]["()"] = defs["igGetWindowSize"][1]
defs["ImFontAtlas_GetGlyphRangesThai"] = {}
defs["ImFontAtlas_GetGlyphRangesThai"][1] = {}
@@ -3023,7 +3143,7 @@ defs["igGetWindowPos"][2]["funcname"] = "GetWindowPos"
defs["igGetWindowPos"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetWindowPos"][2]["ret"] = "void"
defs["igGetWindowPos"][2]["cimguiname"] = "igGetWindowPos"
defs["igGetWindowPos"][2]["nonUDT"] = true
defs["igGetWindowPos"][2]["nonUDT"] = 1
defs["igGetWindowPos"][2]["call_args"] = "()"
defs["igGetWindowPos"][2]["argsoriginal"] = "()"
defs["igGetWindowPos"][2]["stname"] = "ImGui"
@@ -3035,7 +3155,23 @@ defs["igGetWindowPos"][2]["argsT"] = {}
defs["igGetWindowPos"][2]["argsT"][1] = {}
defs["igGetWindowPos"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetWindowPos"][2]["argsT"][1]["name"] = "pOut"
defs["igGetWindowPos"][3] = {}
defs["igGetWindowPos"][3]["cimguiname"] = "igGetWindowPos"
defs["igGetWindowPos"][3]["funcname"] = "GetWindowPos"
defs["igGetWindowPos"][3]["args"] = "()"
defs["igGetWindowPos"][3]["ret"] = "ImVec2_Simple"
defs["igGetWindowPos"][3]["nonUDT"] = 2
defs["igGetWindowPos"][3]["signature"] = "()"
defs["igGetWindowPos"][3]["call_args"] = "()"
defs["igGetWindowPos"][3]["argsoriginal"] = "()"
defs["igGetWindowPos"][3]["stname"] = "ImGui"
defs["igGetWindowPos"][3]["retorig"] = "ImVec2"
defs["igGetWindowPos"][3]["ov_cimguiname"] = "igGetWindowPos_nonUDT2"
defs["igGetWindowPos"][3]["comment"] = ""
defs["igGetWindowPos"][3]["defaults"] = defs["igGetWindowPos"][1]["defaults"]
defs["igGetWindowPos"][3]["argsT"] = {}
defs["igGetWindowPos"]["()nonUDT"] = defs["igGetWindowPos"][2]
defs["igGetWindowPos"]["()nonUDT2"] = defs["igGetWindowPos"][3]
defs["igGetWindowPos"]["()"] = defs["igGetWindowPos"][1]
defs["ImFontAtlas_~ImFontAtlas"] = {}
defs["ImFontAtlas_~ImFontAtlas"][1] = {}
@@ -3705,7 +3841,7 @@ defs["igGetFontTexUvWhitePixel"][2]["funcname"] = "GetFontTexUvWhitePixel"
defs["igGetFontTexUvWhitePixel"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetFontTexUvWhitePixel"][2]["ret"] = "void"
defs["igGetFontTexUvWhitePixel"][2]["cimguiname"] = "igGetFontTexUvWhitePixel"
defs["igGetFontTexUvWhitePixel"][2]["nonUDT"] = true
defs["igGetFontTexUvWhitePixel"][2]["nonUDT"] = 1
defs["igGetFontTexUvWhitePixel"][2]["call_args"] = "()"
defs["igGetFontTexUvWhitePixel"][2]["argsoriginal"] = "()"
defs["igGetFontTexUvWhitePixel"][2]["stname"] = "ImGui"
@@ -3717,7 +3853,23 @@ defs["igGetFontTexUvWhitePixel"][2]["argsT"] = {}
defs["igGetFontTexUvWhitePixel"][2]["argsT"][1] = {}
defs["igGetFontTexUvWhitePixel"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetFontTexUvWhitePixel"][2]["argsT"][1]["name"] = "pOut"
defs["igGetFontTexUvWhitePixel"][3] = {}
defs["igGetFontTexUvWhitePixel"][3]["cimguiname"] = "igGetFontTexUvWhitePixel"
defs["igGetFontTexUvWhitePixel"][3]["funcname"] = "GetFontTexUvWhitePixel"
defs["igGetFontTexUvWhitePixel"][3]["args"] = "()"
defs["igGetFontTexUvWhitePixel"][3]["ret"] = "ImVec2_Simple"
defs["igGetFontTexUvWhitePixel"][3]["nonUDT"] = 2
defs["igGetFontTexUvWhitePixel"][3]["signature"] = "()"
defs["igGetFontTexUvWhitePixel"][3]["call_args"] = "()"
defs["igGetFontTexUvWhitePixel"][3]["argsoriginal"] = "()"
defs["igGetFontTexUvWhitePixel"][3]["stname"] = "ImGui"
defs["igGetFontTexUvWhitePixel"][3]["retorig"] = "ImVec2"
defs["igGetFontTexUvWhitePixel"][3]["ov_cimguiname"] = "igGetFontTexUvWhitePixel_nonUDT2"
defs["igGetFontTexUvWhitePixel"][3]["comment"] = ""
defs["igGetFontTexUvWhitePixel"][3]["defaults"] = defs["igGetFontTexUvWhitePixel"][1]["defaults"]
defs["igGetFontTexUvWhitePixel"][3]["argsT"] = {}
defs["igGetFontTexUvWhitePixel"]["()nonUDT"] = defs["igGetFontTexUvWhitePixel"][2]
defs["igGetFontTexUvWhitePixel"]["()nonUDT2"] = defs["igGetFontTexUvWhitePixel"][3]
defs["igGetFontTexUvWhitePixel"]["()"] = defs["igGetFontTexUvWhitePixel"][1]
defs["ImDrawList_AddDrawCmd"] = {}
defs["ImDrawList_AddDrawCmd"][1] = {}
@@ -4130,7 +4282,7 @@ defs["igGetItemRectMin"][2]["funcname"] = "GetItemRectMin"
defs["igGetItemRectMin"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetItemRectMin"][2]["ret"] = "void"
defs["igGetItemRectMin"][2]["cimguiname"] = "igGetItemRectMin"
defs["igGetItemRectMin"][2]["nonUDT"] = true
defs["igGetItemRectMin"][2]["nonUDT"] = 1
defs["igGetItemRectMin"][2]["call_args"] = "()"
defs["igGetItemRectMin"][2]["argsoriginal"] = "()"
defs["igGetItemRectMin"][2]["stname"] = "ImGui"
@@ -4142,7 +4294,23 @@ defs["igGetItemRectMin"][2]["argsT"] = {}
defs["igGetItemRectMin"][2]["argsT"][1] = {}
defs["igGetItemRectMin"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetItemRectMin"][2]["argsT"][1]["name"] = "pOut"
defs["igGetItemRectMin"][3] = {}
defs["igGetItemRectMin"][3]["cimguiname"] = "igGetItemRectMin"
defs["igGetItemRectMin"][3]["funcname"] = "GetItemRectMin"
defs["igGetItemRectMin"][3]["args"] = "()"
defs["igGetItemRectMin"][3]["ret"] = "ImVec2_Simple"
defs["igGetItemRectMin"][3]["nonUDT"] = 2
defs["igGetItemRectMin"][3]["signature"] = "()"
defs["igGetItemRectMin"][3]["call_args"] = "()"
defs["igGetItemRectMin"][3]["argsoriginal"] = "()"
defs["igGetItemRectMin"][3]["stname"] = "ImGui"
defs["igGetItemRectMin"][3]["retorig"] = "ImVec2"
defs["igGetItemRectMin"][3]["ov_cimguiname"] = "igGetItemRectMin_nonUDT2"
defs["igGetItemRectMin"][3]["comment"] = ""
defs["igGetItemRectMin"][3]["defaults"] = defs["igGetItemRectMin"][1]["defaults"]
defs["igGetItemRectMin"][3]["argsT"] = {}
defs["igGetItemRectMin"]["()nonUDT"] = defs["igGetItemRectMin"][2]
defs["igGetItemRectMin"]["()nonUDT2"] = defs["igGetItemRectMin"][3]
defs["igGetItemRectMin"]["()"] = defs["igGetItemRectMin"][1]
defs["ImDrawData_DeIndexAllBuffers"] = {}
defs["ImDrawData_DeIndexAllBuffers"][1] = {}
@@ -6167,7 +6335,7 @@ defs["igGetCursorPos"][2]["funcname"] = "GetCursorPos"
defs["igGetCursorPos"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetCursorPos"][2]["ret"] = "void"
defs["igGetCursorPos"][2]["cimguiname"] = "igGetCursorPos"
defs["igGetCursorPos"][2]["nonUDT"] = true
defs["igGetCursorPos"][2]["nonUDT"] = 1
defs["igGetCursorPos"][2]["call_args"] = "()"
defs["igGetCursorPos"][2]["argsoriginal"] = "()"
defs["igGetCursorPos"][2]["stname"] = "ImGui"
@@ -6179,7 +6347,23 @@ defs["igGetCursorPos"][2]["argsT"] = {}
defs["igGetCursorPos"][2]["argsT"][1] = {}
defs["igGetCursorPos"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetCursorPos"][2]["argsT"][1]["name"] = "pOut"
defs["igGetCursorPos"][3] = {}
defs["igGetCursorPos"][3]["cimguiname"] = "igGetCursorPos"
defs["igGetCursorPos"][3]["funcname"] = "GetCursorPos"
defs["igGetCursorPos"][3]["args"] = "()"
defs["igGetCursorPos"][3]["ret"] = "ImVec2_Simple"
defs["igGetCursorPos"][3]["nonUDT"] = 2
defs["igGetCursorPos"][3]["signature"] = "()"
defs["igGetCursorPos"][3]["call_args"] = "()"
defs["igGetCursorPos"][3]["argsoriginal"] = "()"
defs["igGetCursorPos"][3]["stname"] = "ImGui"
defs["igGetCursorPos"][3]["retorig"] = "ImVec2"
defs["igGetCursorPos"][3]["ov_cimguiname"] = "igGetCursorPos_nonUDT2"
defs["igGetCursorPos"][3]["comment"] = ""
defs["igGetCursorPos"][3]["defaults"] = defs["igGetCursorPos"][1]["defaults"]
defs["igGetCursorPos"][3]["argsT"] = {}
defs["igGetCursorPos"]["()nonUDT"] = defs["igGetCursorPos"][2]
defs["igGetCursorPos"]["()nonUDT2"] = defs["igGetCursorPos"][3]
defs["igGetCursorPos"]["()"] = defs["igGetCursorPos"][1]
defs["ImDrawList_GetClipRectMin"] = {}
defs["ImDrawList_GetClipRectMin"][1] = {}
@@ -6199,7 +6383,7 @@ defs["ImDrawList_GetClipRectMin"][2]["funcname"] = "GetClipRectMin"
defs["ImDrawList_GetClipRectMin"][2]["args"] = "(ImVec2 *pOut)"
defs["ImDrawList_GetClipRectMin"][2]["ret"] = "void"
defs["ImDrawList_GetClipRectMin"][2]["cimguiname"] = "ImDrawList_GetClipRectMin"
defs["ImDrawList_GetClipRectMin"][2]["nonUDT"] = true
defs["ImDrawList_GetClipRectMin"][2]["nonUDT"] = 1
defs["ImDrawList_GetClipRectMin"][2]["call_args"] = "()"
defs["ImDrawList_GetClipRectMin"][2]["argsoriginal"] = "()"
defs["ImDrawList_GetClipRectMin"][2]["stname"] = "ImDrawList"
@@ -6211,7 +6395,23 @@ defs["ImDrawList_GetClipRectMin"][2]["argsT"] = {}
defs["ImDrawList_GetClipRectMin"][2]["argsT"][1] = {}
defs["ImDrawList_GetClipRectMin"][2]["argsT"][1]["type"] = "ImVec2*"
defs["ImDrawList_GetClipRectMin"][2]["argsT"][1]["name"] = "pOut"
defs["ImDrawList_GetClipRectMin"][3] = {}
defs["ImDrawList_GetClipRectMin"][3]["cimguiname"] = "ImDrawList_GetClipRectMin"
defs["ImDrawList_GetClipRectMin"][3]["funcname"] = "GetClipRectMin"
defs["ImDrawList_GetClipRectMin"][3]["args"] = "()"
defs["ImDrawList_GetClipRectMin"][3]["ret"] = "ImVec2_Simple"
defs["ImDrawList_GetClipRectMin"][3]["nonUDT"] = 2
defs["ImDrawList_GetClipRectMin"][3]["signature"] = "()"
defs["ImDrawList_GetClipRectMin"][3]["call_args"] = "()"
defs["ImDrawList_GetClipRectMin"][3]["argsoriginal"] = "()"
defs["ImDrawList_GetClipRectMin"][3]["stname"] = "ImDrawList"
defs["ImDrawList_GetClipRectMin"][3]["retorig"] = "ImVec2"
defs["ImDrawList_GetClipRectMin"][3]["ov_cimguiname"] = "ImDrawList_GetClipRectMin_nonUDT2"
defs["ImDrawList_GetClipRectMin"][3]["comment"] = ""
defs["ImDrawList_GetClipRectMin"][3]["defaults"] = defs["ImDrawList_GetClipRectMin"][1]["defaults"]
defs["ImDrawList_GetClipRectMin"][3]["argsT"] = {}
defs["ImDrawList_GetClipRectMin"]["()nonUDT"] = defs["ImDrawList_GetClipRectMin"][2]
defs["ImDrawList_GetClipRectMin"]["()nonUDT2"] = defs["ImDrawList_GetClipRectMin"][3]
defs["ImDrawList_GetClipRectMin"]["()"] = defs["ImDrawList_GetClipRectMin"][1]
defs["ImDrawList_PopTextureID"] = {}
defs["ImDrawList_PopTextureID"][1] = {}
@@ -7105,7 +7305,7 @@ defs["igGetMousePosOnOpeningCurrentPopup"][2]["funcname"] = "GetMousePosOnOpenin
defs["igGetMousePosOnOpeningCurrentPopup"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetMousePosOnOpeningCurrentPopup"][2]["ret"] = "void"
defs["igGetMousePosOnOpeningCurrentPopup"][2]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup"
defs["igGetMousePosOnOpeningCurrentPopup"][2]["nonUDT"] = true
defs["igGetMousePosOnOpeningCurrentPopup"][2]["nonUDT"] = 1
defs["igGetMousePosOnOpeningCurrentPopup"][2]["call_args"] = "()"
defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsoriginal"] = "()"
defs["igGetMousePosOnOpeningCurrentPopup"][2]["stname"] = "ImGui"
@@ -7117,7 +7317,23 @@ defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"] = {}
defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1] = {}
defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetMousePosOnOpeningCurrentPopup"][2]["argsT"][1]["name"] = "pOut"
defs["igGetMousePosOnOpeningCurrentPopup"][3] = {}
defs["igGetMousePosOnOpeningCurrentPopup"][3]["cimguiname"] = "igGetMousePosOnOpeningCurrentPopup"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["funcname"] = "GetMousePosOnOpeningCurrentPopup"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["args"] = "()"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["ret"] = "ImVec2_Simple"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["nonUDT"] = 2
defs["igGetMousePosOnOpeningCurrentPopup"][3]["signature"] = "()"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["call_args"] = "()"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["argsoriginal"] = "()"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["stname"] = "ImGui"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["retorig"] = "ImVec2"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["ov_cimguiname"] = "igGetMousePosOnOpeningCurrentPopup_nonUDT2"
defs["igGetMousePosOnOpeningCurrentPopup"][3]["comment"] = ""
defs["igGetMousePosOnOpeningCurrentPopup"][3]["defaults"] = defs["igGetMousePosOnOpeningCurrentPopup"][1]["defaults"]
defs["igGetMousePosOnOpeningCurrentPopup"][3]["argsT"] = {}
defs["igGetMousePosOnOpeningCurrentPopup"]["()nonUDT"] = defs["igGetMousePosOnOpeningCurrentPopup"][2]
defs["igGetMousePosOnOpeningCurrentPopup"]["()nonUDT2"] = defs["igGetMousePosOnOpeningCurrentPopup"][3]
defs["igGetMousePosOnOpeningCurrentPopup"]["()"] = defs["igGetMousePosOnOpeningCurrentPopup"][1]
defs["ImGuiStorage_GetIntRef"] = {}
defs["ImGuiStorage_GetIntRef"][1] = {}
@@ -7990,7 +8206,7 @@ defs["ImDrawList_GetClipRectMax"][2]["funcname"] = "GetClipRectMax"
defs["ImDrawList_GetClipRectMax"][2]["args"] = "(ImVec2 *pOut)"
defs["ImDrawList_GetClipRectMax"][2]["ret"] = "void"
defs["ImDrawList_GetClipRectMax"][2]["cimguiname"] = "ImDrawList_GetClipRectMax"
defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = true
defs["ImDrawList_GetClipRectMax"][2]["nonUDT"] = 1
defs["ImDrawList_GetClipRectMax"][2]["call_args"] = "()"
defs["ImDrawList_GetClipRectMax"][2]["argsoriginal"] = "()"
defs["ImDrawList_GetClipRectMax"][2]["stname"] = "ImDrawList"
@@ -8002,7 +8218,23 @@ defs["ImDrawList_GetClipRectMax"][2]["argsT"] = {}
defs["ImDrawList_GetClipRectMax"][2]["argsT"][1] = {}
defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["type"] = "ImVec2*"
defs["ImDrawList_GetClipRectMax"][2]["argsT"][1]["name"] = "pOut"
defs["ImDrawList_GetClipRectMax"][3] = {}
defs["ImDrawList_GetClipRectMax"][3]["cimguiname"] = "ImDrawList_GetClipRectMax"
defs["ImDrawList_GetClipRectMax"][3]["funcname"] = "GetClipRectMax"
defs["ImDrawList_GetClipRectMax"][3]["args"] = "()"
defs["ImDrawList_GetClipRectMax"][3]["ret"] = "ImVec2_Simple"
defs["ImDrawList_GetClipRectMax"][3]["nonUDT"] = 2
defs["ImDrawList_GetClipRectMax"][3]["signature"] = "()"
defs["ImDrawList_GetClipRectMax"][3]["call_args"] = "()"
defs["ImDrawList_GetClipRectMax"][3]["argsoriginal"] = "()"
defs["ImDrawList_GetClipRectMax"][3]["stname"] = "ImDrawList"
defs["ImDrawList_GetClipRectMax"][3]["retorig"] = "ImVec2"
defs["ImDrawList_GetClipRectMax"][3]["ov_cimguiname"] = "ImDrawList_GetClipRectMax_nonUDT2"
defs["ImDrawList_GetClipRectMax"][3]["comment"] = ""
defs["ImDrawList_GetClipRectMax"][3]["defaults"] = defs["ImDrawList_GetClipRectMax"][1]["defaults"]
defs["ImDrawList_GetClipRectMax"][3]["argsT"] = {}
defs["ImDrawList_GetClipRectMax"]["()nonUDT"] = defs["ImDrawList_GetClipRectMax"][2]
defs["ImDrawList_GetClipRectMax"]["()nonUDT2"] = defs["ImDrawList_GetClipRectMax"][3]
defs["ImDrawList_GetClipRectMax"]["()"] = defs["ImDrawList_GetClipRectMax"][1]
defs["igCalcTextSize"] = {}
defs["igCalcTextSize"][1] = {}
@@ -8037,7 +8269,7 @@ defs["igCalcTextSize"][2]["funcname"] = "CalcTextSize"
defs["igCalcTextSize"][2]["args"] = "(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)"
defs["igCalcTextSize"][2]["ret"] = "void"
defs["igCalcTextSize"][2]["cimguiname"] = "igCalcTextSize"
defs["igCalcTextSize"][2]["nonUDT"] = true
defs["igCalcTextSize"][2]["nonUDT"] = 1
defs["igCalcTextSize"][2]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)"
defs["igCalcTextSize"][2]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)"
defs["igCalcTextSize"][2]["stname"] = "ImGui"
@@ -8061,8 +8293,36 @@ defs["igCalcTextSize"][2]["argsT"][4]["name"] = "hide_text_after_double_hash"
defs["igCalcTextSize"][2]["argsT"][5] = {}
defs["igCalcTextSize"][2]["argsT"][5]["type"] = "float"
defs["igCalcTextSize"][2]["argsT"][5]["name"] = "wrap_width"
defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1]
defs["igCalcTextSize"][3] = {}
defs["igCalcTextSize"][3]["cimguiname"] = "igCalcTextSize"
defs["igCalcTextSize"][3]["funcname"] = "CalcTextSize"
defs["igCalcTextSize"][3]["args"] = "(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)"
defs["igCalcTextSize"][3]["ret"] = "ImVec2_Simple"
defs["igCalcTextSize"][3]["nonUDT"] = 2
defs["igCalcTextSize"][3]["signature"] = "(const char*,const char*,bool,float)"
defs["igCalcTextSize"][3]["call_args"] = "(text,text_end,hide_text_after_double_hash,wrap_width)"
defs["igCalcTextSize"][3]["argsoriginal"] = "(const char* text,const char* text_end=((void *)0),bool hide_text_after_double_hash=false,float wrap_width=-1.0f)"
defs["igCalcTextSize"][3]["stname"] = "ImGui"
defs["igCalcTextSize"][3]["retorig"] = "ImVec2"
defs["igCalcTextSize"][3]["ov_cimguiname"] = "igCalcTextSize_nonUDT2"
defs["igCalcTextSize"][3]["comment"] = ""
defs["igCalcTextSize"][3]["defaults"] = defs["igCalcTextSize"][1]["defaults"]
defs["igCalcTextSize"][3]["argsT"] = {}
defs["igCalcTextSize"][3]["argsT"][1] = {}
defs["igCalcTextSize"][3]["argsT"][1]["type"] = "const char*"
defs["igCalcTextSize"][3]["argsT"][1]["name"] = "text"
defs["igCalcTextSize"][3]["argsT"][2] = {}
defs["igCalcTextSize"][3]["argsT"][2]["type"] = "const char*"
defs["igCalcTextSize"][3]["argsT"][2]["name"] = "text_end"
defs["igCalcTextSize"][3]["argsT"][3] = {}
defs["igCalcTextSize"][3]["argsT"][3]["type"] = "bool"
defs["igCalcTextSize"][3]["argsT"][3]["name"] = "hide_text_after_double_hash"
defs["igCalcTextSize"][3]["argsT"][4] = {}
defs["igCalcTextSize"][3]["argsT"][4]["type"] = "float"
defs["igCalcTextSize"][3]["argsT"][4]["name"] = "wrap_width"
defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT"] = defs["igCalcTextSize"][2]
defs["igCalcTextSize"]["(const char*,const char*,bool,float)nonUDT2"] = defs["igCalcTextSize"][3]
defs["igCalcTextSize"]["(const char*,const char*,bool,float)"] = defs["igCalcTextSize"][1]
defs["igGetDrawListSharedData"] = {}
defs["igGetDrawListSharedData"][1] = {}
defs["igGetDrawListSharedData"][1]["funcname"] = "GetDrawListSharedData"
@@ -8300,7 +8560,7 @@ defs["igGetContentRegionMax"][2]["funcname"] = "GetContentRegionMax"
defs["igGetContentRegionMax"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetContentRegionMax"][2]["ret"] = "void"
defs["igGetContentRegionMax"][2]["cimguiname"] = "igGetContentRegionMax"
defs["igGetContentRegionMax"][2]["nonUDT"] = true
defs["igGetContentRegionMax"][2]["nonUDT"] = 1
defs["igGetContentRegionMax"][2]["call_args"] = "()"
defs["igGetContentRegionMax"][2]["argsoriginal"] = "()"
defs["igGetContentRegionMax"][2]["stname"] = "ImGui"
@@ -8312,7 +8572,23 @@ defs["igGetContentRegionMax"][2]["argsT"] = {}
defs["igGetContentRegionMax"][2]["argsT"][1] = {}
defs["igGetContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetContentRegionMax"][2]["argsT"][1]["name"] = "pOut"
defs["igGetContentRegionMax"][3] = {}
defs["igGetContentRegionMax"][3]["cimguiname"] = "igGetContentRegionMax"
defs["igGetContentRegionMax"][3]["funcname"] = "GetContentRegionMax"
defs["igGetContentRegionMax"][3]["args"] = "()"
defs["igGetContentRegionMax"][3]["ret"] = "ImVec2_Simple"
defs["igGetContentRegionMax"][3]["nonUDT"] = 2
defs["igGetContentRegionMax"][3]["signature"] = "()"
defs["igGetContentRegionMax"][3]["call_args"] = "()"
defs["igGetContentRegionMax"][3]["argsoriginal"] = "()"
defs["igGetContentRegionMax"][3]["stname"] = "ImGui"
defs["igGetContentRegionMax"][3]["retorig"] = "ImVec2"
defs["igGetContentRegionMax"][3]["ov_cimguiname"] = "igGetContentRegionMax_nonUDT2"
defs["igGetContentRegionMax"][3]["comment"] = ""
defs["igGetContentRegionMax"][3]["defaults"] = defs["igGetContentRegionMax"][1]["defaults"]
defs["igGetContentRegionMax"][3]["argsT"] = {}
defs["igGetContentRegionMax"]["()nonUDT"] = defs["igGetContentRegionMax"][2]
defs["igGetContentRegionMax"]["()nonUDT2"] = defs["igGetContentRegionMax"][3]
defs["igGetContentRegionMax"]["()"] = defs["igGetContentRegionMax"][1]
defs["igBeginChildFrame"] = {}
defs["igBeginChildFrame"][1] = {}
@@ -8566,7 +8842,7 @@ defs["igGetMousePos"][2]["funcname"] = "GetMousePos"
defs["igGetMousePos"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetMousePos"][2]["ret"] = "void"
defs["igGetMousePos"][2]["cimguiname"] = "igGetMousePos"
defs["igGetMousePos"][2]["nonUDT"] = true
defs["igGetMousePos"][2]["nonUDT"] = 1
defs["igGetMousePos"][2]["call_args"] = "()"
defs["igGetMousePos"][2]["argsoriginal"] = "()"
defs["igGetMousePos"][2]["stname"] = "ImGui"
@@ -8578,7 +8854,23 @@ defs["igGetMousePos"][2]["argsT"] = {}
defs["igGetMousePos"][2]["argsT"][1] = {}
defs["igGetMousePos"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetMousePos"][2]["argsT"][1]["name"] = "pOut"
defs["igGetMousePos"][3] = {}
defs["igGetMousePos"][3]["cimguiname"] = "igGetMousePos"
defs["igGetMousePos"][3]["funcname"] = "GetMousePos"
defs["igGetMousePos"][3]["args"] = "()"
defs["igGetMousePos"][3]["ret"] = "ImVec2_Simple"
defs["igGetMousePos"][3]["nonUDT"] = 2
defs["igGetMousePos"][3]["signature"] = "()"
defs["igGetMousePos"][3]["call_args"] = "()"
defs["igGetMousePos"][3]["argsoriginal"] = "()"
defs["igGetMousePos"][3]["stname"] = "ImGui"
defs["igGetMousePos"][3]["retorig"] = "ImVec2"
defs["igGetMousePos"][3]["ov_cimguiname"] = "igGetMousePos_nonUDT2"
defs["igGetMousePos"][3]["comment"] = ""
defs["igGetMousePos"][3]["defaults"] = defs["igGetMousePos"][1]["defaults"]
defs["igGetMousePos"][3]["argsT"] = {}
defs["igGetMousePos"]["()nonUDT"] = defs["igGetMousePos"][2]
defs["igGetMousePos"]["()nonUDT2"] = defs["igGetMousePos"][3]
defs["igGetMousePos"]["()"] = defs["igGetMousePos"][1]
defs["GlyphRangesBuilder_AddChar"] = {}
defs["GlyphRangesBuilder_AddChar"][1] = {}
@@ -8894,7 +9186,7 @@ defs["igColorConvertU32ToFloat4"][2]["funcname"] = "ColorConvertU32ToFloat4"
defs["igColorConvertU32ToFloat4"][2]["args"] = "(ImVec4 *pOut,ImU32 in)"
defs["igColorConvertU32ToFloat4"][2]["ret"] = "void"
defs["igColorConvertU32ToFloat4"][2]["cimguiname"] = "igColorConvertU32ToFloat4"
defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = true
defs["igColorConvertU32ToFloat4"][2]["nonUDT"] = 1
defs["igColorConvertU32ToFloat4"][2]["call_args"] = "(in)"
defs["igColorConvertU32ToFloat4"][2]["argsoriginal"] = "(ImU32 in)"
defs["igColorConvertU32ToFloat4"][2]["stname"] = "ImGui"
@@ -8909,8 +9201,27 @@ defs["igColorConvertU32ToFloat4"][2]["argsT"][1]["name"] = "pOut"
defs["igColorConvertU32ToFloat4"][2]["argsT"][2] = {}
defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["type"] = "ImU32"
defs["igColorConvertU32ToFloat4"][2]["argsT"][2]["name"] = "in"
defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2]
defs["igColorConvertU32ToFloat4"][3] = {}
defs["igColorConvertU32ToFloat4"][3]["cimguiname"] = "igColorConvertU32ToFloat4"
defs["igColorConvertU32ToFloat4"][3]["funcname"] = "ColorConvertU32ToFloat4"
defs["igColorConvertU32ToFloat4"][3]["args"] = "(ImU32 in)"
defs["igColorConvertU32ToFloat4"][3]["ret"] = "ImVec4_Simple"
defs["igColorConvertU32ToFloat4"][3]["nonUDT"] = 2
defs["igColorConvertU32ToFloat4"][3]["signature"] = "(ImU32)"
defs["igColorConvertU32ToFloat4"][3]["call_args"] = "(in)"
defs["igColorConvertU32ToFloat4"][3]["argsoriginal"] = "(ImU32 in)"
defs["igColorConvertU32ToFloat4"][3]["stname"] = "ImGui"
defs["igColorConvertU32ToFloat4"][3]["retorig"] = "ImVec4"
defs["igColorConvertU32ToFloat4"][3]["ov_cimguiname"] = "igColorConvertU32ToFloat4_nonUDT2"
defs["igColorConvertU32ToFloat4"][3]["comment"] = ""
defs["igColorConvertU32ToFloat4"][3]["defaults"] = defs["igColorConvertU32ToFloat4"][1]["defaults"]
defs["igColorConvertU32ToFloat4"][3]["argsT"] = {}
defs["igColorConvertU32ToFloat4"][3]["argsT"][1] = {}
defs["igColorConvertU32ToFloat4"][3]["argsT"][1]["type"] = "ImU32"
defs["igColorConvertU32ToFloat4"][3]["argsT"][1]["name"] = "in"
defs["igColorConvertU32ToFloat4"]["(ImU32)"] = defs["igColorConvertU32ToFloat4"][1]
defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT"] = defs["igColorConvertU32ToFloat4"][2]
defs["igColorConvertU32ToFloat4"]["(ImU32)nonUDT2"] = defs["igColorConvertU32ToFloat4"][3]
defs["igPopTextWrapPos"] = {}
defs["igPopTextWrapPos"][1] = {}
defs["igPopTextWrapPos"][1]["funcname"] = "PopTextWrapPos"
@@ -9372,7 +9683,7 @@ defs["igGetWindowContentRegionMax"][2]["funcname"] = "GetWindowContentRegionMax"
defs["igGetWindowContentRegionMax"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetWindowContentRegionMax"][2]["ret"] = "void"
defs["igGetWindowContentRegionMax"][2]["cimguiname"] = "igGetWindowContentRegionMax"
defs["igGetWindowContentRegionMax"][2]["nonUDT"] = true
defs["igGetWindowContentRegionMax"][2]["nonUDT"] = 1
defs["igGetWindowContentRegionMax"][2]["call_args"] = "()"
defs["igGetWindowContentRegionMax"][2]["argsoriginal"] = "()"
defs["igGetWindowContentRegionMax"][2]["stname"] = "ImGui"
@@ -9384,7 +9695,23 @@ defs["igGetWindowContentRegionMax"][2]["argsT"] = {}
defs["igGetWindowContentRegionMax"][2]["argsT"][1] = {}
defs["igGetWindowContentRegionMax"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetWindowContentRegionMax"][2]["argsT"][1]["name"] = "pOut"
defs["igGetWindowContentRegionMax"][3] = {}
defs["igGetWindowContentRegionMax"][3]["cimguiname"] = "igGetWindowContentRegionMax"
defs["igGetWindowContentRegionMax"][3]["funcname"] = "GetWindowContentRegionMax"
defs["igGetWindowContentRegionMax"][3]["args"] = "()"
defs["igGetWindowContentRegionMax"][3]["ret"] = "ImVec2_Simple"
defs["igGetWindowContentRegionMax"][3]["nonUDT"] = 2
defs["igGetWindowContentRegionMax"][3]["signature"] = "()"
defs["igGetWindowContentRegionMax"][3]["call_args"] = "()"
defs["igGetWindowContentRegionMax"][3]["argsoriginal"] = "()"
defs["igGetWindowContentRegionMax"][3]["stname"] = "ImGui"
defs["igGetWindowContentRegionMax"][3]["retorig"] = "ImVec2"
defs["igGetWindowContentRegionMax"][3]["ov_cimguiname"] = "igGetWindowContentRegionMax_nonUDT2"
defs["igGetWindowContentRegionMax"][3]["comment"] = ""
defs["igGetWindowContentRegionMax"][3]["defaults"] = defs["igGetWindowContentRegionMax"][1]["defaults"]
defs["igGetWindowContentRegionMax"][3]["argsT"] = {}
defs["igGetWindowContentRegionMax"]["()nonUDT"] = defs["igGetWindowContentRegionMax"][2]
defs["igGetWindowContentRegionMax"]["()nonUDT2"] = defs["igGetWindowContentRegionMax"][3]
defs["igGetWindowContentRegionMax"]["()"] = defs["igGetWindowContentRegionMax"][1]
defs["igInputScalar"] = {}
defs["igInputScalar"][1] = {}
@@ -9594,7 +9921,7 @@ defs["igGetItemRectSize"][2]["funcname"] = "GetItemRectSize"
defs["igGetItemRectSize"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetItemRectSize"][2]["ret"] = "void"
defs["igGetItemRectSize"][2]["cimguiname"] = "igGetItemRectSize"
defs["igGetItemRectSize"][2]["nonUDT"] = true
defs["igGetItemRectSize"][2]["nonUDT"] = 1
defs["igGetItemRectSize"][2]["call_args"] = "()"
defs["igGetItemRectSize"][2]["argsoriginal"] = "()"
defs["igGetItemRectSize"][2]["stname"] = "ImGui"
@@ -9606,7 +9933,23 @@ defs["igGetItemRectSize"][2]["argsT"] = {}
defs["igGetItemRectSize"][2]["argsT"][1] = {}
defs["igGetItemRectSize"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetItemRectSize"][2]["argsT"][1]["name"] = "pOut"
defs["igGetItemRectSize"][3] = {}
defs["igGetItemRectSize"][3]["cimguiname"] = "igGetItemRectSize"
defs["igGetItemRectSize"][3]["funcname"] = "GetItemRectSize"
defs["igGetItemRectSize"][3]["args"] = "()"
defs["igGetItemRectSize"][3]["ret"] = "ImVec2_Simple"
defs["igGetItemRectSize"][3]["nonUDT"] = 2
defs["igGetItemRectSize"][3]["signature"] = "()"
defs["igGetItemRectSize"][3]["call_args"] = "()"
defs["igGetItemRectSize"][3]["argsoriginal"] = "()"
defs["igGetItemRectSize"][3]["stname"] = "ImGui"
defs["igGetItemRectSize"][3]["retorig"] = "ImVec2"
defs["igGetItemRectSize"][3]["ov_cimguiname"] = "igGetItemRectSize_nonUDT2"
defs["igGetItemRectSize"][3]["comment"] = ""
defs["igGetItemRectSize"][3]["defaults"] = defs["igGetItemRectSize"][1]["defaults"]
defs["igGetItemRectSize"][3]["argsT"] = {}
defs["igGetItemRectSize"]["()nonUDT"] = defs["igGetItemRectSize"][2]
defs["igGetItemRectSize"]["()nonUDT2"] = defs["igGetItemRectSize"][3]
defs["igGetItemRectSize"]["()"] = defs["igGetItemRectSize"][1]
defs["igArrowButton"] = {}
defs["igArrowButton"][1] = {}
@@ -9938,7 +10281,7 @@ defs["igGetWindowContentRegionMin"][2]["funcname"] = "GetWindowContentRegionMin"
defs["igGetWindowContentRegionMin"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetWindowContentRegionMin"][2]["ret"] = "void"
defs["igGetWindowContentRegionMin"][2]["cimguiname"] = "igGetWindowContentRegionMin"
defs["igGetWindowContentRegionMin"][2]["nonUDT"] = true
defs["igGetWindowContentRegionMin"][2]["nonUDT"] = 1
defs["igGetWindowContentRegionMin"][2]["call_args"] = "()"
defs["igGetWindowContentRegionMin"][2]["argsoriginal"] = "()"
defs["igGetWindowContentRegionMin"][2]["stname"] = "ImGui"
@@ -9950,7 +10293,23 @@ defs["igGetWindowContentRegionMin"][2]["argsT"] = {}
defs["igGetWindowContentRegionMin"][2]["argsT"][1] = {}
defs["igGetWindowContentRegionMin"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetWindowContentRegionMin"][2]["argsT"][1]["name"] = "pOut"
defs["igGetWindowContentRegionMin"][3] = {}
defs["igGetWindowContentRegionMin"][3]["cimguiname"] = "igGetWindowContentRegionMin"
defs["igGetWindowContentRegionMin"][3]["funcname"] = "GetWindowContentRegionMin"
defs["igGetWindowContentRegionMin"][3]["args"] = "()"
defs["igGetWindowContentRegionMin"][3]["ret"] = "ImVec2_Simple"
defs["igGetWindowContentRegionMin"][3]["nonUDT"] = 2
defs["igGetWindowContentRegionMin"][3]["signature"] = "()"
defs["igGetWindowContentRegionMin"][3]["call_args"] = "()"
defs["igGetWindowContentRegionMin"][3]["argsoriginal"] = "()"
defs["igGetWindowContentRegionMin"][3]["stname"] = "ImGui"
defs["igGetWindowContentRegionMin"][3]["retorig"] = "ImVec2"
defs["igGetWindowContentRegionMin"][3]["ov_cimguiname"] = "igGetWindowContentRegionMin_nonUDT2"
defs["igGetWindowContentRegionMin"][3]["comment"] = ""
defs["igGetWindowContentRegionMin"][3]["defaults"] = defs["igGetWindowContentRegionMin"][1]["defaults"]
defs["igGetWindowContentRegionMin"][3]["argsT"] = {}
defs["igGetWindowContentRegionMin"]["()nonUDT"] = defs["igGetWindowContentRegionMin"][2]
defs["igGetWindowContentRegionMin"]["()nonUDT2"] = defs["igGetWindowContentRegionMin"][3]
defs["igGetWindowContentRegionMin"]["()"] = defs["igGetWindowContentRegionMin"][1]
defs["igLogButtons"] = {}
defs["igLogButtons"][1] = {}
@@ -10252,7 +10611,7 @@ defs["ImColor_HSV"][2]["funcname"] = "HSV"
defs["ImColor_HSV"][2]["args"] = "(ImColor *pOut,float h,float s,float v,float a)"
defs["ImColor_HSV"][2]["ret"] = "void"
defs["ImColor_HSV"][2]["cimguiname"] = "ImColor_HSV"
defs["ImColor_HSV"][2]["nonUDT"] = true
defs["ImColor_HSV"][2]["nonUDT"] = 1
defs["ImColor_HSV"][2]["call_args"] = "(h,s,v,a)"
defs["ImColor_HSV"][2]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)"
defs["ImColor_HSV"][2]["stname"] = "ImColor"
@@ -10276,7 +10635,35 @@ defs["ImColor_HSV"][2]["argsT"][4]["name"] = "v"
defs["ImColor_HSV"][2]["argsT"][5] = {}
defs["ImColor_HSV"][2]["argsT"][5]["type"] = "float"
defs["ImColor_HSV"][2]["argsT"][5]["name"] = "a"
defs["ImColor_HSV"][3] = {}
defs["ImColor_HSV"][3]["cimguiname"] = "ImColor_HSV"
defs["ImColor_HSV"][3]["funcname"] = "HSV"
defs["ImColor_HSV"][3]["args"] = "(float h,float s,float v,float a)"
defs["ImColor_HSV"][3]["ret"] = "ImColor_Simple"
defs["ImColor_HSV"][3]["nonUDT"] = 2
defs["ImColor_HSV"][3]["signature"] = "(float,float,float,float)"
defs["ImColor_HSV"][3]["call_args"] = "(h,s,v,a)"
defs["ImColor_HSV"][3]["argsoriginal"] = "(float h,float s,float v,float a=1.0f)"
defs["ImColor_HSV"][3]["stname"] = "ImColor"
defs["ImColor_HSV"][3]["retorig"] = "ImColor"
defs["ImColor_HSV"][3]["ov_cimguiname"] = "ImColor_HSV_nonUDT2"
defs["ImColor_HSV"][3]["comment"] = ""
defs["ImColor_HSV"][3]["defaults"] = defs["ImColor_HSV"][1]["defaults"]
defs["ImColor_HSV"][3]["argsT"] = {}
defs["ImColor_HSV"][3]["argsT"][1] = {}
defs["ImColor_HSV"][3]["argsT"][1]["type"] = "float"
defs["ImColor_HSV"][3]["argsT"][1]["name"] = "h"
defs["ImColor_HSV"][3]["argsT"][2] = {}
defs["ImColor_HSV"][3]["argsT"][2]["type"] = "float"
defs["ImColor_HSV"][3]["argsT"][2]["name"] = "s"
defs["ImColor_HSV"][3]["argsT"][3] = {}
defs["ImColor_HSV"][3]["argsT"][3]["type"] = "float"
defs["ImColor_HSV"][3]["argsT"][3]["name"] = "v"
defs["ImColor_HSV"][3]["argsT"][4] = {}
defs["ImColor_HSV"][3]["argsT"][4]["type"] = "float"
defs["ImColor_HSV"][3]["argsT"][4]["name"] = "a"
defs["ImColor_HSV"]["(float,float,float,float)"] = defs["ImColor_HSV"][1]
defs["ImColor_HSV"]["(float,float,float,float)nonUDT2"] = defs["ImColor_HSV"][3]
defs["ImColor_HSV"]["(float,float,float,float)nonUDT"] = defs["ImColor_HSV"][2]
defs["ImDrawList_PathLineTo"] = {}
defs["ImDrawList_PathLineTo"][1] = {}
@@ -11067,7 +11454,7 @@ defs["igGetContentRegionAvail"][2]["funcname"] = "GetContentRegionAvail"
defs["igGetContentRegionAvail"][2]["args"] = "(ImVec2 *pOut)"
defs["igGetContentRegionAvail"][2]["ret"] = "void"
defs["igGetContentRegionAvail"][2]["cimguiname"] = "igGetContentRegionAvail"
defs["igGetContentRegionAvail"][2]["nonUDT"] = true
defs["igGetContentRegionAvail"][2]["nonUDT"] = 1
defs["igGetContentRegionAvail"][2]["call_args"] = "()"
defs["igGetContentRegionAvail"][2]["argsoriginal"] = "()"
defs["igGetContentRegionAvail"][2]["stname"] = "ImGui"
@@ -11079,7 +11466,23 @@ defs["igGetContentRegionAvail"][2]["argsT"] = {}
defs["igGetContentRegionAvail"][2]["argsT"][1] = {}
defs["igGetContentRegionAvail"][2]["argsT"][1]["type"] = "ImVec2*"
defs["igGetContentRegionAvail"][2]["argsT"][1]["name"] = "pOut"
defs["igGetContentRegionAvail"][3] = {}
defs["igGetContentRegionAvail"][3]["cimguiname"] = "igGetContentRegionAvail"
defs["igGetContentRegionAvail"][3]["funcname"] = "GetContentRegionAvail"
defs["igGetContentRegionAvail"][3]["args"] = "()"
defs["igGetContentRegionAvail"][3]["ret"] = "ImVec2_Simple"
defs["igGetContentRegionAvail"][3]["nonUDT"] = 2
defs["igGetContentRegionAvail"][3]["signature"] = "()"
defs["igGetContentRegionAvail"][3]["call_args"] = "()"
defs["igGetContentRegionAvail"][3]["argsoriginal"] = "()"
defs["igGetContentRegionAvail"][3]["stname"] = "ImGui"
defs["igGetContentRegionAvail"][3]["retorig"] = "ImVec2"
defs["igGetContentRegionAvail"][3]["ov_cimguiname"] = "igGetContentRegionAvail_nonUDT2"
defs["igGetContentRegionAvail"][3]["comment"] = ""
defs["igGetContentRegionAvail"][3]["defaults"] = defs["igGetContentRegionAvail"][1]["defaults"]
defs["igGetContentRegionAvail"][3]["argsT"] = {}
defs["igGetContentRegionAvail"]["()nonUDT"] = defs["igGetContentRegionAvail"][2]
defs["igGetContentRegionAvail"]["()nonUDT2"] = defs["igGetContentRegionAvail"][3]
defs["igGetContentRegionAvail"]["()"] = defs["igGetContentRegionAvail"][1]
defs["igInputFloat3"] = {}
defs["igInputFloat3"][1] = {}

View File

@@ -555,6 +555,9 @@ local function func_parser()
if ret then
defT.ret = clean_spaces(ret:gsub("&","*"))
defT.retref = ret:match("&")
-- if defT.ret=="ImVec2" or defT.ret=="ImVec4" or defT.ret=="ImColor" then
-- defT.ret = defT.ret.."_Simple"
-- end
end
defsT[cimguiname][signature] = defT
end
@@ -615,6 +618,7 @@ local function ADDnonUDT(FP)
local defT = cimf[t.signature]
--if UDT return generate nonUDT version
if defT.ret=="ImVec2" or defT.ret=="ImVec4" or defT.ret=="ImColor" then
--passing as a pointer arg
local defT2 = {}
--first strings
for k,v in pairs(defT) do
@@ -629,11 +633,32 @@ local function ADDnonUDT(FP)
defT2.args = "("..defT.ret.." *pOut"..comma..defT.args:sub(2)
defT2.ret = "void"
defT2.ov_cimguiname = (defT2.ov_cimguiname or defT2.cimguiname).."_nonUDT"
defT2.nonUDT = true
defT2.nonUDT = 1
defT2.retref = nil
defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT2
defsT[t.cimguiname][t.signature.."nonUDT"] = defT2
table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT",cimguiname=t.cimguiname,call_args=call_args,ret =ret,comment=comment})
--converting to Simple type----------------------------------------------------
local defT3 = {}
--first strings
for k,v in pairs(defT) do
defT3[k] = v
end
--then argsT table
defT3.argsT = {}
for k,v in ipairs(defT.argsT) do
table.insert(defT3.argsT,{type=v.type,name=v.name})
end
local comma = (#defT.argsT > 0) and "," or ""
--defT3.args = "("..defT.ret.." *pOut"..comma..defT.args:sub(2)
defT3.ret = defT.ret.."_Simple"
defT3.retorig = defT.ret
defT3.ov_cimguiname = (defT3.ov_cimguiname or defT3.cimguiname).."_nonUDT2"
defT3.nonUDT = 2
defT3.retref = nil
defsT[t.cimguiname][#defsT[t.cimguiname] + 1] = defT3
defsT[t.cimguiname][t.signature.."nonUDT2"] = defT3
table.insert(newcdefs,{stname=t.stname,funcname=t.funcname,args=args,argsc=argscsinpars,signature=t.signature.."nonUDT2",cimguiname=t.cimguiname,call_args=call_args,ret =ret,comment=comment})
end
end
end
@@ -1022,10 +1047,19 @@ local function func_implementation(FP)
--cppfile:write(" return ImGui::",def.funcname,def.call_args,";\n")
table.insert(outtab,"}\n")
elseif def.nonUDT then
if def.nonUDT == 1 then
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n")
table.insert(outtab,"{\n")
table.insert(outtab," *pOut = ImGui::"..def.funcname..def.call_args..";\n")
table.insert(outtab,"}\n")
else --nonUDT==2
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n")
table.insert(outtab,"{\n")
table.insert(outtab," "..def.retorig.." ret = ImGui::"..def.funcname..def.call_args..";\n")
table.insert(outtab," "..def.ret.." ret2 = "..def.retorig.."ToSimple(ret);\n")
table.insert(outtab," return ret2;\n")
table.insert(outtab,"}\n")
end
else
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..def.args.."\n")
table.insert(outtab,"{\n")
@@ -1055,10 +1089,19 @@ local function func_implementation(FP)
--cppfile:write(" return self->",def.funcname,def.call_args,";\n")
table.insert(outtab,"}\n")
elseif def.nonUDT then
if def.nonUDT == 1 then
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n")
table.insert(outtab,"{\n")
table.insert(outtab," *pOut = self->"..def.funcname..def.call_args..";\n")
table.insert(outtab,"}\n")
else --nonUDT==2
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n")
table.insert(outtab,"{\n")
table.insert(outtab," "..def.retorig.." ret = self->"..def.funcname..def.call_args..";\n")
table.insert(outtab," "..def.ret.." ret2 = "..def.retorig.."ToSimple(ret);\n")
table.insert(outtab," return ret2;\n")
table.insert(outtab,"}\n")
end
else
table.insert(outtab,"CIMGUI_API".." "..def.ret.." "..(def.ov_cimguiname or def.cimguiname)..args.."\n")
table.insert(outtab,"{\n")