mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 04:18:29 +01:00
pull imgui docking 1.77 and generate
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user