From 8c5bda8548320840047b1d33b177a8439fc0f210 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Mon, 29 Jun 2020 19:06:28 +0200 Subject: [PATCH] pull imgui docking 1.77 and generate --- README.md | 2 +- cimgui.cpp | 98 +++-- cimgui.h | 58 ++- generator/output/cimgui.cpp | 98 +++-- generator/output/cimgui.h | 58 ++- generator/output/definitions.json | 467 +++++++++++++++++------- generator/output/definitions.lua | 441 ++++++++++++++-------- generator/output/overloads.txt | 40 +- generator/output/structs_and_enums.json | 93 ++++- generator/output/structs_and_enums.lua | 155 +++++--- generator/output/typedefs_dict.json | 1 + generator/output/typedefs_dict.lua | 1 + imgui | 2 +- 13 files changed, 1043 insertions(+), 471 deletions(-) diff --git a/README.md b/README.md index 4cc0c8b..ffaa425 100644 --- a/README.md +++ b/README.md @@ -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.77 docking 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. diff --git a/cimgui.cpp b/cimgui.cpp index 1e47ddc..39ff379 100644 --- a/cimgui.cpp +++ b/cimgui.cpp @@ -1,5 +1,5 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.77 WIP" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.77" from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api #include "./imgui/imgui.h" @@ -1049,26 +1049,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); @@ -1077,18 +1061,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); @@ -2057,14 +2057,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); @@ -2097,13 +2089,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) { @@ -2401,6 +2409,10 @@ CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self) { IM_DELETE(self); } +CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self) +{ + *pOut = self->GetCenter(); +} CIMGUI_API void ImGuiViewport_GetWorkPos(ImVec2 *pOut,ImGuiViewport* self) { *pOut = self->GetWorkPos(); @@ -2809,6 +2821,10 @@ 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); @@ -3545,9 +3561,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) { @@ -3557,9 +3573,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) { @@ -3813,6 +3829,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); @@ -3997,6 +4017,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); diff --git a/cimgui.h b/cimgui.h index 46b95c8..07932e8 100644 --- a/cimgui.h +++ b/cimgui.h @@ -1,5 +1,5 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.77 WIP" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.77" from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api #ifndef CIMGUI_INCLUDED #define CIMGUI_INCLUDED @@ -157,6 +157,7 @@ typedef int ImGuiFocusedFlags; typedef int ImGuiHoveredFlags; typedef int ImGuiInputTextFlags; typedef int ImGuiKeyModFlags; +typedef int ImGuiPopupFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTabBarFlags; typedef int ImGuiTabItemFlags; @@ -388,6 +389,19 @@ typedef enum { ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog }ImGuiTreeNodeFlags_; +typedef enum { + ImGuiPopupFlags_None = 0, + ImGuiPopupFlags_MouseButtonLeft = 0, + ImGuiPopupFlags_MouseButtonRight = 1, + ImGuiPopupFlags_MouseButtonMiddle = 2, + ImGuiPopupFlags_MouseButtonMask_ = 0x1F, + ImGuiPopupFlags_MouseButtonDefault_ = 1, + ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 5, + ImGuiPopupFlags_NoOpenOverItems = 1 << 6, + ImGuiPopupFlags_AnyPopupId = 1 << 7, + ImGuiPopupFlags_AnyPopupLevel = 1 << 8, + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel +}ImGuiPopupFlags_; typedef enum { ImGuiSelectableFlags_None = 0, ImGuiSelectableFlags_DontClosePopups = 1 << 0, @@ -425,7 +439,8 @@ typedef enum { ImGuiTabItemFlags_UnsavedDocument = 1 << 0, ImGuiTabItemFlags_SetSelected = 1 << 1, ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2, - ImGuiTabItemFlags_NoPushId = 1 << 3 + ImGuiTabItemFlags_NoPushId = 1 << 3, + ImGuiTabItemFlags_NoTooltip = 1 << 4 }ImGuiTabItemFlags_; typedef enum { ImGuiFocusedFlags_None = 0, @@ -701,6 +716,7 @@ typedef enum { ImGuiMouseCursor_COUNT }ImGuiMouseCursor_; typedef enum { + ImGuiCond_None = 0, ImGuiCond_Always = 1 << 0, ImGuiCond_Once = 1 << 1, ImGuiCond_FirstUseEver = 1 << 2, @@ -832,6 +848,7 @@ struct ImGuiIO float KeysDownDurationPrev[512]; float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; + float PenPressure; ImWchar16 InputQueueSurrogate; ImVector_ImWchar InputQueueCharacters; }; @@ -913,11 +930,11 @@ struct ImColor }; struct ImDrawCmd { - unsigned int ElemCount; ImVec4 ClipRect; ImTextureID TextureId; unsigned int VtxOffset; unsigned int IdxOffset; + unsigned int ElemCount; ImDrawCallback UserCallback; void* UserCallbackData; }; @@ -964,13 +981,13 @@ struct ImDrawList ImDrawListFlags Flags; const ImDrawListSharedData* _Data; const char* _OwnerName; - unsigned int _VtxCurrentOffset; unsigned int _VtxCurrentIdx; ImDrawVert* _VtxWritePtr; ImDrawIdx* _IdxWritePtr; ImVector_ImVec4 _ClipRectStack; ImVector_ImTextureID _TextureIdStack; ImVector_ImVec2 _Path; + ImDrawCmd _CmdHeader; ImDrawListSplitter _Splitter; }; struct ImDrawData @@ -1494,7 +1511,8 @@ struct ImGuiColumns float LineMinY, LineMaxY; float HostCursorPosY; float HostCursorMaxPosX; - ImRect HostClipRect; + ImRect HostInitialClipRect; + ImRect HostBackupClipRect; ImRect HostWorkRect; ImVector_ImGuiColumnData Columns; ImDrawListSplitter Splitter; @@ -2322,16 +2340,16 @@ CIMGUI_API void igBeginTooltip(void); CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igOpenPopup(const char* str_id); CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiMouseButton mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiMouseButton mouse_button); CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEndPopup(void); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiMouseButton mouse_button); -CIMGUI_API bool igIsPopupOpenStr(const char* str_id); +CIMGUI_API void igOpenPopup(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igOpenPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags); CIMGUI_API void igCloseCurrentPopup(void); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igIsPopupOpenStr(const char* str_id,ImGuiPopupFlags flags); CIMGUI_API void igColumns(int count,const char* id,bool border); CIMGUI_API void igNextColumn(void); CIMGUI_API int igGetColumnIndex(void); @@ -2574,8 +2592,6 @@ CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int count); CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n); -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); CIMGUI_API void ImDrawList_PrimUnreserve(ImDrawList* self,int idx_count,int vtx_count); CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); @@ -2584,8 +2600,12 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self); +CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self); CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void); CIMGUI_API void ImDrawData_destroy(ImDrawData* self); CIMGUI_API void ImDrawData_Clear(ImDrawData* self); @@ -2660,6 +2680,7 @@ CIMGUI_API ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void) CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self); CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void); CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self); +CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API void ImGuiViewport_GetWorkPos(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API void ImGuiViewport_GetWorkSize(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API ImU32 igImHashData(const void* data,size_t data_size,ImU32 seed); @@ -2761,6 +2782,7 @@ CIMGUI_API void ImRect_ClipWith(ImRect* self,const ImRect r); CIMGUI_API void ImRect_ClipWithFull(ImRect* self,const ImRect r); CIMGUI_API void ImRect_Floor(ImRect* self); CIMGUI_API bool ImRect_IsInverted(ImRect* self); +CIMGUI_API void ImRect_ToVec4(ImVec4 *pOut,ImRect* self); CIMGUI_API bool igImBitArrayTestBit(const ImU32* arr,int n); CIMGUI_API void igImBitArrayClearBit(ImU32* arr,int n); CIMGUI_API void igImBitArraySetBit(ImU32* arr,int n); @@ -2945,10 +2967,10 @@ CIMGUI_API void igShrinkWidths(ImGuiShrinkWidthItem* items,int count,float width CIMGUI_API void igLogBegin(ImGuiLogType type,int auto_open_depth); CIMGUI_API void igLogToBuffer(int auto_open_depth); CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igOpenPopupEx(ImGuiID id); +CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup); CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup); -CIMGUI_API bool igIsPopupOpenID(ImGuiID id); +CIMGUI_API bool igIsPopupOpenID(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_flags); CIMGUI_API void igBeginTooltipEx(ImGuiWindowFlags extra_flags,ImGuiTooltipFlags tooltip_flags); CIMGUI_API ImGuiWindow* igGetTopMostPopupModal(void); @@ -3012,6 +3034,7 @@ CIMGUI_API void igDockBuilderFinish(ImGuiID node_id); CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect bb,ImGuiID id); CIMGUI_API void igClearDragDrop(void); CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void); +CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect); CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiColumnsFlags flags); CIMGUI_API void igEndColumns(void); CIMGUI_API void igPushColumnClipRect(int column_index); @@ -3058,6 +3081,7 @@ CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags); CIMGUI_API void igScrollbar(ImGuiAxis axis); CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* p_scroll_v,float avail_v,float contents_v,ImDrawCornerFlags 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); CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis); CIMGUI_API ImGuiID igGetWindowScrollbarID(ImGuiWindow* window,ImGuiAxis axis); CIMGUI_API ImGuiID igGetWindowResizeID(ImGuiWindow* window,int n); diff --git a/generator/output/cimgui.cpp b/generator/output/cimgui.cpp index 1e47ddc..39ff379 100644 --- a/generator/output/cimgui.cpp +++ b/generator/output/cimgui.cpp @@ -1,5 +1,5 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.77 WIP" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.77" from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api #include "./imgui/imgui.h" @@ -1049,26 +1049,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); @@ -1077,18 +1061,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); @@ -2057,14 +2057,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); @@ -2097,13 +2089,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) { @@ -2401,6 +2409,10 @@ CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self) { IM_DELETE(self); } +CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self) +{ + *pOut = self->GetCenter(); +} CIMGUI_API void ImGuiViewport_GetWorkPos(ImVec2 *pOut,ImGuiViewport* self) { *pOut = self->GetWorkPos(); @@ -2809,6 +2821,10 @@ 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); @@ -3545,9 +3561,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) { @@ -3557,9 +3573,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) { @@ -3813,6 +3829,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); @@ -3997,6 +4017,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); diff --git a/generator/output/cimgui.h b/generator/output/cimgui.h index 46b95c8..07932e8 100644 --- a/generator/output/cimgui.h +++ b/generator/output/cimgui.h @@ -1,5 +1,5 @@ //This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui -//based on imgui.h file version "1.77 WIP" from Dear ImGui https://github.com/ocornut/imgui +//based on imgui.h file version "1.77" from Dear ImGui https://github.com/ocornut/imgui //with imgui_internal.h api #ifndef CIMGUI_INCLUDED #define CIMGUI_INCLUDED @@ -157,6 +157,7 @@ typedef int ImGuiFocusedFlags; typedef int ImGuiHoveredFlags; typedef int ImGuiInputTextFlags; typedef int ImGuiKeyModFlags; +typedef int ImGuiPopupFlags; typedef int ImGuiSelectableFlags; typedef int ImGuiTabBarFlags; typedef int ImGuiTabItemFlags; @@ -388,6 +389,19 @@ typedef enum { ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 1 << 13, ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog }ImGuiTreeNodeFlags_; +typedef enum { + ImGuiPopupFlags_None = 0, + ImGuiPopupFlags_MouseButtonLeft = 0, + ImGuiPopupFlags_MouseButtonRight = 1, + ImGuiPopupFlags_MouseButtonMiddle = 2, + ImGuiPopupFlags_MouseButtonMask_ = 0x1F, + ImGuiPopupFlags_MouseButtonDefault_ = 1, + ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 5, + ImGuiPopupFlags_NoOpenOverItems = 1 << 6, + ImGuiPopupFlags_AnyPopupId = 1 << 7, + ImGuiPopupFlags_AnyPopupLevel = 1 << 8, + ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel +}ImGuiPopupFlags_; typedef enum { ImGuiSelectableFlags_None = 0, ImGuiSelectableFlags_DontClosePopups = 1 << 0, @@ -425,7 +439,8 @@ typedef enum { ImGuiTabItemFlags_UnsavedDocument = 1 << 0, ImGuiTabItemFlags_SetSelected = 1 << 1, ImGuiTabItemFlags_NoCloseWithMiddleMouseButton = 1 << 2, - ImGuiTabItemFlags_NoPushId = 1 << 3 + ImGuiTabItemFlags_NoPushId = 1 << 3, + ImGuiTabItemFlags_NoTooltip = 1 << 4 }ImGuiTabItemFlags_; typedef enum { ImGuiFocusedFlags_None = 0, @@ -701,6 +716,7 @@ typedef enum { ImGuiMouseCursor_COUNT }ImGuiMouseCursor_; typedef enum { + ImGuiCond_None = 0, ImGuiCond_Always = 1 << 0, ImGuiCond_Once = 1 << 1, ImGuiCond_FirstUseEver = 1 << 2, @@ -832,6 +848,7 @@ struct ImGuiIO float KeysDownDurationPrev[512]; float NavInputsDownDuration[ImGuiNavInput_COUNT]; float NavInputsDownDurationPrev[ImGuiNavInput_COUNT]; + float PenPressure; ImWchar16 InputQueueSurrogate; ImVector_ImWchar InputQueueCharacters; }; @@ -913,11 +930,11 @@ struct ImColor }; struct ImDrawCmd { - unsigned int ElemCount; ImVec4 ClipRect; ImTextureID TextureId; unsigned int VtxOffset; unsigned int IdxOffset; + unsigned int ElemCount; ImDrawCallback UserCallback; void* UserCallbackData; }; @@ -964,13 +981,13 @@ struct ImDrawList ImDrawListFlags Flags; const ImDrawListSharedData* _Data; const char* _OwnerName; - unsigned int _VtxCurrentOffset; unsigned int _VtxCurrentIdx; ImDrawVert* _VtxWritePtr; ImDrawIdx* _IdxWritePtr; ImVector_ImVec4 _ClipRectStack; ImVector_ImTextureID _TextureIdStack; ImVector_ImVec2 _Path; + ImDrawCmd _CmdHeader; ImDrawListSplitter _Splitter; }; struct ImDrawData @@ -1494,7 +1511,8 @@ struct ImGuiColumns float LineMinY, LineMaxY; float HostCursorPosY; float HostCursorMaxPosX; - ImRect HostClipRect; + ImRect HostInitialClipRect; + ImRect HostBackupClipRect; ImRect HostWorkRect; ImVector_ImGuiColumnData Columns; ImDrawListSplitter Splitter; @@ -2322,16 +2340,16 @@ CIMGUI_API void igBeginTooltip(void); CIMGUI_API void igEndTooltip(void); CIMGUI_API void igSetTooltip(const char* fmt,...); CIMGUI_API void igSetTooltipV(const char* fmt,va_list args); -CIMGUI_API void igOpenPopup(const char* str_id); CIMGUI_API bool igBeginPopup(const char* str_id,ImGuiWindowFlags flags); -CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiMouseButton mouse_button); -CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items); -CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiMouseButton mouse_button); CIMGUI_API bool igBeginPopupModal(const char* name,bool* p_open,ImGuiWindowFlags flags); CIMGUI_API void igEndPopup(void); -CIMGUI_API bool igOpenPopupOnItemClick(const char* str_id,ImGuiMouseButton mouse_button); -CIMGUI_API bool igIsPopupOpenStr(const char* str_id); +CIMGUI_API void igOpenPopup(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igOpenPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags); CIMGUI_API void igCloseCurrentPopup(void); +CIMGUI_API bool igBeginPopupContextItem(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igBeginPopupContextWindow(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igBeginPopupContextVoid(const char* str_id,ImGuiPopupFlags popup_flags); +CIMGUI_API bool igIsPopupOpenStr(const char* str_id,ImGuiPopupFlags flags); CIMGUI_API void igColumns(int count,const char* id,bool border); CIMGUI_API void igNextColumn(void); CIMGUI_API int igGetColumnIndex(void); @@ -2574,8 +2592,6 @@ CIMGUI_API ImDrawList* ImDrawList_CloneOutput(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSplit(ImDrawList* self,int count); CIMGUI_API void ImDrawList_ChannelsMerge(ImDrawList* self); CIMGUI_API void ImDrawList_ChannelsSetCurrent(ImDrawList* self,int n); -CIMGUI_API void ImDrawList_Clear(ImDrawList* self); -CIMGUI_API void ImDrawList_ClearFreeMemory(ImDrawList* self); CIMGUI_API void ImDrawList_PrimReserve(ImDrawList* self,int idx_count,int vtx_count); CIMGUI_API void ImDrawList_PrimUnreserve(ImDrawList* self,int idx_count,int vtx_count); CIMGUI_API void ImDrawList_PrimRect(ImDrawList* self,const ImVec2 a,const ImVec2 b,ImU32 col); @@ -2584,8 +2600,12 @@ CIMGUI_API void ImDrawList_PrimQuadUV(ImDrawList* self,const ImVec2 a,const ImVe CIMGUI_API void ImDrawList_PrimWriteVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); CIMGUI_API void ImDrawList_PrimWriteIdx(ImDrawList* self,ImDrawIdx idx); CIMGUI_API void ImDrawList_PrimVtx(ImDrawList* self,const ImVec2 pos,const ImVec2 uv,ImU32 col); -CIMGUI_API void ImDrawList_UpdateClipRect(ImDrawList* self); -CIMGUI_API void ImDrawList_UpdateTextureID(ImDrawList* self); +CIMGUI_API void ImDrawList__ResetForNewFrame(ImDrawList* self); +CIMGUI_API void ImDrawList__ClearFreeMemory(ImDrawList* self); +CIMGUI_API void ImDrawList__PopUnusedDrawCmd(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedClipRect(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedTextureID(ImDrawList* self); +CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self); CIMGUI_API ImDrawData* ImDrawData_ImDrawData(void); CIMGUI_API void ImDrawData_destroy(ImDrawData* self); CIMGUI_API void ImDrawData_Clear(ImDrawData* self); @@ -2660,6 +2680,7 @@ CIMGUI_API ImGuiPlatformMonitor* ImGuiPlatformMonitor_ImGuiPlatformMonitor(void) CIMGUI_API void ImGuiPlatformMonitor_destroy(ImGuiPlatformMonitor* self); CIMGUI_API ImGuiViewport* ImGuiViewport_ImGuiViewport(void); CIMGUI_API void ImGuiViewport_destroy(ImGuiViewport* self); +CIMGUI_API void ImGuiViewport_GetCenter(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API void ImGuiViewport_GetWorkPos(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API void ImGuiViewport_GetWorkSize(ImVec2 *pOut,ImGuiViewport* self); CIMGUI_API ImU32 igImHashData(const void* data,size_t data_size,ImU32 seed); @@ -2761,6 +2782,7 @@ CIMGUI_API void ImRect_ClipWith(ImRect* self,const ImRect r); CIMGUI_API void ImRect_ClipWithFull(ImRect* self,const ImRect r); CIMGUI_API void ImRect_Floor(ImRect* self); CIMGUI_API bool ImRect_IsInverted(ImRect* self); +CIMGUI_API void ImRect_ToVec4(ImVec4 *pOut,ImRect* self); CIMGUI_API bool igImBitArrayTestBit(const ImU32* arr,int n); CIMGUI_API void igImBitArrayClearBit(ImU32* arr,int n); CIMGUI_API void igImBitArraySetBit(ImU32* arr,int n); @@ -2945,10 +2967,10 @@ CIMGUI_API void igShrinkWidths(ImGuiShrinkWidthItem* items,int count,float width CIMGUI_API void igLogBegin(ImGuiLogType type,int auto_open_depth); CIMGUI_API void igLogToBuffer(int auto_open_depth); CIMGUI_API bool igBeginChildEx(const char* name,ImGuiID id,const ImVec2 size_arg,bool border,ImGuiWindowFlags flags); -CIMGUI_API void igOpenPopupEx(ImGuiID id); +CIMGUI_API void igOpenPopupEx(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API void igClosePopupToLevel(int remaining,bool restore_focus_to_window_under_popup); CIMGUI_API void igClosePopupsOverWindow(ImGuiWindow* ref_window,bool restore_focus_to_window_under_popup); -CIMGUI_API bool igIsPopupOpenID(ImGuiID id); +CIMGUI_API bool igIsPopupOpenID(ImGuiID id,ImGuiPopupFlags popup_flags); CIMGUI_API bool igBeginPopupEx(ImGuiID id,ImGuiWindowFlags extra_flags); CIMGUI_API void igBeginTooltipEx(ImGuiWindowFlags extra_flags,ImGuiTooltipFlags tooltip_flags); CIMGUI_API ImGuiWindow* igGetTopMostPopupModal(void); @@ -3012,6 +3034,7 @@ CIMGUI_API void igDockBuilderFinish(ImGuiID node_id); CIMGUI_API bool igBeginDragDropTargetCustom(const ImRect bb,ImGuiID id); CIMGUI_API void igClearDragDrop(void); CIMGUI_API bool igIsDragDropPayloadBeingAccepted(void); +CIMGUI_API void igSetWindowClipRectBeforeSetChannel(ImGuiWindow* window,const ImRect clip_rect); CIMGUI_API void igBeginColumns(const char* str_id,int count,ImGuiColumnsFlags flags); CIMGUI_API void igEndColumns(void); CIMGUI_API void igPushColumnClipRect(int column_index); @@ -3058,6 +3081,7 @@ CIMGUI_API bool igCollapseButton(ImGuiID id,const ImVec2 pos,ImGuiDockNode* dock CIMGUI_API bool igArrowButtonEx(const char* str_id,ImGuiDir dir,ImVec2 size_arg,ImGuiButtonFlags flags); CIMGUI_API void igScrollbar(ImGuiAxis axis); CIMGUI_API bool igScrollbarEx(const ImRect bb,ImGuiID id,ImGuiAxis axis,float* p_scroll_v,float avail_v,float contents_v,ImDrawCornerFlags 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); CIMGUI_API void igGetWindowScrollbarRect(ImRect *pOut,ImGuiWindow* window,ImGuiAxis axis); CIMGUI_API ImGuiID igGetWindowScrollbarID(ImGuiWindow* window,ImGuiAxis axis); CIMGUI_API ImGuiID igGetWindowResizeID(ImGuiWindow* window,int n); diff --git a/generator/output/definitions.json b/generator/output/definitions.json index d759be6..fdeffd2 100644 --- a/generator/output/definitions.json +++ b/generator/output/definitions.json @@ -2021,48 +2021,6 @@ "stname": "ImDrawList" } ], - "ImDrawList_Clear": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_Clear", - "defaults": [], - "funcname": "Clear", - "location": "imgui", - "ov_cimguiname": "ImDrawList_Clear", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], - "ImDrawList_ClearFreeMemory": [ - { - "args": "(ImDrawList* self)", - "argsT": [ - { - "name": "self", - "type": "ImDrawList*" - } - ], - "argsoriginal": "()", - "call_args": "()", - "cimguiname": "ImDrawList_ClearFreeMemory", - "defaults": [], - "funcname": "ClearFreeMemory", - "location": "imgui", - "ov_cimguiname": "ImDrawList_ClearFreeMemory", - "ret": "void", - "signature": "()", - "stname": "ImDrawList" - } - ], "ImDrawList_CloneOutput": [ { "args": "(ImDrawList* self)", @@ -2850,7 +2808,7 @@ "stname": "ImDrawList" } ], - "ImDrawList_UpdateClipRect": [ + "ImDrawList__ClearFreeMemory": [ { "args": "(ImDrawList* self)", "argsT": [ @@ -2861,17 +2819,17 @@ ], "argsoriginal": "()", "call_args": "()", - "cimguiname": "ImDrawList_UpdateClipRect", + "cimguiname": "ImDrawList__ClearFreeMemory", "defaults": [], - "funcname": "UpdateClipRect", + "funcname": "_ClearFreeMemory", "location": "imgui", - "ov_cimguiname": "ImDrawList_UpdateClipRect", + "ov_cimguiname": "ImDrawList__ClearFreeMemory", "ret": "void", "signature": "()", "stname": "ImDrawList" } ], - "ImDrawList_UpdateTextureID": [ + "ImDrawList__OnChangedClipRect": [ { "args": "(ImDrawList* self)", "argsT": [ @@ -2882,11 +2840,95 @@ ], "argsoriginal": "()", "call_args": "()", - "cimguiname": "ImDrawList_UpdateTextureID", + "cimguiname": "ImDrawList__OnChangedClipRect", "defaults": [], - "funcname": "UpdateTextureID", + "funcname": "_OnChangedClipRect", "location": "imgui", - "ov_cimguiname": "ImDrawList_UpdateTextureID", + "ov_cimguiname": "ImDrawList__OnChangedClipRect", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__OnChangedTextureID": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__OnChangedTextureID", + "defaults": [], + "funcname": "_OnChangedTextureID", + "location": "imgui", + "ov_cimguiname": "ImDrawList__OnChangedTextureID", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__OnChangedVtxOffset": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__OnChangedVtxOffset", + "defaults": [], + "funcname": "_OnChangedVtxOffset", + "location": "imgui", + "ov_cimguiname": "ImDrawList__OnChangedVtxOffset", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__PopUnusedDrawCmd": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__PopUnusedDrawCmd", + "defaults": [], + "funcname": "_PopUnusedDrawCmd", + "location": "imgui", + "ov_cimguiname": "ImDrawList__PopUnusedDrawCmd", + "ret": "void", + "signature": "()", + "stname": "ImDrawList" + } + ], + "ImDrawList__ResetForNewFrame": [ + { + "args": "(ImDrawList* self)", + "argsT": [ + { + "name": "self", + "type": "ImDrawList*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImDrawList__ResetForNewFrame", + "defaults": [], + "funcname": "_ResetForNewFrame", + "location": "imgui", + "ov_cimguiname": "ImDrawList__ResetForNewFrame", "ret": "void", "signature": "()", "stname": "ImDrawList" @@ -7866,6 +7908,32 @@ "stname": "ImGuiViewportP" } ], + "ImGuiViewport_GetCenter": [ + { + "args": "(ImVec2 *pOut,ImGuiViewport* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec2*" + }, + { + "name": "self", + "type": "ImGuiViewport*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImGuiViewport_GetCenter", + "defaults": [], + "funcname": "GetCenter", + "location": "imgui", + "nonUDT": 1, + "ov_cimguiname": "ImGuiViewport_GetCenter", + "ret": "void", + "signature": "()", + "stname": "ImGuiViewport" + } + ], "ImGuiViewport_GetWorkPos": [ { "args": "(ImVec2 *pOut,ImGuiViewport* self)", @@ -9308,6 +9376,32 @@ "stname": "ImRect" } ], + "ImRect_ToVec4": [ + { + "args": "(ImVec4 *pOut,ImRect* self)", + "argsT": [ + { + "name": "pOut", + "type": "ImVec4*" + }, + { + "name": "self", + "type": "ImRect*" + } + ], + "argsoriginal": "()", + "call_args": "()", + "cimguiname": "ImRect_ToVec4", + "defaults": [], + "funcname": "ToVec4", + "location": "internal", + "nonUDT": 1, + "ov_cimguiname": "ImRect_ToVec4", + "ret": "void", + "signature": "()const", + "stname": "ImRect" + } + ], "ImRect_Translate": [ { "args": "(ImRect* self,const ImVec2 d)", @@ -11110,22 +11204,22 @@ ], "igBeginPopupContextItem": [ { - "args": "(const char* str_id,ImGuiMouseButton mouse_button)", + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", "argsT": [ { "name": "str_id", "type": "const char*" }, { - "name": "mouse_button", - "type": "ImGuiMouseButton" + "name": "popup_flags", + "type": "ImGuiPopupFlags" } ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)", - "call_args": "(str_id,mouse_button)", + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", "cimguiname": "igBeginPopupContextItem", "defaults": { - "mouse_button": "1", + "popup_flags": "1", "str_id": "((void*)0)" }, "funcname": "BeginPopupContextItem", @@ -11133,28 +11227,28 @@ "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextItem", "ret": "bool", - "signature": "(const char*,ImGuiMouseButton)", + "signature": "(const char*,ImGuiPopupFlags)", "stname": "" } ], "igBeginPopupContextVoid": [ { - "args": "(const char* str_id,ImGuiMouseButton mouse_button)", + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", "argsT": [ { "name": "str_id", "type": "const char*" }, { - "name": "mouse_button", - "type": "ImGuiMouseButton" + "name": "popup_flags", + "type": "ImGuiPopupFlags" } ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)", - "call_args": "(str_id,mouse_button)", + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", "cimguiname": "igBeginPopupContextVoid", "defaults": { - "mouse_button": "1", + "popup_flags": "1", "str_id": "((void*)0)" }, "funcname": "BeginPopupContextVoid", @@ -11162,33 +11256,28 @@ "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextVoid", "ret": "bool", - "signature": "(const char*,ImGuiMouseButton)", + "signature": "(const char*,ImGuiPopupFlags)", "stname": "" } ], "igBeginPopupContextWindow": [ { - "args": "(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items)", + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", "argsT": [ { "name": "str_id", "type": "const char*" }, { - "name": "mouse_button", - "type": "ImGuiMouseButton" - }, - { - "name": "also_over_items", - "type": "bool" + "name": "popup_flags", + "type": "ImGuiPopupFlags" } ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1,bool also_over_items=true)", - "call_args": "(str_id,mouse_button,also_over_items)", + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", "cimguiname": "igBeginPopupContextWindow", "defaults": { - "also_over_items": "true", - "mouse_button": "1", + "popup_flags": "1", "str_id": "((void*)0)" }, "funcname": "BeginPopupContextWindow", @@ -11196,7 +11285,7 @@ "namespace": "ImGui", "ov_cimguiname": "igBeginPopupContextWindow", "ret": "bool", - "signature": "(const char*,ImGuiMouseButton,bool)", + "signature": "(const char*,ImGuiPopupFlags)", "stname": "" } ], @@ -19418,6 +19507,56 @@ "stname": "" } ], + "igImageButtonEx": [ + { + "args": "(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)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "texture_id", + "type": "ImTextureID" + }, + { + "name": "size", + "type": "const ImVec2" + }, + { + "name": "uv0", + "type": "const ImVec2" + }, + { + "name": "uv1", + "type": "const ImVec2" + }, + { + "name": "padding", + "type": "const ImVec2" + }, + { + "name": "bg_col", + "type": "const ImVec4" + }, + { + "name": "tint_col", + "type": "const ImVec4" + } + ], + "argsoriginal": "(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)", + "call_args": "(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col)", + "cimguiname": "igImageButtonEx", + "defaults": [], + "funcname": "ImageButtonEx", + "location": "internal", + "namespace": "ImGui", + "ov_cimguiname": "igImageButtonEx", + "ret": "bool", + "signature": "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)", + "stname": "" + } + ], "igIndent": [ { "args": "(float indent_w)", @@ -20877,35 +21016,45 @@ ], "igIsPopupOpen": [ { - "args": "(const char* str_id)", + "args": "(const char* str_id,ImGuiPopupFlags flags)", "argsT": [ { "name": "str_id", "type": "const char*" + }, + { + "name": "flags", + "type": "ImGuiPopupFlags" } ], - "argsoriginal": "(const char* str_id)", - "call_args": "(str_id)", + "argsoriginal": "(const char* str_id,ImGuiPopupFlags flags=0)", + "call_args": "(str_id,flags)", "cimguiname": "igIsPopupOpen", - "defaults": [], + "defaults": { + "flags": "0" + }, "funcname": "IsPopupOpen", "location": "imgui", "namespace": "ImGui", "ov_cimguiname": "igIsPopupOpenStr", "ret": "bool", - "signature": "(const char*)", + "signature": "(const char*,ImGuiPopupFlags)", "stname": "" }, { - "args": "(ImGuiID id)", + "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", "argsT": [ { "name": "id", "type": "ImGuiID" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" } ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", + "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags)", + "call_args": "(id,popup_flags)", "cimguiname": "igIsPopupOpen", "defaults": [], "funcname": "IsPopupOpen", @@ -20913,7 +21062,7 @@ "namespace": "ImGui", "ov_cimguiname": "igIsPopupOpenID", "ret": "bool", - "signature": "(ImGuiID)", + "signature": "(ImGuiID,ImGuiPopupFlags)", "stname": "" } ], @@ -22083,74 +22232,86 @@ ], "igOpenPopup": [ { - "args": "(const char* str_id)", - "argsT": [ - { - "name": "str_id", - "type": "const char*" - } - ], - "argsoriginal": "(const char* str_id)", - "call_args": "(str_id)", - "cimguiname": "igOpenPopup", - "defaults": [], - "funcname": "OpenPopup", - "location": "imgui", - "namespace": "ImGui", - "ov_cimguiname": "igOpenPopup", - "ret": "void", - "signature": "(const char*)", - "stname": "" - } - ], - "igOpenPopupEx": [ - { - "args": "(ImGuiID id)", - "argsT": [ - { - "name": "id", - "type": "ImGuiID" - } - ], - "argsoriginal": "(ImGuiID id)", - "call_args": "(id)", - "cimguiname": "igOpenPopupEx", - "defaults": [], - "funcname": "OpenPopupEx", - "location": "internal", - "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupEx", - "ret": "void", - "signature": "(ImGuiID)", - "stname": "" - } - ], - "igOpenPopupOnItemClick": [ - { - "args": "(const char* str_id,ImGuiMouseButton mouse_button)", + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", "argsT": [ { "name": "str_id", "type": "const char*" }, { - "name": "mouse_button", - "type": "ImGuiMouseButton" + "name": "popup_flags", + "type": "ImGuiPopupFlags" } ], - "argsoriginal": "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)", - "call_args": "(str_id,mouse_button)", - "cimguiname": "igOpenPopupOnItemClick", + "argsoriginal": "(const char* str_id,ImGuiPopupFlags popup_flags=0)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igOpenPopup", "defaults": { - "mouse_button": "1", - "str_id": "((void*)0)" + "popup_flags": "0" }, - "funcname": "OpenPopupOnItemClick", + "funcname": "OpenPopup", "location": "imgui", "namespace": "ImGui", - "ov_cimguiname": "igOpenPopupOnItemClick", + "ov_cimguiname": "igOpenPopup", + "ret": "void", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + } + ], + "igOpenPopupContextItem": [ + { + "args": "(const char* str_id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "str_id", + "type": "const char*" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)", + "call_args": "(str_id,popup_flags)", + "cimguiname": "igOpenPopupContextItem", + "defaults": { + "popup_flags": "1", + "str_id": "((void*)0)" + }, + "funcname": "OpenPopupContextItem", + "location": "imgui", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopupContextItem", "ret": "bool", - "signature": "(const char*,ImGuiMouseButton)", + "signature": "(const char*,ImGuiPopupFlags)", + "stname": "" + } + ], + "igOpenPopupEx": [ + { + "args": "(ImGuiID id,ImGuiPopupFlags popup_flags)", + "argsT": [ + { + "name": "id", + "type": "ImGuiID" + }, + { + "name": "popup_flags", + "type": "ImGuiPopupFlags" + } + ], + "argsoriginal": "(ImGuiID id,ImGuiPopupFlags popup_flags=ImGuiPopupFlags_None)", + "call_args": "(id,popup_flags)", + "cimguiname": "igOpenPopupEx", + "defaults": { + "popup_flags": "ImGuiPopupFlags_None" + }, + "funcname": "OpenPopupEx", + "location": "internal", + "namespace": "ImGui", + "ov_cimguiname": "igOpenPopupEx", + "ret": "void", + "signature": "(ImGuiID,ImGuiPopupFlags)", "stname": "" } ], @@ -25490,6 +25651,32 @@ "stname": "" } ], + "igSetWindowClipRectBeforeSetChannel": [ + { + "args": "(ImGuiWindow* window,const ImRect clip_rect)", + "argsT": [ + { + "name": "window", + "type": "ImGuiWindow*" + }, + { + "name": "clip_rect", + "type": "const ImRect" + } + ], + "argsoriginal": "(ImGuiWindow* window,const ImRect& clip_rect)", + "call_args": "(window,clip_rect)", + "cimguiname": "igSetWindowClipRectBeforeSetChannel", + "defaults": [], + "funcname": "SetWindowClipRectBeforeSetChannel", + "location": "internal", + "namespace": "ImGui", + "ov_cimguiname": "igSetWindowClipRectBeforeSetChannel", + "ret": "void", + "signature": "(ImGuiWindow*,const ImRect)", + "stname": "" + } + ], "igSetWindowCollapsed": [ { "args": "(bool collapsed,ImGuiCond cond)", diff --git a/generator/output/definitions.lua b/generator/output/definitions.lua index 8262f80..5929536 100644 --- a/generator/output/definitions.lua +++ b/generator/output/definitions.lua @@ -1669,42 +1669,6 @@ defs["ImDrawList_ChannelsSplit"][1]["ret"] = "void" defs["ImDrawList_ChannelsSplit"][1]["signature"] = "(int)" defs["ImDrawList_ChannelsSplit"][1]["stname"] = "ImDrawList" defs["ImDrawList_ChannelsSplit"]["(int)"] = defs["ImDrawList_ChannelsSplit"][1] -defs["ImDrawList_Clear"] = {} -defs["ImDrawList_Clear"][1] = {} -defs["ImDrawList_Clear"][1]["args"] = "(ImDrawList* self)" -defs["ImDrawList_Clear"][1]["argsT"] = {} -defs["ImDrawList_Clear"][1]["argsT"][1] = {} -defs["ImDrawList_Clear"][1]["argsT"][1]["name"] = "self" -defs["ImDrawList_Clear"][1]["argsT"][1]["type"] = "ImDrawList*" -defs["ImDrawList_Clear"][1]["argsoriginal"] = "()" -defs["ImDrawList_Clear"][1]["call_args"] = "()" -defs["ImDrawList_Clear"][1]["cimguiname"] = "ImDrawList_Clear" -defs["ImDrawList_Clear"][1]["defaults"] = {} -defs["ImDrawList_Clear"][1]["funcname"] = "Clear" -defs["ImDrawList_Clear"][1]["location"] = "imgui" -defs["ImDrawList_Clear"][1]["ov_cimguiname"] = "ImDrawList_Clear" -defs["ImDrawList_Clear"][1]["ret"] = "void" -defs["ImDrawList_Clear"][1]["signature"] = "()" -defs["ImDrawList_Clear"][1]["stname"] = "ImDrawList" -defs["ImDrawList_Clear"]["()"] = defs["ImDrawList_Clear"][1] -defs["ImDrawList_ClearFreeMemory"] = {} -defs["ImDrawList_ClearFreeMemory"][1] = {} -defs["ImDrawList_ClearFreeMemory"][1]["args"] = "(ImDrawList* self)" -defs["ImDrawList_ClearFreeMemory"][1]["argsT"] = {} -defs["ImDrawList_ClearFreeMemory"][1]["argsT"][1] = {} -defs["ImDrawList_ClearFreeMemory"][1]["argsT"][1]["name"] = "self" -defs["ImDrawList_ClearFreeMemory"][1]["argsT"][1]["type"] = "ImDrawList*" -defs["ImDrawList_ClearFreeMemory"][1]["argsoriginal"] = "()" -defs["ImDrawList_ClearFreeMemory"][1]["call_args"] = "()" -defs["ImDrawList_ClearFreeMemory"][1]["cimguiname"] = "ImDrawList_ClearFreeMemory" -defs["ImDrawList_ClearFreeMemory"][1]["defaults"] = {} -defs["ImDrawList_ClearFreeMemory"][1]["funcname"] = "ClearFreeMemory" -defs["ImDrawList_ClearFreeMemory"][1]["location"] = "imgui" -defs["ImDrawList_ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawList_ClearFreeMemory" -defs["ImDrawList_ClearFreeMemory"][1]["ret"] = "void" -defs["ImDrawList_ClearFreeMemory"][1]["signature"] = "()" -defs["ImDrawList_ClearFreeMemory"][1]["stname"] = "ImDrawList" -defs["ImDrawList_ClearFreeMemory"]["()"] = defs["ImDrawList_ClearFreeMemory"][1] defs["ImDrawList_CloneOutput"] = {} defs["ImDrawList_CloneOutput"][1] = {} defs["ImDrawList_CloneOutput"][1]["args"] = "(ImDrawList* self)" @@ -2352,42 +2316,114 @@ defs["ImDrawList_PushTextureID"][1]["ret"] = "void" defs["ImDrawList_PushTextureID"][1]["signature"] = "(ImTextureID)" defs["ImDrawList_PushTextureID"][1]["stname"] = "ImDrawList" defs["ImDrawList_PushTextureID"]["(ImTextureID)"] = defs["ImDrawList_PushTextureID"][1] -defs["ImDrawList_UpdateClipRect"] = {} -defs["ImDrawList_UpdateClipRect"][1] = {} -defs["ImDrawList_UpdateClipRect"][1]["args"] = "(ImDrawList* self)" -defs["ImDrawList_UpdateClipRect"][1]["argsT"] = {} -defs["ImDrawList_UpdateClipRect"][1]["argsT"][1] = {} -defs["ImDrawList_UpdateClipRect"][1]["argsT"][1]["name"] = "self" -defs["ImDrawList_UpdateClipRect"][1]["argsT"][1]["type"] = "ImDrawList*" -defs["ImDrawList_UpdateClipRect"][1]["argsoriginal"] = "()" -defs["ImDrawList_UpdateClipRect"][1]["call_args"] = "()" -defs["ImDrawList_UpdateClipRect"][1]["cimguiname"] = "ImDrawList_UpdateClipRect" -defs["ImDrawList_UpdateClipRect"][1]["defaults"] = {} -defs["ImDrawList_UpdateClipRect"][1]["funcname"] = "UpdateClipRect" -defs["ImDrawList_UpdateClipRect"][1]["location"] = "imgui" -defs["ImDrawList_UpdateClipRect"][1]["ov_cimguiname"] = "ImDrawList_UpdateClipRect" -defs["ImDrawList_UpdateClipRect"][1]["ret"] = "void" -defs["ImDrawList_UpdateClipRect"][1]["signature"] = "()" -defs["ImDrawList_UpdateClipRect"][1]["stname"] = "ImDrawList" -defs["ImDrawList_UpdateClipRect"]["()"] = defs["ImDrawList_UpdateClipRect"][1] -defs["ImDrawList_UpdateTextureID"] = {} -defs["ImDrawList_UpdateTextureID"][1] = {} -defs["ImDrawList_UpdateTextureID"][1]["args"] = "(ImDrawList* self)" -defs["ImDrawList_UpdateTextureID"][1]["argsT"] = {} -defs["ImDrawList_UpdateTextureID"][1]["argsT"][1] = {} -defs["ImDrawList_UpdateTextureID"][1]["argsT"][1]["name"] = "self" -defs["ImDrawList_UpdateTextureID"][1]["argsT"][1]["type"] = "ImDrawList*" -defs["ImDrawList_UpdateTextureID"][1]["argsoriginal"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["call_args"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["cimguiname"] = "ImDrawList_UpdateTextureID" -defs["ImDrawList_UpdateTextureID"][1]["defaults"] = {} -defs["ImDrawList_UpdateTextureID"][1]["funcname"] = "UpdateTextureID" -defs["ImDrawList_UpdateTextureID"][1]["location"] = "imgui" -defs["ImDrawList_UpdateTextureID"][1]["ov_cimguiname"] = "ImDrawList_UpdateTextureID" -defs["ImDrawList_UpdateTextureID"][1]["ret"] = "void" -defs["ImDrawList_UpdateTextureID"][1]["signature"] = "()" -defs["ImDrawList_UpdateTextureID"][1]["stname"] = "ImDrawList" -defs["ImDrawList_UpdateTextureID"]["()"] = defs["ImDrawList_UpdateTextureID"][1] +defs["ImDrawList__ClearFreeMemory"] = {} +defs["ImDrawList__ClearFreeMemory"][1] = {} +defs["ImDrawList__ClearFreeMemory"][1]["args"] = "(ImDrawList* self)" +defs["ImDrawList__ClearFreeMemory"][1]["argsT"] = {} +defs["ImDrawList__ClearFreeMemory"][1]["argsT"][1] = {} +defs["ImDrawList__ClearFreeMemory"][1]["argsT"][1]["name"] = "self" +defs["ImDrawList__ClearFreeMemory"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImDrawList__ClearFreeMemory"][1]["argsoriginal"] = "()" +defs["ImDrawList__ClearFreeMemory"][1]["call_args"] = "()" +defs["ImDrawList__ClearFreeMemory"][1]["cimguiname"] = "ImDrawList__ClearFreeMemory" +defs["ImDrawList__ClearFreeMemory"][1]["defaults"] = {} +defs["ImDrawList__ClearFreeMemory"][1]["funcname"] = "_ClearFreeMemory" +defs["ImDrawList__ClearFreeMemory"][1]["location"] = "imgui" +defs["ImDrawList__ClearFreeMemory"][1]["ov_cimguiname"] = "ImDrawList__ClearFreeMemory" +defs["ImDrawList__ClearFreeMemory"][1]["ret"] = "void" +defs["ImDrawList__ClearFreeMemory"][1]["signature"] = "()" +defs["ImDrawList__ClearFreeMemory"][1]["stname"] = "ImDrawList" +defs["ImDrawList__ClearFreeMemory"]["()"] = defs["ImDrawList__ClearFreeMemory"][1] +defs["ImDrawList__OnChangedClipRect"] = {} +defs["ImDrawList__OnChangedClipRect"][1] = {} +defs["ImDrawList__OnChangedClipRect"][1]["args"] = "(ImDrawList* self)" +defs["ImDrawList__OnChangedClipRect"][1]["argsT"] = {} +defs["ImDrawList__OnChangedClipRect"][1]["argsT"][1] = {} +defs["ImDrawList__OnChangedClipRect"][1]["argsT"][1]["name"] = "self" +defs["ImDrawList__OnChangedClipRect"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImDrawList__OnChangedClipRect"][1]["argsoriginal"] = "()" +defs["ImDrawList__OnChangedClipRect"][1]["call_args"] = "()" +defs["ImDrawList__OnChangedClipRect"][1]["cimguiname"] = "ImDrawList__OnChangedClipRect" +defs["ImDrawList__OnChangedClipRect"][1]["defaults"] = {} +defs["ImDrawList__OnChangedClipRect"][1]["funcname"] = "_OnChangedClipRect" +defs["ImDrawList__OnChangedClipRect"][1]["location"] = "imgui" +defs["ImDrawList__OnChangedClipRect"][1]["ov_cimguiname"] = "ImDrawList__OnChangedClipRect" +defs["ImDrawList__OnChangedClipRect"][1]["ret"] = "void" +defs["ImDrawList__OnChangedClipRect"][1]["signature"] = "()" +defs["ImDrawList__OnChangedClipRect"][1]["stname"] = "ImDrawList" +defs["ImDrawList__OnChangedClipRect"]["()"] = defs["ImDrawList__OnChangedClipRect"][1] +defs["ImDrawList__OnChangedTextureID"] = {} +defs["ImDrawList__OnChangedTextureID"][1] = {} +defs["ImDrawList__OnChangedTextureID"][1]["args"] = "(ImDrawList* self)" +defs["ImDrawList__OnChangedTextureID"][1]["argsT"] = {} +defs["ImDrawList__OnChangedTextureID"][1]["argsT"][1] = {} +defs["ImDrawList__OnChangedTextureID"][1]["argsT"][1]["name"] = "self" +defs["ImDrawList__OnChangedTextureID"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImDrawList__OnChangedTextureID"][1]["argsoriginal"] = "()" +defs["ImDrawList__OnChangedTextureID"][1]["call_args"] = "()" +defs["ImDrawList__OnChangedTextureID"][1]["cimguiname"] = "ImDrawList__OnChangedTextureID" +defs["ImDrawList__OnChangedTextureID"][1]["defaults"] = {} +defs["ImDrawList__OnChangedTextureID"][1]["funcname"] = "_OnChangedTextureID" +defs["ImDrawList__OnChangedTextureID"][1]["location"] = "imgui" +defs["ImDrawList__OnChangedTextureID"][1]["ov_cimguiname"] = "ImDrawList__OnChangedTextureID" +defs["ImDrawList__OnChangedTextureID"][1]["ret"] = "void" +defs["ImDrawList__OnChangedTextureID"][1]["signature"] = "()" +defs["ImDrawList__OnChangedTextureID"][1]["stname"] = "ImDrawList" +defs["ImDrawList__OnChangedTextureID"]["()"] = defs["ImDrawList__OnChangedTextureID"][1] +defs["ImDrawList__OnChangedVtxOffset"] = {} +defs["ImDrawList__OnChangedVtxOffset"][1] = {} +defs["ImDrawList__OnChangedVtxOffset"][1]["args"] = "(ImDrawList* self)" +defs["ImDrawList__OnChangedVtxOffset"][1]["argsT"] = {} +defs["ImDrawList__OnChangedVtxOffset"][1]["argsT"][1] = {} +defs["ImDrawList__OnChangedVtxOffset"][1]["argsT"][1]["name"] = "self" +defs["ImDrawList__OnChangedVtxOffset"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImDrawList__OnChangedVtxOffset"][1]["argsoriginal"] = "()" +defs["ImDrawList__OnChangedVtxOffset"][1]["call_args"] = "()" +defs["ImDrawList__OnChangedVtxOffset"][1]["cimguiname"] = "ImDrawList__OnChangedVtxOffset" +defs["ImDrawList__OnChangedVtxOffset"][1]["defaults"] = {} +defs["ImDrawList__OnChangedVtxOffset"][1]["funcname"] = "_OnChangedVtxOffset" +defs["ImDrawList__OnChangedVtxOffset"][1]["location"] = "imgui" +defs["ImDrawList__OnChangedVtxOffset"][1]["ov_cimguiname"] = "ImDrawList__OnChangedVtxOffset" +defs["ImDrawList__OnChangedVtxOffset"][1]["ret"] = "void" +defs["ImDrawList__OnChangedVtxOffset"][1]["signature"] = "()" +defs["ImDrawList__OnChangedVtxOffset"][1]["stname"] = "ImDrawList" +defs["ImDrawList__OnChangedVtxOffset"]["()"] = defs["ImDrawList__OnChangedVtxOffset"][1] +defs["ImDrawList__PopUnusedDrawCmd"] = {} +defs["ImDrawList__PopUnusedDrawCmd"][1] = {} +defs["ImDrawList__PopUnusedDrawCmd"][1]["args"] = "(ImDrawList* self)" +defs["ImDrawList__PopUnusedDrawCmd"][1]["argsT"] = {} +defs["ImDrawList__PopUnusedDrawCmd"][1]["argsT"][1] = {} +defs["ImDrawList__PopUnusedDrawCmd"][1]["argsT"][1]["name"] = "self" +defs["ImDrawList__PopUnusedDrawCmd"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImDrawList__PopUnusedDrawCmd"][1]["argsoriginal"] = "()" +defs["ImDrawList__PopUnusedDrawCmd"][1]["call_args"] = "()" +defs["ImDrawList__PopUnusedDrawCmd"][1]["cimguiname"] = "ImDrawList__PopUnusedDrawCmd" +defs["ImDrawList__PopUnusedDrawCmd"][1]["defaults"] = {} +defs["ImDrawList__PopUnusedDrawCmd"][1]["funcname"] = "_PopUnusedDrawCmd" +defs["ImDrawList__PopUnusedDrawCmd"][1]["location"] = "imgui" +defs["ImDrawList__PopUnusedDrawCmd"][1]["ov_cimguiname"] = "ImDrawList__PopUnusedDrawCmd" +defs["ImDrawList__PopUnusedDrawCmd"][1]["ret"] = "void" +defs["ImDrawList__PopUnusedDrawCmd"][1]["signature"] = "()" +defs["ImDrawList__PopUnusedDrawCmd"][1]["stname"] = "ImDrawList" +defs["ImDrawList__PopUnusedDrawCmd"]["()"] = defs["ImDrawList__PopUnusedDrawCmd"][1] +defs["ImDrawList__ResetForNewFrame"] = {} +defs["ImDrawList__ResetForNewFrame"][1] = {} +defs["ImDrawList__ResetForNewFrame"][1]["args"] = "(ImDrawList* self)" +defs["ImDrawList__ResetForNewFrame"][1]["argsT"] = {} +defs["ImDrawList__ResetForNewFrame"][1]["argsT"][1] = {} +defs["ImDrawList__ResetForNewFrame"][1]["argsT"][1]["name"] = "self" +defs["ImDrawList__ResetForNewFrame"][1]["argsT"][1]["type"] = "ImDrawList*" +defs["ImDrawList__ResetForNewFrame"][1]["argsoriginal"] = "()" +defs["ImDrawList__ResetForNewFrame"][1]["call_args"] = "()" +defs["ImDrawList__ResetForNewFrame"][1]["cimguiname"] = "ImDrawList__ResetForNewFrame" +defs["ImDrawList__ResetForNewFrame"][1]["defaults"] = {} +defs["ImDrawList__ResetForNewFrame"][1]["funcname"] = "_ResetForNewFrame" +defs["ImDrawList__ResetForNewFrame"][1]["location"] = "imgui" +defs["ImDrawList__ResetForNewFrame"][1]["ov_cimguiname"] = "ImDrawList__ResetForNewFrame" +defs["ImDrawList__ResetForNewFrame"][1]["ret"] = "void" +defs["ImDrawList__ResetForNewFrame"][1]["signature"] = "()" +defs["ImDrawList__ResetForNewFrame"][1]["stname"] = "ImDrawList" +defs["ImDrawList__ResetForNewFrame"]["()"] = defs["ImDrawList__ResetForNewFrame"][1] defs["ImDrawList_destroy"] = {} defs["ImDrawList_destroy"][1] = {} defs["ImDrawList_destroy"][1]["args"] = "(ImDrawList* self)" @@ -6592,6 +6628,28 @@ defs["ImGuiViewportP_destroy"][1]["ret"] = "void" defs["ImGuiViewportP_destroy"][1]["signature"] = "(ImGuiViewportP*)" defs["ImGuiViewportP_destroy"][1]["stname"] = "ImGuiViewportP" defs["ImGuiViewportP_destroy"]["(ImGuiViewportP*)"] = defs["ImGuiViewportP_destroy"][1] +defs["ImGuiViewport_GetCenter"] = {} +defs["ImGuiViewport_GetCenter"][1] = {} +defs["ImGuiViewport_GetCenter"][1]["args"] = "(ImVec2 *pOut,ImGuiViewport* self)" +defs["ImGuiViewport_GetCenter"][1]["argsT"] = {} +defs["ImGuiViewport_GetCenter"][1]["argsT"][1] = {} +defs["ImGuiViewport_GetCenter"][1]["argsT"][1]["name"] = "pOut" +defs["ImGuiViewport_GetCenter"][1]["argsT"][1]["type"] = "ImVec2*" +defs["ImGuiViewport_GetCenter"][1]["argsT"][2] = {} +defs["ImGuiViewport_GetCenter"][1]["argsT"][2]["name"] = "self" +defs["ImGuiViewport_GetCenter"][1]["argsT"][2]["type"] = "ImGuiViewport*" +defs["ImGuiViewport_GetCenter"][1]["argsoriginal"] = "()" +defs["ImGuiViewport_GetCenter"][1]["call_args"] = "()" +defs["ImGuiViewport_GetCenter"][1]["cimguiname"] = "ImGuiViewport_GetCenter" +defs["ImGuiViewport_GetCenter"][1]["defaults"] = {} +defs["ImGuiViewport_GetCenter"][1]["funcname"] = "GetCenter" +defs["ImGuiViewport_GetCenter"][1]["location"] = "imgui" +defs["ImGuiViewport_GetCenter"][1]["nonUDT"] = 1 +defs["ImGuiViewport_GetCenter"][1]["ov_cimguiname"] = "ImGuiViewport_GetCenter" +defs["ImGuiViewport_GetCenter"][1]["ret"] = "void" +defs["ImGuiViewport_GetCenter"][1]["signature"] = "()" +defs["ImGuiViewport_GetCenter"][1]["stname"] = "ImGuiViewport" +defs["ImGuiViewport_GetCenter"]["()"] = defs["ImGuiViewport_GetCenter"][1] defs["ImGuiViewport_GetWorkPos"] = {} defs["ImGuiViewport_GetWorkPos"][1] = {} defs["ImGuiViewport_GetWorkPos"][1]["args"] = "(ImVec2 *pOut,ImGuiViewport* self)" @@ -7825,6 +7883,28 @@ defs["ImRect_Overlaps"][1]["ret"] = "bool" defs["ImRect_Overlaps"][1]["signature"] = "(const ImRect)const" defs["ImRect_Overlaps"][1]["stname"] = "ImRect" defs["ImRect_Overlaps"]["(const ImRect)const"] = defs["ImRect_Overlaps"][1] +defs["ImRect_ToVec4"] = {} +defs["ImRect_ToVec4"][1] = {} +defs["ImRect_ToVec4"][1]["args"] = "(ImVec4 *pOut,ImRect* self)" +defs["ImRect_ToVec4"][1]["argsT"] = {} +defs["ImRect_ToVec4"][1]["argsT"][1] = {} +defs["ImRect_ToVec4"][1]["argsT"][1]["name"] = "pOut" +defs["ImRect_ToVec4"][1]["argsT"][1]["type"] = "ImVec4*" +defs["ImRect_ToVec4"][1]["argsT"][2] = {} +defs["ImRect_ToVec4"][1]["argsT"][2]["name"] = "self" +defs["ImRect_ToVec4"][1]["argsT"][2]["type"] = "ImRect*" +defs["ImRect_ToVec4"][1]["argsoriginal"] = "()" +defs["ImRect_ToVec4"][1]["call_args"] = "()" +defs["ImRect_ToVec4"][1]["cimguiname"] = "ImRect_ToVec4" +defs["ImRect_ToVec4"][1]["defaults"] = {} +defs["ImRect_ToVec4"][1]["funcname"] = "ToVec4" +defs["ImRect_ToVec4"][1]["location"] = "internal" +defs["ImRect_ToVec4"][1]["nonUDT"] = 1 +defs["ImRect_ToVec4"][1]["ov_cimguiname"] = "ImRect_ToVec4" +defs["ImRect_ToVec4"][1]["ret"] = "void" +defs["ImRect_ToVec4"][1]["signature"] = "()const" +defs["ImRect_ToVec4"][1]["stname"] = "ImRect" +defs["ImRect_ToVec4"]["()const"] = defs["ImRect_ToVec4"][1] defs["ImRect_Translate"] = {} defs["ImRect_Translate"][1] = {} defs["ImRect_Translate"][1]["args"] = "(ImRect* self,const ImVec2 d)" @@ -9369,80 +9449,76 @@ defs["igBeginPopup"][1]["stname"] = "" defs["igBeginPopup"]["(const char*,ImGuiWindowFlags)"] = defs["igBeginPopup"][1] defs["igBeginPopupContextItem"] = {} defs["igBeginPopupContextItem"][1] = {} -defs["igBeginPopupContextItem"][1]["args"] = "(const char* str_id,ImGuiMouseButton mouse_button)" +defs["igBeginPopupContextItem"][1]["args"] = "(const char* str_id,ImGuiPopupFlags popup_flags)" defs["igBeginPopupContextItem"][1]["argsT"] = {} defs["igBeginPopupContextItem"][1]["argsT"][1] = {} defs["igBeginPopupContextItem"][1]["argsT"][1]["name"] = "str_id" defs["igBeginPopupContextItem"][1]["argsT"][1]["type"] = "const char*" defs["igBeginPopupContextItem"][1]["argsT"][2] = {} -defs["igBeginPopupContextItem"][1]["argsT"][2]["name"] = "mouse_button" -defs["igBeginPopupContextItem"][1]["argsT"][2]["type"] = "ImGuiMouseButton" -defs["igBeginPopupContextItem"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)" -defs["igBeginPopupContextItem"][1]["call_args"] = "(str_id,mouse_button)" +defs["igBeginPopupContextItem"][1]["argsT"][2]["name"] = "popup_flags" +defs["igBeginPopupContextItem"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igBeginPopupContextItem"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)" +defs["igBeginPopupContextItem"][1]["call_args"] = "(str_id,popup_flags)" defs["igBeginPopupContextItem"][1]["cimguiname"] = "igBeginPopupContextItem" defs["igBeginPopupContextItem"][1]["defaults"] = {} -defs["igBeginPopupContextItem"][1]["defaults"]["mouse_button"] = "1" +defs["igBeginPopupContextItem"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextItem"][1]["defaults"]["str_id"] = "((void*)0)" defs["igBeginPopupContextItem"][1]["funcname"] = "BeginPopupContextItem" defs["igBeginPopupContextItem"][1]["location"] = "imgui" defs["igBeginPopupContextItem"][1]["namespace"] = "ImGui" defs["igBeginPopupContextItem"][1]["ov_cimguiname"] = "igBeginPopupContextItem" defs["igBeginPopupContextItem"][1]["ret"] = "bool" -defs["igBeginPopupContextItem"][1]["signature"] = "(const char*,ImGuiMouseButton)" +defs["igBeginPopupContextItem"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igBeginPopupContextItem"][1]["stname"] = "" -defs["igBeginPopupContextItem"]["(const char*,ImGuiMouseButton)"] = defs["igBeginPopupContextItem"][1] +defs["igBeginPopupContextItem"]["(const char*,ImGuiPopupFlags)"] = defs["igBeginPopupContextItem"][1] defs["igBeginPopupContextVoid"] = {} defs["igBeginPopupContextVoid"][1] = {} -defs["igBeginPopupContextVoid"][1]["args"] = "(const char* str_id,ImGuiMouseButton mouse_button)" +defs["igBeginPopupContextVoid"][1]["args"] = "(const char* str_id,ImGuiPopupFlags popup_flags)" defs["igBeginPopupContextVoid"][1]["argsT"] = {} defs["igBeginPopupContextVoid"][1]["argsT"][1] = {} defs["igBeginPopupContextVoid"][1]["argsT"][1]["name"] = "str_id" defs["igBeginPopupContextVoid"][1]["argsT"][1]["type"] = "const char*" defs["igBeginPopupContextVoid"][1]["argsT"][2] = {} -defs["igBeginPopupContextVoid"][1]["argsT"][2]["name"] = "mouse_button" -defs["igBeginPopupContextVoid"][1]["argsT"][2]["type"] = "ImGuiMouseButton" -defs["igBeginPopupContextVoid"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)" -defs["igBeginPopupContextVoid"][1]["call_args"] = "(str_id,mouse_button)" +defs["igBeginPopupContextVoid"][1]["argsT"][2]["name"] = "popup_flags" +defs["igBeginPopupContextVoid"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igBeginPopupContextVoid"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)" +defs["igBeginPopupContextVoid"][1]["call_args"] = "(str_id,popup_flags)" defs["igBeginPopupContextVoid"][1]["cimguiname"] = "igBeginPopupContextVoid" defs["igBeginPopupContextVoid"][1]["defaults"] = {} -defs["igBeginPopupContextVoid"][1]["defaults"]["mouse_button"] = "1" +defs["igBeginPopupContextVoid"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextVoid"][1]["defaults"]["str_id"] = "((void*)0)" defs["igBeginPopupContextVoid"][1]["funcname"] = "BeginPopupContextVoid" defs["igBeginPopupContextVoid"][1]["location"] = "imgui" defs["igBeginPopupContextVoid"][1]["namespace"] = "ImGui" defs["igBeginPopupContextVoid"][1]["ov_cimguiname"] = "igBeginPopupContextVoid" defs["igBeginPopupContextVoid"][1]["ret"] = "bool" -defs["igBeginPopupContextVoid"][1]["signature"] = "(const char*,ImGuiMouseButton)" +defs["igBeginPopupContextVoid"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igBeginPopupContextVoid"][1]["stname"] = "" -defs["igBeginPopupContextVoid"]["(const char*,ImGuiMouseButton)"] = defs["igBeginPopupContextVoid"][1] +defs["igBeginPopupContextVoid"]["(const char*,ImGuiPopupFlags)"] = defs["igBeginPopupContextVoid"][1] defs["igBeginPopupContextWindow"] = {} defs["igBeginPopupContextWindow"][1] = {} -defs["igBeginPopupContextWindow"][1]["args"] = "(const char* str_id,ImGuiMouseButton mouse_button,bool also_over_items)" +defs["igBeginPopupContextWindow"][1]["args"] = "(const char* str_id,ImGuiPopupFlags popup_flags)" defs["igBeginPopupContextWindow"][1]["argsT"] = {} defs["igBeginPopupContextWindow"][1]["argsT"][1] = {} defs["igBeginPopupContextWindow"][1]["argsT"][1]["name"] = "str_id" defs["igBeginPopupContextWindow"][1]["argsT"][1]["type"] = "const char*" defs["igBeginPopupContextWindow"][1]["argsT"][2] = {} -defs["igBeginPopupContextWindow"][1]["argsT"][2]["name"] = "mouse_button" -defs["igBeginPopupContextWindow"][1]["argsT"][2]["type"] = "ImGuiMouseButton" -defs["igBeginPopupContextWindow"][1]["argsT"][3] = {} -defs["igBeginPopupContextWindow"][1]["argsT"][3]["name"] = "also_over_items" -defs["igBeginPopupContextWindow"][1]["argsT"][3]["type"] = "bool" -defs["igBeginPopupContextWindow"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1,bool also_over_items=true)" -defs["igBeginPopupContextWindow"][1]["call_args"] = "(str_id,mouse_button,also_over_items)" +defs["igBeginPopupContextWindow"][1]["argsT"][2]["name"] = "popup_flags" +defs["igBeginPopupContextWindow"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igBeginPopupContextWindow"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)" +defs["igBeginPopupContextWindow"][1]["call_args"] = "(str_id,popup_flags)" defs["igBeginPopupContextWindow"][1]["cimguiname"] = "igBeginPopupContextWindow" defs["igBeginPopupContextWindow"][1]["defaults"] = {} -defs["igBeginPopupContextWindow"][1]["defaults"]["also_over_items"] = "true" -defs["igBeginPopupContextWindow"][1]["defaults"]["mouse_button"] = "1" +defs["igBeginPopupContextWindow"][1]["defaults"]["popup_flags"] = "1" defs["igBeginPopupContextWindow"][1]["defaults"]["str_id"] = "((void*)0)" defs["igBeginPopupContextWindow"][1]["funcname"] = "BeginPopupContextWindow" defs["igBeginPopupContextWindow"][1]["location"] = "imgui" defs["igBeginPopupContextWindow"][1]["namespace"] = "ImGui" defs["igBeginPopupContextWindow"][1]["ov_cimguiname"] = "igBeginPopupContextWindow" defs["igBeginPopupContextWindow"][1]["ret"] = "bool" -defs["igBeginPopupContextWindow"][1]["signature"] = "(const char*,ImGuiMouseButton,bool)" +defs["igBeginPopupContextWindow"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igBeginPopupContextWindow"][1]["stname"] = "" -defs["igBeginPopupContextWindow"]["(const char*,ImGuiMouseButton,bool)"] = defs["igBeginPopupContextWindow"][1] +defs["igBeginPopupContextWindow"]["(const char*,ImGuiPopupFlags)"] = defs["igBeginPopupContextWindow"][1] defs["igBeginPopupEx"] = {} defs["igBeginPopupEx"][1] = {} defs["igBeginPopupEx"][1]["args"] = "(ImGuiID id,ImGuiWindowFlags extra_flags)" @@ -16439,6 +16515,46 @@ defs["igImageButton"][1]["ret"] = "bool" defs["igImageButton"][1]["signature"] = "(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)" defs["igImageButton"][1]["stname"] = "" defs["igImageButton"]["(ImTextureID,const ImVec2,const ImVec2,const ImVec2,int,const ImVec4,const ImVec4)"] = defs["igImageButton"][1] +defs["igImageButtonEx"] = {} +defs["igImageButtonEx"][1] = {} +defs["igImageButtonEx"][1]["args"] = "(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)" +defs["igImageButtonEx"][1]["argsT"] = {} +defs["igImageButtonEx"][1]["argsT"][1] = {} +defs["igImageButtonEx"][1]["argsT"][1]["name"] = "id" +defs["igImageButtonEx"][1]["argsT"][1]["type"] = "ImGuiID" +defs["igImageButtonEx"][1]["argsT"][2] = {} +defs["igImageButtonEx"][1]["argsT"][2]["name"] = "texture_id" +defs["igImageButtonEx"][1]["argsT"][2]["type"] = "ImTextureID" +defs["igImageButtonEx"][1]["argsT"][3] = {} +defs["igImageButtonEx"][1]["argsT"][3]["name"] = "size" +defs["igImageButtonEx"][1]["argsT"][3]["type"] = "const ImVec2" +defs["igImageButtonEx"][1]["argsT"][4] = {} +defs["igImageButtonEx"][1]["argsT"][4]["name"] = "uv0" +defs["igImageButtonEx"][1]["argsT"][4]["type"] = "const ImVec2" +defs["igImageButtonEx"][1]["argsT"][5] = {} +defs["igImageButtonEx"][1]["argsT"][5]["name"] = "uv1" +defs["igImageButtonEx"][1]["argsT"][5]["type"] = "const ImVec2" +defs["igImageButtonEx"][1]["argsT"][6] = {} +defs["igImageButtonEx"][1]["argsT"][6]["name"] = "padding" +defs["igImageButtonEx"][1]["argsT"][6]["type"] = "const ImVec2" +defs["igImageButtonEx"][1]["argsT"][7] = {} +defs["igImageButtonEx"][1]["argsT"][7]["name"] = "bg_col" +defs["igImageButtonEx"][1]["argsT"][7]["type"] = "const ImVec4" +defs["igImageButtonEx"][1]["argsT"][8] = {} +defs["igImageButtonEx"][1]["argsT"][8]["name"] = "tint_col" +defs["igImageButtonEx"][1]["argsT"][8]["type"] = "const ImVec4" +defs["igImageButtonEx"][1]["argsoriginal"] = "(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)" +defs["igImageButtonEx"][1]["call_args"] = "(id,texture_id,size,uv0,uv1,padding,bg_col,tint_col)" +defs["igImageButtonEx"][1]["cimguiname"] = "igImageButtonEx" +defs["igImageButtonEx"][1]["defaults"] = {} +defs["igImageButtonEx"][1]["funcname"] = "ImageButtonEx" +defs["igImageButtonEx"][1]["location"] = "internal" +defs["igImageButtonEx"][1]["namespace"] = "ImGui" +defs["igImageButtonEx"][1]["ov_cimguiname"] = "igImageButtonEx" +defs["igImageButtonEx"][1]["ret"] = "bool" +defs["igImageButtonEx"][1]["signature"] = "(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)" +defs["igImageButtonEx"][1]["stname"] = "" +defs["igImageButtonEx"]["(ImGuiID,ImTextureID,const ImVec2,const ImVec2,const ImVec2,const ImVec2,const ImVec4,const ImVec4)"] = defs["igImageButtonEx"][1] defs["igIndent"] = {} defs["igIndent"][1] = {} defs["igIndent"][1]["args"] = "(float indent_w)" @@ -17668,30 +17784,37 @@ defs["igIsNavInputTest"][1]["stname"] = "" defs["igIsNavInputTest"]["(ImGuiNavInput,ImGuiInputReadMode)"] = defs["igIsNavInputTest"][1] defs["igIsPopupOpen"] = {} defs["igIsPopupOpen"][1] = {} -defs["igIsPopupOpen"][1]["args"] = "(const char* str_id)" +defs["igIsPopupOpen"][1]["args"] = "(const char* str_id,ImGuiPopupFlags flags)" defs["igIsPopupOpen"][1]["argsT"] = {} defs["igIsPopupOpen"][1]["argsT"][1] = {} defs["igIsPopupOpen"][1]["argsT"][1]["name"] = "str_id" defs["igIsPopupOpen"][1]["argsT"][1]["type"] = "const char*" -defs["igIsPopupOpen"][1]["argsoriginal"] = "(const char* str_id)" -defs["igIsPopupOpen"][1]["call_args"] = "(str_id)" +defs["igIsPopupOpen"][1]["argsT"][2] = {} +defs["igIsPopupOpen"][1]["argsT"][2]["name"] = "flags" +defs["igIsPopupOpen"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igIsPopupOpen"][1]["argsoriginal"] = "(const char* str_id,ImGuiPopupFlags flags=0)" +defs["igIsPopupOpen"][1]["call_args"] = "(str_id,flags)" defs["igIsPopupOpen"][1]["cimguiname"] = "igIsPopupOpen" defs["igIsPopupOpen"][1]["defaults"] = {} +defs["igIsPopupOpen"][1]["defaults"]["flags"] = "0" defs["igIsPopupOpen"][1]["funcname"] = "IsPopupOpen" defs["igIsPopupOpen"][1]["location"] = "imgui" defs["igIsPopupOpen"][1]["namespace"] = "ImGui" defs["igIsPopupOpen"][1]["ov_cimguiname"] = "igIsPopupOpenStr" defs["igIsPopupOpen"][1]["ret"] = "bool" -defs["igIsPopupOpen"][1]["signature"] = "(const char*)" +defs["igIsPopupOpen"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igIsPopupOpen"][1]["stname"] = "" defs["igIsPopupOpen"][2] = {} -defs["igIsPopupOpen"][2]["args"] = "(ImGuiID id)" +defs["igIsPopupOpen"][2]["args"] = "(ImGuiID id,ImGuiPopupFlags popup_flags)" defs["igIsPopupOpen"][2]["argsT"] = {} defs["igIsPopupOpen"][2]["argsT"][1] = {} defs["igIsPopupOpen"][2]["argsT"][1]["name"] = "id" defs["igIsPopupOpen"][2]["argsT"][1]["type"] = "ImGuiID" -defs["igIsPopupOpen"][2]["argsoriginal"] = "(ImGuiID id)" -defs["igIsPopupOpen"][2]["call_args"] = "(id)" +defs["igIsPopupOpen"][2]["argsT"][2] = {} +defs["igIsPopupOpen"][2]["argsT"][2]["name"] = "popup_flags" +defs["igIsPopupOpen"][2]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igIsPopupOpen"][2]["argsoriginal"] = "(ImGuiID id,ImGuiPopupFlags popup_flags)" +defs["igIsPopupOpen"][2]["call_args"] = "(id,popup_flags)" defs["igIsPopupOpen"][2]["cimguiname"] = "igIsPopupOpen" defs["igIsPopupOpen"][2]["defaults"] = {} defs["igIsPopupOpen"][2]["funcname"] = "IsPopupOpen" @@ -17699,10 +17822,10 @@ defs["igIsPopupOpen"][2]["location"] = "internal" defs["igIsPopupOpen"][2]["namespace"] = "ImGui" defs["igIsPopupOpen"][2]["ov_cimguiname"] = "igIsPopupOpenID" defs["igIsPopupOpen"][2]["ret"] = "bool" -defs["igIsPopupOpen"][2]["signature"] = "(ImGuiID)" +defs["igIsPopupOpen"][2]["signature"] = "(ImGuiID,ImGuiPopupFlags)" defs["igIsPopupOpen"][2]["stname"] = "" -defs["igIsPopupOpen"]["(ImGuiID)"] = defs["igIsPopupOpen"][2] -defs["igIsPopupOpen"]["(const char*)"] = defs["igIsPopupOpen"][1] +defs["igIsPopupOpen"]["(ImGuiID,ImGuiPopupFlags)"] = defs["igIsPopupOpen"][2] +defs["igIsPopupOpen"]["(const char*,ImGuiPopupFlags)"] = defs["igIsPopupOpen"][1] defs["igIsRectVisible"] = {} defs["igIsRectVisible"][1] = {} defs["igIsRectVisible"][1]["args"] = "(const ImVec2 size)" @@ -18701,66 +18824,74 @@ defs["igNextColumn"][1]["stname"] = "" defs["igNextColumn"]["()"] = defs["igNextColumn"][1] defs["igOpenPopup"] = {} defs["igOpenPopup"][1] = {} -defs["igOpenPopup"][1]["args"] = "(const char* str_id)" +defs["igOpenPopup"][1]["args"] = "(const char* str_id,ImGuiPopupFlags popup_flags)" defs["igOpenPopup"][1]["argsT"] = {} defs["igOpenPopup"][1]["argsT"][1] = {} defs["igOpenPopup"][1]["argsT"][1]["name"] = "str_id" defs["igOpenPopup"][1]["argsT"][1]["type"] = "const char*" -defs["igOpenPopup"][1]["argsoriginal"] = "(const char* str_id)" -defs["igOpenPopup"][1]["call_args"] = "(str_id)" +defs["igOpenPopup"][1]["argsT"][2] = {} +defs["igOpenPopup"][1]["argsT"][2]["name"] = "popup_flags" +defs["igOpenPopup"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igOpenPopup"][1]["argsoriginal"] = "(const char* str_id,ImGuiPopupFlags popup_flags=0)" +defs["igOpenPopup"][1]["call_args"] = "(str_id,popup_flags)" defs["igOpenPopup"][1]["cimguiname"] = "igOpenPopup" defs["igOpenPopup"][1]["defaults"] = {} +defs["igOpenPopup"][1]["defaults"]["popup_flags"] = "0" defs["igOpenPopup"][1]["funcname"] = "OpenPopup" defs["igOpenPopup"][1]["location"] = "imgui" defs["igOpenPopup"][1]["namespace"] = "ImGui" defs["igOpenPopup"][1]["ov_cimguiname"] = "igOpenPopup" defs["igOpenPopup"][1]["ret"] = "void" -defs["igOpenPopup"][1]["signature"] = "(const char*)" +defs["igOpenPopup"][1]["signature"] = "(const char*,ImGuiPopupFlags)" defs["igOpenPopup"][1]["stname"] = "" -defs["igOpenPopup"]["(const char*)"] = defs["igOpenPopup"][1] +defs["igOpenPopup"]["(const char*,ImGuiPopupFlags)"] = defs["igOpenPopup"][1] +defs["igOpenPopupContextItem"] = {} +defs["igOpenPopupContextItem"][1] = {} +defs["igOpenPopupContextItem"][1]["args"] = "(const char* str_id,ImGuiPopupFlags popup_flags)" +defs["igOpenPopupContextItem"][1]["argsT"] = {} +defs["igOpenPopupContextItem"][1]["argsT"][1] = {} +defs["igOpenPopupContextItem"][1]["argsT"][1]["name"] = "str_id" +defs["igOpenPopupContextItem"][1]["argsT"][1]["type"] = "const char*" +defs["igOpenPopupContextItem"][1]["argsT"][2] = {} +defs["igOpenPopupContextItem"][1]["argsT"][2]["name"] = "popup_flags" +defs["igOpenPopupContextItem"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igOpenPopupContextItem"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiPopupFlags popup_flags=1)" +defs["igOpenPopupContextItem"][1]["call_args"] = "(str_id,popup_flags)" +defs["igOpenPopupContextItem"][1]["cimguiname"] = "igOpenPopupContextItem" +defs["igOpenPopupContextItem"][1]["defaults"] = {} +defs["igOpenPopupContextItem"][1]["defaults"]["popup_flags"] = "1" +defs["igOpenPopupContextItem"][1]["defaults"]["str_id"] = "((void*)0)" +defs["igOpenPopupContextItem"][1]["funcname"] = "OpenPopupContextItem" +defs["igOpenPopupContextItem"][1]["location"] = "imgui" +defs["igOpenPopupContextItem"][1]["namespace"] = "ImGui" +defs["igOpenPopupContextItem"][1]["ov_cimguiname"] = "igOpenPopupContextItem" +defs["igOpenPopupContextItem"][1]["ret"] = "bool" +defs["igOpenPopupContextItem"][1]["signature"] = "(const char*,ImGuiPopupFlags)" +defs["igOpenPopupContextItem"][1]["stname"] = "" +defs["igOpenPopupContextItem"]["(const char*,ImGuiPopupFlags)"] = defs["igOpenPopupContextItem"][1] defs["igOpenPopupEx"] = {} defs["igOpenPopupEx"][1] = {} -defs["igOpenPopupEx"][1]["args"] = "(ImGuiID id)" +defs["igOpenPopupEx"][1]["args"] = "(ImGuiID id,ImGuiPopupFlags popup_flags)" defs["igOpenPopupEx"][1]["argsT"] = {} defs["igOpenPopupEx"][1]["argsT"][1] = {} defs["igOpenPopupEx"][1]["argsT"][1]["name"] = "id" defs["igOpenPopupEx"][1]["argsT"][1]["type"] = "ImGuiID" -defs["igOpenPopupEx"][1]["argsoriginal"] = "(ImGuiID id)" -defs["igOpenPopupEx"][1]["call_args"] = "(id)" +defs["igOpenPopupEx"][1]["argsT"][2] = {} +defs["igOpenPopupEx"][1]["argsT"][2]["name"] = "popup_flags" +defs["igOpenPopupEx"][1]["argsT"][2]["type"] = "ImGuiPopupFlags" +defs["igOpenPopupEx"][1]["argsoriginal"] = "(ImGuiID id,ImGuiPopupFlags popup_flags=ImGuiPopupFlags_None)" +defs["igOpenPopupEx"][1]["call_args"] = "(id,popup_flags)" defs["igOpenPopupEx"][1]["cimguiname"] = "igOpenPopupEx" defs["igOpenPopupEx"][1]["defaults"] = {} +defs["igOpenPopupEx"][1]["defaults"]["popup_flags"] = "ImGuiPopupFlags_None" defs["igOpenPopupEx"][1]["funcname"] = "OpenPopupEx" defs["igOpenPopupEx"][1]["location"] = "internal" defs["igOpenPopupEx"][1]["namespace"] = "ImGui" defs["igOpenPopupEx"][1]["ov_cimguiname"] = "igOpenPopupEx" defs["igOpenPopupEx"][1]["ret"] = "void" -defs["igOpenPopupEx"][1]["signature"] = "(ImGuiID)" +defs["igOpenPopupEx"][1]["signature"] = "(ImGuiID,ImGuiPopupFlags)" defs["igOpenPopupEx"][1]["stname"] = "" -defs["igOpenPopupEx"]["(ImGuiID)"] = defs["igOpenPopupEx"][1] -defs["igOpenPopupOnItemClick"] = {} -defs["igOpenPopupOnItemClick"][1] = {} -defs["igOpenPopupOnItemClick"][1]["args"] = "(const char* str_id,ImGuiMouseButton mouse_button)" -defs["igOpenPopupOnItemClick"][1]["argsT"] = {} -defs["igOpenPopupOnItemClick"][1]["argsT"][1] = {} -defs["igOpenPopupOnItemClick"][1]["argsT"][1]["name"] = "str_id" -defs["igOpenPopupOnItemClick"][1]["argsT"][1]["type"] = "const char*" -defs["igOpenPopupOnItemClick"][1]["argsT"][2] = {} -defs["igOpenPopupOnItemClick"][1]["argsT"][2]["name"] = "mouse_button" -defs["igOpenPopupOnItemClick"][1]["argsT"][2]["type"] = "ImGuiMouseButton" -defs["igOpenPopupOnItemClick"][1]["argsoriginal"] = "(const char* str_id=((void*)0),ImGuiMouseButton mouse_button=1)" -defs["igOpenPopupOnItemClick"][1]["call_args"] = "(str_id,mouse_button)" -defs["igOpenPopupOnItemClick"][1]["cimguiname"] = "igOpenPopupOnItemClick" -defs["igOpenPopupOnItemClick"][1]["defaults"] = {} -defs["igOpenPopupOnItemClick"][1]["defaults"]["mouse_button"] = "1" -defs["igOpenPopupOnItemClick"][1]["defaults"]["str_id"] = "((void*)0)" -defs["igOpenPopupOnItemClick"][1]["funcname"] = "OpenPopupOnItemClick" -defs["igOpenPopupOnItemClick"][1]["location"] = "imgui" -defs["igOpenPopupOnItemClick"][1]["namespace"] = "ImGui" -defs["igOpenPopupOnItemClick"][1]["ov_cimguiname"] = "igOpenPopupOnItemClick" -defs["igOpenPopupOnItemClick"][1]["ret"] = "bool" -defs["igOpenPopupOnItemClick"][1]["signature"] = "(const char*,ImGuiMouseButton)" -defs["igOpenPopupOnItemClick"][1]["stname"] = "" -defs["igOpenPopupOnItemClick"]["(const char*,ImGuiMouseButton)"] = defs["igOpenPopupOnItemClick"][1] +defs["igOpenPopupEx"]["(ImGuiID,ImGuiPopupFlags)"] = defs["igOpenPopupEx"][1] defs["igPlotEx"] = {} defs["igPlotEx"][1] = {} defs["igPlotEx"][1]["args"] = "(ImGuiPlotType plot_type,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 frame_size)" @@ -21571,6 +21702,28 @@ defs["igSetTooltipV"][1]["ret"] = "void" defs["igSetTooltipV"][1]["signature"] = "(const char*,va_list)" defs["igSetTooltipV"][1]["stname"] = "" defs["igSetTooltipV"]["(const char*,va_list)"] = defs["igSetTooltipV"][1] +defs["igSetWindowClipRectBeforeSetChannel"] = {} +defs["igSetWindowClipRectBeforeSetChannel"][1] = {} +defs["igSetWindowClipRectBeforeSetChannel"][1]["args"] = "(ImGuiWindow* window,const ImRect clip_rect)" +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"] = {} +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"][1] = {} +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"][1]["name"] = "window" +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"][1]["type"] = "ImGuiWindow*" +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"][2] = {} +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"][2]["name"] = "clip_rect" +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsT"][2]["type"] = "const ImRect" +defs["igSetWindowClipRectBeforeSetChannel"][1]["argsoriginal"] = "(ImGuiWindow* window,const ImRect& clip_rect)" +defs["igSetWindowClipRectBeforeSetChannel"][1]["call_args"] = "(window,clip_rect)" +defs["igSetWindowClipRectBeforeSetChannel"][1]["cimguiname"] = "igSetWindowClipRectBeforeSetChannel" +defs["igSetWindowClipRectBeforeSetChannel"][1]["defaults"] = {} +defs["igSetWindowClipRectBeforeSetChannel"][1]["funcname"] = "SetWindowClipRectBeforeSetChannel" +defs["igSetWindowClipRectBeforeSetChannel"][1]["location"] = "internal" +defs["igSetWindowClipRectBeforeSetChannel"][1]["namespace"] = "ImGui" +defs["igSetWindowClipRectBeforeSetChannel"][1]["ov_cimguiname"] = "igSetWindowClipRectBeforeSetChannel" +defs["igSetWindowClipRectBeforeSetChannel"][1]["ret"] = "void" +defs["igSetWindowClipRectBeforeSetChannel"][1]["signature"] = "(ImGuiWindow*,const ImRect)" +defs["igSetWindowClipRectBeforeSetChannel"][1]["stname"] = "" +defs["igSetWindowClipRectBeforeSetChannel"]["(ImGuiWindow*,const ImRect)"] = defs["igSetWindowClipRectBeforeSetChannel"][1] defs["igSetWindowCollapsed"] = {} defs["igSetWindowCollapsed"][1] = {} defs["igSetWindowCollapsed"][1]["args"] = "(bool collapsed,ImGuiCond cond)" diff --git a/generator/output/overloads.txt b/generator/output/overloads.txt index 29ac0b5..029e7b4 100644 --- a/generator/output/overloads.txt +++ b/generator/output/overloads.txt @@ -42,6 +42,9 @@ igSetWindowPos 3 1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond) 2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond) 3 void igSetWindowPosWindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond) +ImVector_find 2 +1 T* ImVector_findNil (const T) +2 const T* ImVector_find_const (const T)const igBeginChild 2 1 bool igBeginChildStr (const char*,const ImVec2,bool,ImGuiWindowFlags) 2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) @@ -70,9 +73,9 @@ igGetForegroundDrawList 3 igGetBackgroundDrawList 2 1 ImDrawList* igGetBackgroundDrawListNil () 2 ImDrawList* igGetBackgroundDrawListViewportPtr (ImGuiViewport*) -ImVector_resize 2 -1 void ImVector_resizeNil (int) -2 void ImVector_resizeT (int,const T) +igMenuItem 2 +1 bool igMenuItemBool (const char*,const char*,bool,bool) +2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) igImLengthSqr 2 1 float igImLengthSqrVec2 (const ImVec2) 2 float igImLengthSqrVec4 (const ImVec4) @@ -132,8 +135,8 @@ igSetWindowSize 3 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) @@ -144,20 +147,17 @@ igSetWindowCollapsed 3 igPlotLines 2 1 void igPlotLinesFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int) 2 void igPlotLinesFnFloatPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) +igTreeNodeExV 2 +1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list) +2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list) ImGuiStyleMod_ImGuiStyleMod 3 1 nil ImGuiStyleMod_ImGuiStyleModInt (ImGuiStyleVar,int) 2 nil ImGuiStyleMod_ImGuiStyleModFloat (ImGuiStyleVar,float) 3 nil ImGuiStyleMod_ImGuiStyleModVec2 (ImGuiStyleVar,ImVec2) -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) -ImVector_find 2 -1 T* ImVector_findNil (const T) -2 const T* ImVector_find_const (const T)const ImPool_Remove 2 1 void ImPool_RemoveTPtr (ImGuiID,const T*) 2 void ImPool_RemovePoolIdx (ImGuiID,ImPoolIdx) @@ -187,12 +187,9 @@ igListBoxHeader 2 igCollapsingHeader 2 1 bool igCollapsingHeaderTreeNodeFlags (const char*,ImGuiTreeNodeFlags) 2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags) -igMenuItem 2 -1 bool igMenuItemBool (const char*,const char*,bool,bool) -2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) -igPushStyleColor 2 -1 void igPushStyleColorU32 (ImGuiCol,ImU32) -2 void igPushStyleColorVec4 (ImGuiCol,const ImVec4) +ImVector_begin 2 +1 T* ImVector_beginNil () +2 const T* ImVector_begin_const ()const igTreePush 2 1 void igTreePushStr (const char*) 2 void igTreePushPtr (const void*) @@ -205,13 +202,16 @@ ImColor_ImColor 5 3 nil ImColor_ImColorU32 (ImU32) 4 nil ImColor_ImColorFloat (float,float,float,float) 5 nil ImColor_ImColorVec4 (const ImVec4) +ImVector_resize 2 +1 void ImVector_resizeNil (int) +2 void ImVector_resizeT (int,const T) igTreeNodeEx 3 1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags) 2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...) 3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...) -ImVector_begin 2 -1 T* ImVector_beginNil () -2 const T* ImVector_begin_const ()const +igPushStyleColor 2 +1 void igPushStyleColorU32 (ImGuiCol,ImU32) +2 void igPushStyleColorVec4 (ImGuiCol,const ImVec4) igTreeNodeV 2 1 bool igTreeNodeVStr (const char*,const char*,va_list) 2 bool igTreeNodeVPtr (const void*,const char*,va_list) diff --git a/generator/output/structs_and_enums.json b/generator/output/structs_and_enums.json index c9e8161..45fb710 100644 --- a/generator/output/structs_and_enums.json +++ b/generator/output/structs_and_enums.json @@ -761,6 +761,11 @@ } ], "ImGuiCond_": [ + { + "calc_value": 0, + "name": "ImGuiCond_None", + "value": "0" + }, { "calc_value": 1, "name": "ImGuiCond_Always", @@ -2096,6 +2101,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, @@ -2444,6 +2506,11 @@ "calc_value": 8, "name": "ImGuiTabItemFlags_NoPushId", "value": "1 << 3" + }, + { + "calc_value": 16, + "name": "ImGuiTabItemFlags_NoTooltip", + "value": "1 << 4" } ], "ImGuiTextFlags_": [ @@ -2806,10 +2873,6 @@ } ], "ImDrawCmd": [ - { - "name": "ElemCount", - "type": "unsigned int" - }, { "name": "ClipRect", "type": "ImVec4" @@ -2826,6 +2889,10 @@ "name": "IdxOffset", "type": "unsigned int" }, + { + "name": "ElemCount", + "type": "unsigned int" + }, { "name": "UserCallback", "type": "ImDrawCallback" @@ -2909,10 +2976,6 @@ "name": "_OwnerName", "type": "const char*" }, - { - "name": "_VtxCurrentOffset", - "type": "unsigned int" - }, { "name": "_VtxCurrentIdx", "type": "unsigned int" @@ -2940,6 +3003,10 @@ "template_type": "ImVec2", "type": "ImVector_ImVec2" }, + { + "name": "_CmdHeader", + "type": "ImDrawCmd" + }, { "name": "_Splitter", "type": "ImDrawListSplitter" @@ -3404,7 +3471,11 @@ "type": "float" }, { - "name": "HostClipRect", + "name": "HostInitialClipRect", + "type": "ImRect" + }, + { + "name": "HostBackupClipRect", "type": "ImRect" }, { @@ -4822,6 +4893,10 @@ "size": 21, "type": "float" }, + { + "name": "PenPressure", + "type": "float" + }, { "name": "InputQueueSurrogate", "type": "ImWchar16" diff --git a/generator/output/structs_and_enums.lua b/generator/output/structs_and_enums.lua index d2c0ebc..e4a4c6c 100644 --- a/generator/output/structs_and_enums.lua +++ b/generator/output/structs_and_enums.lua @@ -604,21 +604,25 @@ defs["enums"]["ImGuiComboFlags_"][9]["name"] = "ImGuiComboFlags_HeightMask_" defs["enums"]["ImGuiComboFlags_"][9]["value"] = "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest" defs["enums"]["ImGuiCond_"] = {} defs["enums"]["ImGuiCond_"][1] = {} -defs["enums"]["ImGuiCond_"][1]["calc_value"] = 1 -defs["enums"]["ImGuiCond_"][1]["name"] = "ImGuiCond_Always" -defs["enums"]["ImGuiCond_"][1]["value"] = "1 << 0" +defs["enums"]["ImGuiCond_"][1]["calc_value"] = 0 +defs["enums"]["ImGuiCond_"][1]["name"] = "ImGuiCond_None" +defs["enums"]["ImGuiCond_"][1]["value"] = "0" defs["enums"]["ImGuiCond_"][2] = {} -defs["enums"]["ImGuiCond_"][2]["calc_value"] = 2 -defs["enums"]["ImGuiCond_"][2]["name"] = "ImGuiCond_Once" -defs["enums"]["ImGuiCond_"][2]["value"] = "1 << 1" +defs["enums"]["ImGuiCond_"][2]["calc_value"] = 1 +defs["enums"]["ImGuiCond_"][2]["name"] = "ImGuiCond_Always" +defs["enums"]["ImGuiCond_"][2]["value"] = "1 << 0" defs["enums"]["ImGuiCond_"][3] = {} -defs["enums"]["ImGuiCond_"][3]["calc_value"] = 4 -defs["enums"]["ImGuiCond_"][3]["name"] = "ImGuiCond_FirstUseEver" -defs["enums"]["ImGuiCond_"][3]["value"] = "1 << 2" +defs["enums"]["ImGuiCond_"][3]["calc_value"] = 2 +defs["enums"]["ImGuiCond_"][3]["name"] = "ImGuiCond_Once" +defs["enums"]["ImGuiCond_"][3]["value"] = "1 << 1" defs["enums"]["ImGuiCond_"][4] = {} -defs["enums"]["ImGuiCond_"][4]["calc_value"] = 8 -defs["enums"]["ImGuiCond_"][4]["name"] = "ImGuiCond_Appearing" -defs["enums"]["ImGuiCond_"][4]["value"] = "1 << 3" +defs["enums"]["ImGuiCond_"][4]["calc_value"] = 4 +defs["enums"]["ImGuiCond_"][4]["name"] = "ImGuiCond_FirstUseEver" +defs["enums"]["ImGuiCond_"][4]["value"] = "1 << 2" +defs["enums"]["ImGuiCond_"][5] = {} +defs["enums"]["ImGuiCond_"][5]["calc_value"] = 8 +defs["enums"]["ImGuiCond_"][5]["name"] = "ImGuiCond_Appearing" +defs["enums"]["ImGuiCond_"][5]["value"] = "1 << 3" defs["enums"]["ImGuiConfigFlags_"] = {} defs["enums"]["ImGuiConfigFlags_"][1] = {} defs["enums"]["ImGuiConfigFlags_"][1]["calc_value"] = 0 @@ -1651,6 +1655,51 @@ defs["enums"]["ImGuiPlotType"][2] = {} defs["enums"]["ImGuiPlotType"][2]["calc_value"] = 1 defs["enums"]["ImGuiPlotType"][2]["name"] = "ImGuiPlotType_Histogram" defs["enums"]["ImGuiPlotType"][2]["value"] = 1 +defs["enums"]["ImGuiPopupFlags_"] = {} +defs["enums"]["ImGuiPopupFlags_"][1] = {} +defs["enums"]["ImGuiPopupFlags_"][1]["calc_value"] = 0 +defs["enums"]["ImGuiPopupFlags_"][1]["name"] = "ImGuiPopupFlags_None" +defs["enums"]["ImGuiPopupFlags_"][1]["value"] = "0" +defs["enums"]["ImGuiPopupFlags_"][2] = {} +defs["enums"]["ImGuiPopupFlags_"][2]["calc_value"] = 0 +defs["enums"]["ImGuiPopupFlags_"][2]["name"] = "ImGuiPopupFlags_MouseButtonLeft" +defs["enums"]["ImGuiPopupFlags_"][2]["value"] = "0" +defs["enums"]["ImGuiPopupFlags_"][3] = {} +defs["enums"]["ImGuiPopupFlags_"][3]["calc_value"] = 1 +defs["enums"]["ImGuiPopupFlags_"][3]["name"] = "ImGuiPopupFlags_MouseButtonRight" +defs["enums"]["ImGuiPopupFlags_"][3]["value"] = "1" +defs["enums"]["ImGuiPopupFlags_"][4] = {} +defs["enums"]["ImGuiPopupFlags_"][4]["calc_value"] = 2 +defs["enums"]["ImGuiPopupFlags_"][4]["name"] = "ImGuiPopupFlags_MouseButtonMiddle" +defs["enums"]["ImGuiPopupFlags_"][4]["value"] = "2" +defs["enums"]["ImGuiPopupFlags_"][5] = {} +defs["enums"]["ImGuiPopupFlags_"][5]["calc_value"] = 31 +defs["enums"]["ImGuiPopupFlags_"][5]["name"] = "ImGuiPopupFlags_MouseButtonMask_" +defs["enums"]["ImGuiPopupFlags_"][5]["value"] = "0x1F" +defs["enums"]["ImGuiPopupFlags_"][6] = {} +defs["enums"]["ImGuiPopupFlags_"][6]["calc_value"] = 1 +defs["enums"]["ImGuiPopupFlags_"][6]["name"] = "ImGuiPopupFlags_MouseButtonDefault_" +defs["enums"]["ImGuiPopupFlags_"][6]["value"] = "1" +defs["enums"]["ImGuiPopupFlags_"][7] = {} +defs["enums"]["ImGuiPopupFlags_"][7]["calc_value"] = 32 +defs["enums"]["ImGuiPopupFlags_"][7]["name"] = "ImGuiPopupFlags_NoOpenOverExistingPopup" +defs["enums"]["ImGuiPopupFlags_"][7]["value"] = "1 << 5" +defs["enums"]["ImGuiPopupFlags_"][8] = {} +defs["enums"]["ImGuiPopupFlags_"][8]["calc_value"] = 64 +defs["enums"]["ImGuiPopupFlags_"][8]["name"] = "ImGuiPopupFlags_NoOpenOverItems" +defs["enums"]["ImGuiPopupFlags_"][8]["value"] = "1 << 6" +defs["enums"]["ImGuiPopupFlags_"][9] = {} +defs["enums"]["ImGuiPopupFlags_"][9]["calc_value"] = 128 +defs["enums"]["ImGuiPopupFlags_"][9]["name"] = "ImGuiPopupFlags_AnyPopupId" +defs["enums"]["ImGuiPopupFlags_"][9]["value"] = "1 << 7" +defs["enums"]["ImGuiPopupFlags_"][10] = {} +defs["enums"]["ImGuiPopupFlags_"][10]["calc_value"] = 256 +defs["enums"]["ImGuiPopupFlags_"][10]["name"] = "ImGuiPopupFlags_AnyPopupLevel" +defs["enums"]["ImGuiPopupFlags_"][10]["value"] = "1 << 8" +defs["enums"]["ImGuiPopupFlags_"][11] = {} +defs["enums"]["ImGuiPopupFlags_"][11]["calc_value"] = 384 +defs["enums"]["ImGuiPopupFlags_"][11]["name"] = "ImGuiPopupFlags_AnyPopup" +defs["enums"]["ImGuiPopupFlags_"][11]["value"] = "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel" defs["enums"]["ImGuiPopupPositionPolicy"] = {} defs["enums"]["ImGuiPopupPositionPolicy"][1] = {} defs["enums"]["ImGuiPopupPositionPolicy"][1]["calc_value"] = 0 @@ -1925,6 +1974,10 @@ defs["enums"]["ImGuiTabItemFlags_"][5] = {} defs["enums"]["ImGuiTabItemFlags_"][5]["calc_value"] = 8 defs["enums"]["ImGuiTabItemFlags_"][5]["name"] = "ImGuiTabItemFlags_NoPushId" defs["enums"]["ImGuiTabItemFlags_"][5]["value"] = "1 << 3" +defs["enums"]["ImGuiTabItemFlags_"][6] = {} +defs["enums"]["ImGuiTabItemFlags_"][6]["calc_value"] = 16 +defs["enums"]["ImGuiTabItemFlags_"][6]["name"] = "ImGuiTabItemFlags_NoTooltip" +defs["enums"]["ImGuiTabItemFlags_"][6]["value"] = "1 << 4" defs["enums"]["ImGuiTextFlags_"] = {} defs["enums"]["ImGuiTextFlags_"][1] = {} defs["enums"]["ImGuiTextFlags_"][1]["calc_value"] = 0 @@ -2208,19 +2261,19 @@ defs["structs"]["ImDrawChannel"][2]["template_type"] = "ImDrawIdx" defs["structs"]["ImDrawChannel"][2]["type"] = "ImVector_ImDrawIdx" defs["structs"]["ImDrawCmd"] = {} defs["structs"]["ImDrawCmd"][1] = {} -defs["structs"]["ImDrawCmd"][1]["name"] = "ElemCount" -defs["structs"]["ImDrawCmd"][1]["type"] = "unsigned int" +defs["structs"]["ImDrawCmd"][1]["name"] = "ClipRect" +defs["structs"]["ImDrawCmd"][1]["type"] = "ImVec4" defs["structs"]["ImDrawCmd"][2] = {} -defs["structs"]["ImDrawCmd"][2]["name"] = "ClipRect" -defs["structs"]["ImDrawCmd"][2]["type"] = "ImVec4" +defs["structs"]["ImDrawCmd"][2]["name"] = "TextureId" +defs["structs"]["ImDrawCmd"][2]["type"] = "ImTextureID" defs["structs"]["ImDrawCmd"][3] = {} -defs["structs"]["ImDrawCmd"][3]["name"] = "TextureId" -defs["structs"]["ImDrawCmd"][3]["type"] = "ImTextureID" +defs["structs"]["ImDrawCmd"][3]["name"] = "VtxOffset" +defs["structs"]["ImDrawCmd"][3]["type"] = "unsigned int" defs["structs"]["ImDrawCmd"][4] = {} -defs["structs"]["ImDrawCmd"][4]["name"] = "VtxOffset" +defs["structs"]["ImDrawCmd"][4]["name"] = "IdxOffset" defs["structs"]["ImDrawCmd"][4]["type"] = "unsigned int" defs["structs"]["ImDrawCmd"][5] = {} -defs["structs"]["ImDrawCmd"][5]["name"] = "IdxOffset" +defs["structs"]["ImDrawCmd"][5]["name"] = "ElemCount" defs["structs"]["ImDrawCmd"][5]["type"] = "unsigned int" defs["structs"]["ImDrawCmd"][6] = {} defs["structs"]["ImDrawCmd"][6]["name"] = "UserCallback" @@ -2285,29 +2338,29 @@ defs["structs"]["ImDrawList"][6] = {} defs["structs"]["ImDrawList"][6]["name"] = "_OwnerName" defs["structs"]["ImDrawList"][6]["type"] = "const char*" defs["structs"]["ImDrawList"][7] = {} -defs["structs"]["ImDrawList"][7]["name"] = "_VtxCurrentOffset" +defs["structs"]["ImDrawList"][7]["name"] = "_VtxCurrentIdx" defs["structs"]["ImDrawList"][7]["type"] = "unsigned int" defs["structs"]["ImDrawList"][8] = {} -defs["structs"]["ImDrawList"][8]["name"] = "_VtxCurrentIdx" -defs["structs"]["ImDrawList"][8]["type"] = "unsigned int" +defs["structs"]["ImDrawList"][8]["name"] = "_VtxWritePtr" +defs["structs"]["ImDrawList"][8]["type"] = "ImDrawVert*" defs["structs"]["ImDrawList"][9] = {} -defs["structs"]["ImDrawList"][9]["name"] = "_VtxWritePtr" -defs["structs"]["ImDrawList"][9]["type"] = "ImDrawVert*" +defs["structs"]["ImDrawList"][9]["name"] = "_IdxWritePtr" +defs["structs"]["ImDrawList"][9]["type"] = "ImDrawIdx*" defs["structs"]["ImDrawList"][10] = {} -defs["structs"]["ImDrawList"][10]["name"] = "_IdxWritePtr" -defs["structs"]["ImDrawList"][10]["type"] = "ImDrawIdx*" +defs["structs"]["ImDrawList"][10]["name"] = "_ClipRectStack" +defs["structs"]["ImDrawList"][10]["template_type"] = "ImVec4" +defs["structs"]["ImDrawList"][10]["type"] = "ImVector_ImVec4" defs["structs"]["ImDrawList"][11] = {} -defs["structs"]["ImDrawList"][11]["name"] = "_ClipRectStack" -defs["structs"]["ImDrawList"][11]["template_type"] = "ImVec4" -defs["structs"]["ImDrawList"][11]["type"] = "ImVector_ImVec4" +defs["structs"]["ImDrawList"][11]["name"] = "_TextureIdStack" +defs["structs"]["ImDrawList"][11]["template_type"] = "ImTextureID" +defs["structs"]["ImDrawList"][11]["type"] = "ImVector_ImTextureID" defs["structs"]["ImDrawList"][12] = {} -defs["structs"]["ImDrawList"][12]["name"] = "_TextureIdStack" -defs["structs"]["ImDrawList"][12]["template_type"] = "ImTextureID" -defs["structs"]["ImDrawList"][12]["type"] = "ImVector_ImTextureID" +defs["structs"]["ImDrawList"][12]["name"] = "_Path" +defs["structs"]["ImDrawList"][12]["template_type"] = "ImVec2" +defs["structs"]["ImDrawList"][12]["type"] = "ImVector_ImVec2" defs["structs"]["ImDrawList"][13] = {} -defs["structs"]["ImDrawList"][13]["name"] = "_Path" -defs["structs"]["ImDrawList"][13]["template_type"] = "ImVec2" -defs["structs"]["ImDrawList"][13]["type"] = "ImVector_ImVec2" +defs["structs"]["ImDrawList"][13]["name"] = "_CmdHeader" +defs["structs"]["ImDrawList"][13]["type"] = "ImDrawCmd" defs["structs"]["ImDrawList"][14] = {} defs["structs"]["ImDrawList"][14]["name"] = "_Splitter" defs["structs"]["ImDrawList"][14]["type"] = "ImDrawListSplitter" @@ -2654,18 +2707,21 @@ defs["structs"]["ImGuiColumns"][12] = {} defs["structs"]["ImGuiColumns"][12]["name"] = "HostCursorMaxPosX" defs["structs"]["ImGuiColumns"][12]["type"] = "float" defs["structs"]["ImGuiColumns"][13] = {} -defs["structs"]["ImGuiColumns"][13]["name"] = "HostClipRect" +defs["structs"]["ImGuiColumns"][13]["name"] = "HostInitialClipRect" defs["structs"]["ImGuiColumns"][13]["type"] = "ImRect" defs["structs"]["ImGuiColumns"][14] = {} -defs["structs"]["ImGuiColumns"][14]["name"] = "HostWorkRect" +defs["structs"]["ImGuiColumns"][14]["name"] = "HostBackupClipRect" defs["structs"]["ImGuiColumns"][14]["type"] = "ImRect" defs["structs"]["ImGuiColumns"][15] = {} -defs["structs"]["ImGuiColumns"][15]["name"] = "Columns" -defs["structs"]["ImGuiColumns"][15]["template_type"] = "ImGuiColumnData" -defs["structs"]["ImGuiColumns"][15]["type"] = "ImVector_ImGuiColumnData" +defs["structs"]["ImGuiColumns"][15]["name"] = "HostWorkRect" +defs["structs"]["ImGuiColumns"][15]["type"] = "ImRect" defs["structs"]["ImGuiColumns"][16] = {} -defs["structs"]["ImGuiColumns"][16]["name"] = "Splitter" -defs["structs"]["ImGuiColumns"][16]["type"] = "ImDrawListSplitter" +defs["structs"]["ImGuiColumns"][16]["name"] = "Columns" +defs["structs"]["ImGuiColumns"][16]["template_type"] = "ImGuiColumnData" +defs["structs"]["ImGuiColumns"][16]["type"] = "ImVector_ImGuiColumnData" +defs["structs"]["ImGuiColumns"][17] = {} +defs["structs"]["ImGuiColumns"][17]["name"] = "Splitter" +defs["structs"]["ImGuiColumns"][17]["type"] = "ImDrawListSplitter" defs["structs"]["ImGuiContext"] = {} defs["structs"]["ImGuiContext"][1] = {} defs["structs"]["ImGuiContext"][1]["name"] = "Initialized" @@ -3730,12 +3786,15 @@ defs["structs"]["ImGuiIO"][84]["name"] = "NavInputsDownDurationPrev[ImGuiNavInpu defs["structs"]["ImGuiIO"][84]["size"] = 21 defs["structs"]["ImGuiIO"][84]["type"] = "float" defs["structs"]["ImGuiIO"][85] = {} -defs["structs"]["ImGuiIO"][85]["name"] = "InputQueueSurrogate" -defs["structs"]["ImGuiIO"][85]["type"] = "ImWchar16" +defs["structs"]["ImGuiIO"][85]["name"] = "PenPressure" +defs["structs"]["ImGuiIO"][85]["type"] = "float" defs["structs"]["ImGuiIO"][86] = {} -defs["structs"]["ImGuiIO"][86]["name"] = "InputQueueCharacters" -defs["structs"]["ImGuiIO"][86]["template_type"] = "ImWchar" -defs["structs"]["ImGuiIO"][86]["type"] = "ImVector_ImWchar" +defs["structs"]["ImGuiIO"][86]["name"] = "InputQueueSurrogate" +defs["structs"]["ImGuiIO"][86]["type"] = "ImWchar16" +defs["structs"]["ImGuiIO"][87] = {} +defs["structs"]["ImGuiIO"][87]["name"] = "InputQueueCharacters" +defs["structs"]["ImGuiIO"][87]["template_type"] = "ImWchar" +defs["structs"]["ImGuiIO"][87]["type"] = "ImVector_ImWchar" defs["structs"]["ImGuiInputTextCallbackData"] = {} defs["structs"]["ImGuiInputTextCallbackData"][1] = {} defs["structs"]["ImGuiInputTextCallbackData"][1]["name"] = "EventFlag" diff --git a/generator/output/typedefs_dict.json b/generator/output/typedefs_dict.json index 7ffd17e..ed6b73d 100644 --- a/generator/output/typedefs_dict.json +++ b/generator/output/typedefs_dict.json @@ -78,6 +78,7 @@ "ImGuiPlatformIO": "struct ImGuiPlatformIO", "ImGuiPlatformMonitor": "struct ImGuiPlatformMonitor", "ImGuiPopupData": "struct ImGuiPopupData", + "ImGuiPopupFlags": "int", "ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex", "ImGuiSelectableFlags": "int", "ImGuiSeparatorFlags": "int", diff --git a/generator/output/typedefs_dict.lua b/generator/output/typedefs_dict.lua index 430164c..06f225f 100644 --- a/generator/output/typedefs_dict.lua +++ b/generator/output/typedefs_dict.lua @@ -78,6 +78,7 @@ defs["ImGuiPayload"] = "struct ImGuiPayload" defs["ImGuiPlatformIO"] = "struct ImGuiPlatformIO" defs["ImGuiPlatformMonitor"] = "struct ImGuiPlatformMonitor" defs["ImGuiPopupData"] = "struct ImGuiPopupData" +defs["ImGuiPopupFlags"] = "int" defs["ImGuiPtrOrIndex"] = "struct ImGuiPtrOrIndex" defs["ImGuiSelectableFlags"] = "int" defs["ImGuiSeparatorFlags"] = "int" diff --git a/imgui b/imgui index 615e9ae..ddabfc3 160000 --- a/imgui +++ b/imgui @@ -1 +1 @@ -Subproject commit 615e9ae34537df5324df2f71253eafd887a848d1 +Subproject commit ddabfc34776d02c16d762b671fdbdd17582d5ab8