mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
Merge branch 'docking_inter'
This commit is contained in:
62
cimgui.cpp
62
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.91.0" 19100 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//based on imgui.h file version "1.91.1" 19110 from Dear ImGui https://github.com/ocornut/imgui
|
||||
//with imgui_internal.h api
|
||||
#ifdef IMGUI_ENABLE_FREETYPE
|
||||
#ifndef CIMGUI_FREETYPE
|
||||
@@ -63,6 +63,10 @@ CIMGUI_API ImGuiIO* igGetIO()
|
||||
{
|
||||
return &ImGui::GetIO();
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformIO* igGetPlatformIO()
|
||||
{
|
||||
return &ImGui::GetPlatformIO();
|
||||
}
|
||||
CIMGUI_API ImGuiStyle* igGetStyle()
|
||||
{
|
||||
return &ImGui::GetStyle();
|
||||
@@ -327,6 +331,14 @@ CIMGUI_API void igPushStyleVar_Vec2(ImGuiStyleVar idx,const ImVec2 val)
|
||||
{
|
||||
return ImGui::PushStyleVar(idx,val);
|
||||
}
|
||||
CIMGUI_API void igPushStyleVarX(ImGuiStyleVar idx,float val_x)
|
||||
{
|
||||
return ImGui::PushStyleVarX(idx,val_x);
|
||||
}
|
||||
CIMGUI_API void igPushStyleVarY(ImGuiStyleVar idx,float val_y)
|
||||
{
|
||||
return ImGui::PushStyleVarY(idx,val_y);
|
||||
}
|
||||
CIMGUI_API void igPopStyleVar(int count)
|
||||
{
|
||||
return ImGui::PopStyleVar(count);
|
||||
@@ -1207,9 +1219,9 @@ CIMGUI_API void igTableSetBgColor(ImGuiTableBgTarget target,ImU32 color,int colu
|
||||
{
|
||||
return ImGui::TableSetBgColor(target,color,column_n);
|
||||
}
|
||||
CIMGUI_API void igColumns(int count,const char* id,bool border)
|
||||
CIMGUI_API void igColumns(int count,const char* id,bool borders)
|
||||
{
|
||||
return ImGui::Columns(count,id,border);
|
||||
return ImGui::Columns(count,id,borders);
|
||||
}
|
||||
CIMGUI_API void igNextColumn()
|
||||
{
|
||||
@@ -2386,6 +2398,10 @@ CIMGUI_API void ImDrawList__OnChangedVtxOffset(ImDrawList* self)
|
||||
{
|
||||
return self->_OnChangedVtxOffset();
|
||||
}
|
||||
CIMGUI_API void ImDrawList__SetTextureID(ImDrawList* self,ImTextureID texture_id)
|
||||
{
|
||||
return self->_SetTextureID(texture_id);
|
||||
}
|
||||
CIMGUI_API int ImDrawList__CalcCircleAutoSegmentCount(ImDrawList* self,float radius)
|
||||
{
|
||||
return self->_CalcCircleAutoSegmentCount(radius);
|
||||
@@ -2690,6 +2706,14 @@ CIMGUI_API void ImGuiViewport_GetWorkCenter(ImVec2 *pOut,ImGuiViewport* self)
|
||||
{
|
||||
*pOut = self->GetWorkCenter();
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformIO* ImGuiPlatformIO_ImGuiPlatformIO(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPlatformIO)();
|
||||
}
|
||||
CIMGUI_API void ImGuiPlatformIO_destroy(ImGuiPlatformIO* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API ImGuiPlatformImeData* ImGuiPlatformImeData_ImGuiPlatformImeData(void)
|
||||
{
|
||||
return IM_NEW(ImGuiPlatformImeData)();
|
||||
@@ -3641,13 +3665,13 @@ CIMGUI_API void ImGuiViewportP_destroy(ImGuiViewportP* self)
|
||||
{
|
||||
IM_DELETE(self);
|
||||
}
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min)
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectPos(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min)
|
||||
{
|
||||
*pOut = self->CalcWorkRectPos(off_min);
|
||||
*pOut = self->CalcWorkRectPos(inset_min);
|
||||
}
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 off_min,const ImVec2 off_max)
|
||||
CIMGUI_API void ImGuiViewportP_CalcWorkRectSize(ImVec2 *pOut,ImGuiViewportP* self,const ImVec2 inset_min,const ImVec2 inset_max)
|
||||
{
|
||||
*pOut = self->CalcWorkRectSize(off_min,off_max);
|
||||
*pOut = self->CalcWorkRectSize(inset_min,inset_max);
|
||||
}
|
||||
CIMGUI_API void ImGuiViewportP_UpdateWorkRect(ImGuiViewportP* self)
|
||||
{
|
||||
@@ -3745,6 +3769,10 @@ CIMGUI_API ImGuiID ImGuiWindow_GetID_Int(ImGuiWindow* self,int n)
|
||||
{
|
||||
return self->GetID(n);
|
||||
}
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromPos(ImGuiWindow* self,const ImVec2 p_abs)
|
||||
{
|
||||
return self->GetIDFromPos(p_abs);
|
||||
}
|
||||
CIMGUI_API ImGuiID ImGuiWindow_GetIDFromRectangle(ImGuiWindow* self,const ImRect r_abs)
|
||||
{
|
||||
return self->GetIDFromRectangle(r_abs);
|
||||
@@ -3909,14 +3937,14 @@ CIMGUI_API void igWindowRectRelToAbs(ImRect *pOut,ImGuiWindow* window,const ImRe
|
||||
{
|
||||
*pOut = ImGui::WindowRectRelToAbs(window,r);
|
||||
}
|
||||
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)
|
||||
{
|
||||
*pOut = ImGui::WindowPosRelToAbs(window,p);
|
||||
}
|
||||
CIMGUI_API void igWindowPosAbsToRel(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)
|
||||
{
|
||||
*pOut = ImGui::WindowPosAbsToRel(window,p);
|
||||
}
|
||||
CIMGUI_API void igWindowPosRelToAbs(ImVec2 *pOut,ImGuiWindow* window,const ImVec2 p)
|
||||
{
|
||||
*pOut = ImGui::WindowPosRelToAbs(window,p);
|
||||
}
|
||||
CIMGUI_API void igFocusWindow(ImGuiWindow* window,ImGuiFocusRequestFlags flags)
|
||||
{
|
||||
return ImGui::FocusWindow(window,flags);
|
||||
@@ -4421,9 +4449,9 @@ CIMGUI_API bool igIsAliasKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsAliasKey(key);
|
||||
}
|
||||
CIMGUI_API bool igIsModKey(ImGuiKey key)
|
||||
CIMGUI_API bool igIsLRModKey(ImGuiKey key)
|
||||
{
|
||||
return ImGui::IsModKey(key);
|
||||
return ImGui::IsLRModKey(key);
|
||||
}
|
||||
CIMGUI_API ImGuiKeyChord igFixupKeyChord(ImGuiKeyChord key_chord)
|
||||
{
|
||||
@@ -4817,9 +4845,9 @@ CIMGUI_API ImGuiID igTableGetColumnResizeID(ImGuiTable* table,int column_n,int i
|
||||
{
|
||||
return ImGui::TableGetColumnResizeID(table,column_n,instance_no);
|
||||
}
|
||||
CIMGUI_API float igTableGetMaxColumnWidth(const ImGuiTable* table,int column_n)
|
||||
CIMGUI_API float igTableCalcMaxColumnWidth(const ImGuiTable* table,int column_n)
|
||||
{
|
||||
return ImGui::TableGetMaxColumnWidth(table,column_n);
|
||||
return ImGui::TableCalcMaxColumnWidth(table,column_n);
|
||||
}
|
||||
CIMGUI_API void igTableSetColumnWidthAutoSingle(ImGuiTable* table,int column_n)
|
||||
{
|
||||
@@ -4965,9 +4993,9 @@ CIMGUI_API void igRenderTextEllipsis(ImDrawList* draw_list,const ImVec2 pos_min,
|
||||
{
|
||||
return ImGui::RenderTextEllipsis(draw_list,pos_min,pos_max,clip_max_x,ellipsis_max_x,text,text_end,text_size_if_known);
|
||||
}
|
||||
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool border,float rounding)
|
||||
CIMGUI_API void igRenderFrame(ImVec2 p_min,ImVec2 p_max,ImU32 fill_col,bool borders,float rounding)
|
||||
{
|
||||
return ImGui::RenderFrame(p_min,p_max,fill_col,border,rounding);
|
||||
return ImGui::RenderFrame(p_min,p_max,fill_col,borders,rounding);
|
||||
}
|
||||
CIMGUI_API void igRenderFrameBorder(ImVec2 p_min,ImVec2 p_max,float rounding)
|
||||
{
|
||||
|
Reference in New Issue
Block a user